iqm.iqm_client.models.MoveGateValidationMode#

class iqm.iqm_client.models.MoveGateValidationMode(value)#

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_(start, count, last_values)

Generate the next value when not given.

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.