iqm.iqm_client.models.MoveGateValidationMode#

class iqm.iqm_client.models.MoveGateValidationMode(value, names=<not given>, *values, 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

_generate_next_value_(name, start, count, ...)

Generate the next value when not given.

_new_member_(**kwargs)

Create and return a new object.

_value_repr_()

Return repr(self).

__format__(format_spec)

Return a formatted version of the string as described by format_spec.

__new__(value)

__repr__()

Return repr(self).

__str__()

Return str(self).

STRICT: Final[str] = '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: Final[str] = 'allow_prx'#

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

NONE: Final[str] = 'none'#

Do not perform any MOVE gate validation.