iqm.iqm_client.models

iqm.iqm_client.models#

This module contains the data models used by IQMClient.

Module Attributes

Locus

Names of the QPU components (typically qubits) a quantum operation instance is acting on, e.g. ("QB1", "QB2").

CircuitBatch

Type that represents a list of quantum circuits to be executed together in a single batch.

QubitMapping

Type that represents a qubit mapping for a circuit, i.e. a list of single qubit mappings for all qubits in the circuit.

PRXSequence

A sequence of PRX gates.

STANDARD_DD_STRATEGY

The default DD strategy uses the following gate sequences:

CircuitMeasurementResults

Measurement results from a single circuit.

CircuitMeasurementResultsBatch

Type that represents measurement results for a batch of circuits.

Functions

serialize_qubit_mapping(qubit_mapping)

Serializes a qubit mapping dict into the corresponding IQM data transfer format.

validate_circuit(circuit)

Validates a submitted quantum circuit using Pydantic tooling.

Classes

Circuit(*, name, instructions[, metadata])

Quantum circuit to be executed.

CircuitCompilationOptions([...])

Various discrete options for quantum circuit compilation to pulse schedule.

DDMode(value[, names, module, qualname, ...])

Dynamical Decoupling (DD) mode for circuit execution.

DDStrategy(merge_contiguous_waits, ...)

Describes a particular dynamical decoupling strategy.

DynamicQuantumArchitecture(*, ...)

Dynamic quantum architecture as returned by server.

GateImplementationInfo(*, loci)

Information about an implementation of a quantum gate/operation.

GateInfo(*, implementations, ...)

Information about a quantum gate/operation.

HeraldingMode(value[, names, module, ...])

Heralding mode for circuit execution.

Instruction(*, name[, implementation])

Native quantum operation instance with particular arguments and locus.

JobParameters(*, shots[, ...])

Job-specific parameters extracted from the original RunRequest.

Metadata(*[, calibration_set_id, request, ...])

Metadata describing a circuit execution job.

MoveGateFrameTrackingMode(value[, names, ...])

MOVE gate frame tracking mode for circuit compilation.

MoveGateValidationMode(value[, names, ...])

MOVE gate validation mode for circuit compilation.

NativeOperation(name, arity, args_required, ...)

Describes a native operation on the quantum computer.

QuantumArchitecture(*, quantum_architecture)

Quantum architecture as returned by server.

QuantumArchitectureSpecification(*, name, ...)

Quantum architecture specification.

RunRequest(*, circuits[, custom_settings, ...])

Request for an IQM quantum computer to run a job that executes a batch of quantum circuits.

RunResult(*, status[, measurements, ...])

Results of the quantum circuit execution job.

RunStatus(*, status[, message, warnings])

Status of a circuit execution job.

SingleQubitMapping(*, logical_name, ...)

Mapping of a logical qubit name to a physical qubit name.

Status(value[, names, module, qualname, ...])

Status of a job.

Inheritance

Inheritance diagram of iqm.iqm_client.models