iqm.iqm_client.models.Metadata#
- class iqm.iqm_client.models.Metadata(*, calibration_set_id: UUID | None = None, request: RunRequest | None = None, parameters: JobParameters | None = None, circuits_batch: list[Circuit] | None = None, cocos_version: str | None = None, timestamps: dict[str, str] | None = None)#
Bases:
BaseModel
Metadata describing a circuit execution job.
Attributes
Return the circuits in the job.
Return the heralding mode requested with the job.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
Return the number of shots in the job.
ID of the calibration set used
optional copy of the original RunRequest sent to the server
job-specific parameters extracted from the original request
circuits batch submitted for execution
CoCoS version used to execute the job
Timestamps of execution progress
Methods
- Parameters:
calibration_set_id (UUID | None) –
request (RunRequest | None) –
parameters (JobParameters | None) –
cocos_version (str | None) –
- 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]] = {'calibration_set_id': FieldInfo(annotation=Union[UUID, NoneType], required=False, default=None), 'circuits_batch': FieldInfo(annotation=Union[list[Circuit], NoneType], required=False, default=None), 'cocos_version': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'parameters': FieldInfo(annotation=Union[JobParameters, NoneType], required=False, default=None), 'request': FieldInfo(annotation=Union[RunRequest, NoneType], required=False, default=None), 'timestamps': FieldInfo(annotation=Union[dict[str, str], NoneType], required=False, default=None)}#
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.
- request: RunRequest | None#
optional copy of the original RunRequest sent to the server
- parameters: JobParameters | None#
job-specific parameters extracted from the original request
- property heralding_mode: HeraldingMode#
Return the heralding mode requested with the job.