iqm.pulla.utils.convert_sweep_spot_to_arrays

iqm.pulla.utils.convert_sweep_spot_to_arrays#

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

Convert the sweep measurement results from Station Control into circuit batch 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

Yields:

Converted measurement results for each circuit in the batch.

Return type:

Iterator[dict[str, ndarray]]