iqm.iqm_client.models.JobParameters#

class iqm.iqm_client.models.JobParameters(*, shots: int, max_circuit_duration_over_t2: float | None = None, heralding_mode: HeraldingMode = HeraldingMode.NONE, move_validation_mode: MoveGateValidationMode = MoveGateValidationMode.STRICT, move_gate_frame_tracking_mode: MoveGateFrameTrackingMode = MoveGateFrameTrackingMode.FULL)#

Bases: BaseModel

Job-specific parameters extracted from the original RunRequest.

Attributes

model_computed_fields

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

shots

max_circuit_duration_over_t2

heralding_mode

move_validation_mode

move_gate_frame_tracking_mode

Methods

Parameters:
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[Dict[str, FieldInfo]] = {'heralding_mode': FieldInfo(annotation=HeraldingMode, required=False, default=<HeraldingMode.NONE: 'none'>), 'max_circuit_duration_over_t2': FieldInfo(annotation=Union[float, NoneType], required=False, default=None), 'move_gate_frame_tracking_mode': FieldInfo(annotation=MoveGateFrameTrackingMode, required=False, default=<MoveGateFrameTrackingMode.FULL: 'full'>), 'move_validation_mode': FieldInfo(annotation=MoveGateValidationMode, required=False, default=<MoveGateValidationMode.STRICT: 'strict'>), 'shots': FieldInfo(annotation=int, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.