iqm.cpc.utils.convert_sweep_spot_to_arrays#
- iqm.cpc.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, np.ndarray]) – mapping of acquisition labels to 1D arrays of readout results with the length
num_shots * num_triggers_for_label_in_batchreadout_mappings (ReadoutMappingBatch) – 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[_CircuitMeasurementResultsNew]