iqm.iqm_client.models#
This module contains the data models used by IQMClient.
Module Attributes
Type that represents a list of quantum circuits to be executed together in a single batch. |
|
Type that represents a qubit mapping for a circuit, i.e. a list of single qubit mappings for all qubits in the circuit. |
|
Measurement results from a single circuit. |
|
Type that represents measurement results for a batch of circuits. |
Functions
Checks if the instruction name has been deprecated and returns the new name if it is; otherwise, just returns the name as-is. |
|
|
Checks if the instruction with the given name is directed, i.e. if the instruction is allowed only in the direction defined by the operation loci in the quantum architecture. |
Checks if the instruction with the given name is a multi-qubit instruction. |
|
|
Serializes a qubit mapping dict into the corresponding IQM data transfer format. |
|
Validates a submitted quantum circuit using Pydantic tooling. |
Classes
|
Quantum circuit to be executed. |
|
Various discrete options for quantum circuit compilation to pulse schedule. |
|
Heralding mode for circuit execution. |
|
The |
|
Metadata describing a circuit execution job. |
|
MOVE gate frame tracking mode for circuit compilation. |
|
MOVE gate validation mode for circuit compilation. |
|
Quantum architecture as returned by server. |
|
Quantum architecture specification. |
|
Request for an IQM quantum computer to run a job that executes a batch of quantum circuits. |
|
Results of the quantum circuit execution job. |
|
Status of a circuit execution job. |
|
Mapping of a logical qubit name to a physical qubit name. |
|
Status of a job. |
Inheritance
![Inheritance diagram of iqm.iqm_client.models](../_images/inheritance-b1181df8963a8ddddb79e38b206a3ff4cc0afd05.png)