iqm.iqm_client.models.CircuitCompilationOptions#
- class iqm.iqm_client.models.CircuitCompilationOptions(max_circuit_duration_over_t2=None, heralding_mode=HeraldingMode.NONE, move_gate_validation=MoveGateValidationMode.STRICT, move_gate_frame_tracking=MoveGateFrameTrackingMode.FULL)#
Bases:
object
Various discrete options for quantum circuit compilation to pulse schedule.
Attributes
Heralding mode to use during the execution.
Circuits are disqualified on the server if they are longer than this ratio of the T2 time of the qubits.
MOVE gate frame tracking mode for circuit compilation.
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) –
heralding_mode (HeraldingMode) –
move_gate_validation (MoveGateValidationMode) –
move_gate_frame_tracking (MoveGateFrameTrackingMode) –
- max_circuit_duration_over_t2: float | None = None#
Circuits are disqualified on the server if they are longer than this ratio of the T2 time of the qubits. Setting this value to
0.0
turns off circuit duration checking. The default valueNone
instructs server to use server’s default value in the checking.
- 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.