iqm.iqm_client.models.HeraldingMode#
- class iqm.iqm_client.models.HeraldingMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
- 
Heralding mode for circuit execution. Heralding is the practice of generating data about the state of qubits prior to execution of a circuit. This can be achieved by measuring the qubits immediately before executing each shot for a circuit. Attributes Do not do any heralding. Perform a heralding measurement after qubit initialization, only retain shots with an all-zeros result. Methods __new__(value)__repr__()Return repr(self). __str__()Return str(self). __format__(format_spec)Return a formatted version of the string as described by format_spec. - NONE = 'none'#
- Do not do any heralding. 
 - ZEROS = 'zeros'#
- Perform a heralding measurement after qubit initialization, only retain shots with an all-zeros result. - Note: in this mode, the number of shots returned after execution will be less or equal to the requested amount due to the post-selection based on heralding data. 
 
