iqm.iqm_client.models.CircuitCompilationOptions#

class iqm.iqm_client.models.CircuitCompilationOptions(max_circuit_duration_over_t2: float | None = None, heralding_mode: HeraldingMode = HeraldingMode.NONE, move_gate_validation: MoveGateValidationMode = MoveGateValidationMode.STRICT, move_gate_frame_tracking: MoveGateFrameTrackingMode = MoveGateFrameTrackingMode.FULL, active_reset_cycles: int | None = None, dd_mode: DDMode = DDMode.DISABLED, dd_strategy: DDStrategy | None = None)#

Bases: object

Various discrete options for quantum circuit compilation to pulse schedule.

Attributes

active_reset_cycles

Number of active reset operations inserted at the beginning of each circuit for each active qubit.

dd_mode

Control whether dynamical decoupling should be enabled or disabled during the execution.

dd_strategy

A particular dynamical decoupling strategy to be used during the execution.

heralding_mode

Heralding mode to use during the execution.

max_circuit_duration_over_t2

Server-side circuit disqualification threshold.

move_gate_frame_tracking

MOVE gate frame tracking mode for circuit compilation.

move_gate_validation

MOVE gate validation mode for circuit compilation.

Methods

__delattr__(name)

Implement delattr(self, name).

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

__post_init__()

Validate the options.

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).

Parameters:
max_circuit_duration_over_t2: float | None = None#

Server-side circuit disqualification threshold. The job is rejected on the server if any circuit in it is estimated to take longer than the shortest T2 time of any qubit used in the circuit, multiplied by this value. Setting this value to 0.0 turns off circuit duration checking. None tells the server to use its default value in the check.

heralding_mode: HeraldingMode = 'none'#

Heralding mode to use during the execution.

move_gate_validation: MoveGateValidationMode = 'strict'#

MOVE gate validation mode for circuit compilation. This options is ignored on devices that do not support MOVE and for circuits that do not contain MOVE gates.

move_gate_frame_tracking: MoveGateFrameTrackingMode = 'full'#

MOVE gate frame tracking mode for circuit compilation. This options is ignored on devices that do not support MOVE and for circuits that do not contain MOVE gates.

active_reset_cycles: int | None = None#

Number of active reset operations inserted at the beginning of each circuit for each active qubit. None means active reset is not used but instead reset is done by waiting (relaxation). Integer values smaller than 1 result in neither active nor reset by wait being used, in which case any reset operations must be explicitly added in the circuit.

dd_mode: DDMode = 'disabled'#

Control whether dynamical decoupling should be enabled or disabled during the execution.

dd_strategy: DDStrategy | None = None#

A particular dynamical decoupling strategy to be used during the execution.