iqm.iqm_client.models.QuantumArchitecture#
- class iqm.iqm_client.models.QuantumArchitecture(*, quantum_architecture)#
Bases:
BaseModel
Quantum architecture as returned by server.
Attributes
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].
Details about the quantum architecture.
Methods
- Parameters:
quantum_architecture (QuantumArchitectureSpecification) –
- quantum_architecture: QuantumArchitectureSpecification#
Details about the quantum architecture.
- 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]] = {'quantum_architecture': FieldInfo(annotation=QuantumArchitectureSpecification, required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.