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
_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
- STRICT = '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
- ALLOW_PRX = 'allow_prx'#
Allow PRX gates on the MOVE qubit inside MOVE sandwiches during validation.
- NONE = 'none'#
Do not perform any MOVE gate validation.