iqm.pulla.utils.convert_sweep_spot_with_heralding_mode_zero

iqm.pulla.utils.convert_sweep_spot_with_heralding_mode_zero#

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

Deprecated. Same as convert_sweep_spot_to_arrays() but returns a less efficient format.

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. The herald results are found under HERALDING_KEY.

  • 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, filtered measurement results, with the heralding measurement data removed

Return type:

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