iqm.pulla.utils.convert_sweep_spot

iqm.pulla.utils.convert_sweep_spot#

iqm.pulla.utils.convert_sweep_spot(results, readout_mappings)#

Convert the sweep measurement results from Station Control into circuit measurement results.

Parameters:
  • results (dict[str, ndarray]) – mapping of acquisition labels to 1D arrays of readout results with the length num_shots * num_triggers_for_label_in_batch

  • readout_mappings (tuple[dict[str, tuple[str, ...]], ...]) – for each circuit in the batch, a mapping of measurement keys to corresponding tuples of acquisition labels

Returns:

converted measurement results

Return type:

list[dict[str, list[list[int]]]]