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

circuits

Return the circuits in the job.

dd_mode

Return the dynamical decoupling mode requested with the job.

dd_strategy

Return the dynamical decoupling strategy used with the job.

heralding_mode

Return the heralding mode requested with the job.

model_config

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

shots

Return the number of shots in the job.

calibration_set_id

ID of the calibration set used

request

optional copy of the original RunRequest sent to the server

parameters

job-specific parameters extracted from the original request

circuits_batch

circuits batch submitted for execution

cocos_version

CoCoS version used to execute the job

timestamps

Timestamps of execution progress

Methods

Parameters:
model_config: ClassVar[ConfigDict] = {}#

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

calibration_set_id: UUID | None#

ID of the calibration set used

request: RunRequest | None#

optional copy of the original RunRequest sent to the server

parameters: JobParameters | None#

job-specific parameters extracted from the original request

circuits_batch: CircuitBatch | None#

circuits batch submitted for execution

cocos_version: str | None#

CoCoS version used to execute the job

timestamps: dict[str, str] | None#

Timestamps of execution progress

property shots: int#

Return the number of shots in the job.

property circuits: list[Circuit]#

Return the circuits in the job.

property heralding_mode: HeraldingMode#

Return the heralding mode requested with the job.

property dd_mode: DDMode#

Return the dynamical decoupling mode requested with the job.

property dd_strategy: DDStrategy | None#

Return the dynamical decoupling strategy used with the job.