iqm.pulla.interface.Circuit#
- class iqm.pulla.interface.Circuit(*, name, instructions, metadata=None)#
Bases:
BaseModel
Quantum circuit to be executed.
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
name of the circuit
instructions comprising the circuit
arbitrary metadata associated with the circuit
Methods
Convert the model to a dataclass.
- Parameters:
- instructions: tuple[Instruction, ...]#
instructions comprising the circuit
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].