CircuitJobParameters#

Module: iqm.iqm_client.models

class iqm.iqm_client.models.CircuitJobParameters(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, *, shots: int, calibration_set_id: UUID | None = None, qubit_mapping: WithJsonSchema(json_schema={'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['logical_name', 'physical_name'], 'properties': {'logical_name': {'type': 'string'}, 'physical_name': {'type': 'string'}}, 'additionalProperties': False}}, {'type': 'null'}]}, mode=None)] | None = None)#

Bases: CircuitCompilationOptions

Parameters for a circuit execution job (see RunRequest for definitions).

Attributes

calibration_set_id

ID of the calibration set to use, or None to use the current default calibration set.

qubit_mapping

Mapping of logical qubit names to physical qubit names, or None if circuits use physical qubit names.

shots

How many times to execute each circuit in the batch, must be greater than zero.

Methods

Parameters:
  • max_circuit_duration_over_t2 (float | None)

  • heralding_mode (HeraldingMode)

  • move_gate_validation (MoveGateValidationMode)

  • move_gate_frame_tracking (MoveGateFrameTrackingMode)

  • active_reset_cycles (int | None)

  • dd_mode (DDMode)

  • dd_strategy (DDStrategy | None)

  • shots (int)

  • calibration_set_id (UUID | None)

  • qubit_mapping (Annotated[dict[str, str], BeforeValidator(func=~iqm.station_control.interface.models.circuit._parse_legacy_qubit_mapping, json_schema_input_type=PydanticUndefined), PlainSerializer(func=~iqm.station_control.interface.models.circuit._serialize_as_legacy_qubit_mapping, return_type=PydanticUndefined, when_used=always), WithJsonSchema(json_schema={'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['logical_name', 'physical_name'], 'properties': {'logical_name': {'type': 'string'}, 'physical_name': {'type': 'string'}}, 'additionalProperties': False}}, {'type': 'null'}]}, mode=None)] | None)

shots: int#

How many times to execute each circuit in the batch, must be greater than zero.

calibration_set_id: UUID | None = None#

ID of the calibration set to use, or None to use the current default calibration set.

qubit_mapping: WithJsonSchema(json_schema={'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['logical_name', 'physical_name'], 'properties': {'logical_name': {'type': 'string'}, 'physical_name': {'type': 'string'}}, 'additionalProperties': False}}, {'type': 'null'}]}, mode=None)] | None = None#

Mapping of logical qubit names to physical qubit names, or None if circuits use physical qubit names.

Inheritance

Inheritance diagram of iqm.iqm_client.models.CircuitJobParameters