iqm.cpc.interface.compiler.HeraldingMode#
- class iqm.cpc.interface.compiler.HeraldingMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
StrEnum
Heralding mode for circuit execution.
Attributes
Do not do any heralding.
Perform a heralding measurement on all the components used in each circuit (if they have measurement data available in the calset), only retain shots where all the components are measured to be in the zero state.
Methods
_generate_next_value_
(start, count, last_values)Return the lower-cased version of the member name.
__new__
(value)__format__
(format_spec, /)Return a formatted version of the string as described by format_spec.
__str__
()Return str(self).
__new_member__
(*values)values must already be of type str
- NONE = 'none'#
Do not do any heralding.
- ZEROS = 'zeros'#
Perform a heralding measurement on all the components used in each circuit (if they have measurement data available in the calset), only retain shots where all the components are measured to be in the zero state.