get_qudits_results#

get_qudits_results(daq: ziDAQServer, dev: str, qa_channel: int) Dict[int, ndarray][source]#

Downloads the qudit results from the device and group them by qudit.

Depending on the result logger source, this function accesses the multistate nodes to determine which integrators were used for which qudit to be able to group the results by qudit.

Parameters:
  • daq (ziDAQServer) – An instance of the ziPython.ziDAQServer class

  • dev (str) – The device id.

  • qa_channels – The index of the QA channel

  • qa_channel (int) –

Returns:

A dictionary with the qudit index keys and result vector values.

Return type:

Dict[int, ndarray]