iqm.cpc.interface.compiler.MoveGateValidationMode#
- class iqm.cpc.interface.compiler.MoveGateValidationMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
StrEnum
MOVE gate validation mode for circuit compilation.
Attributes
MOVE(qubit, resonator) gates must only appear in sandwiches (pairs).
Allow PRX gates on the MOVE qubit inside MOVE sandwiches during validation.
Do not perform any MOVE gate validation.
Methods
__format__
(format_spec, /)Return a formatted version of the string as described by format_spec.
__new__
(value)__str__
()Return str(self).
- STRICT: Final[str] = 'strict'#
MOVE(qubit, resonator) gates must only appear in sandwiches (pairs). Inside a sandwich there must be no gates acting on the MOVE qubit, and no other MOVE gates acting on the resonator.
- Type:
Perform standard MOVE gate validation