iqm.iqm_client.models.MoveGateValidationMode#

class iqm.iqm_client.models.MoveGateValidationMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: str, Enum

MOVE gate validation mode for circuit compilation. This options is meant for advanced users.

Attributes

STRICT

MOVE gates must only appear in sandwiches, with no gates acting on the MOVE qubit inside the sandwich.

ALLOW_PRX

Allow PRX gates on the MOVE qubit inside MOVE sandwiches during validation.

NONE

Do not perform any MOVE gate validation.

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.

STRICT = 'strict'#

MOVE gates must only appear in sandwiches, with no gates acting on the MOVE qubit inside the sandwich.

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.