iqm.iqm_client.models.GateImplementationInfo#

class iqm.iqm_client.models.GateImplementationInfo(*, loci: tuple[tuple[str, ...], ...])#

Bases: BaseModel

Information about an implementation of a quantum gate/operation.

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.

loci

loci for which this gate implementation has been calibrated

Methods

Parameters:

loci (tuple[tuple[str, ...], ...]) –

loci: tuple[Locus, ...]#

loci for which this gate implementation has been calibrated

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]] = {'loci': FieldInfo(annotation=tuple[tuple[Annotated[str, Strict(strict=True)], ...], ...], 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.