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
__format__
(format_spec, /)Return a formatted version of the string as described by format_spec.
__new__
(value)__str__
()Return str(self).