qibocal
qibocal copied to clipboard
`averaging_mode=AveragingMode.SINGLESHOT` default for probability routines
Many of the probabilities routines:
- rabi_amplitude
- rabi_length
- ramsey
- t1
- t2
use as SINGLESHOT
as their default averaging_mode
. This severely limits the amount of points that can be scanned, as the memory is dedicate to save the shots.
When the classification to be performed is merely a separation between states 0 and 1 by a straight line, this can be done efficiently within the FPGA of the control electronics. SEQUANTIAL
should be the default configuration for all these routines while allowing to obtain SINGLESHOT
information as an additional feature for singular classifications.
Most of the control electronics (QM, Qblox and ZI) allow more complex classifications using weights, to distinguish between higher states.
https://github.com/qiboteam/qibocal/blob/main/src/qibocal/protocols/characterization/rabi/amplitude.py#L100