You're reading an old version of this documentation. If you want up-to-date information, please have a look at 11.0.

qiskit_iqm.qiskit_to_iqm#

Conversion tools from Qiskit to IQM representation.

Functions

qubit_to_name(qubit, circuit)

Construct a unique name for a qubit based on its index in the circuit.

serialize_circuit(circuit)

Serialize a quantum circuit into the IQM data transfer format.

serialize_qubit_mapping(qubit_mapping, circuit)

Serialize a qubit mapping into the IQM data transfer format.

Classes

MeasurementKey(creg_name, creg_len, ...)

Unique key associated with a measurement instruction.

Exceptions

InstructionNotSupportedError

Raised when a given instruction is not supported by the IQM server.

Inheritance

Inheritance diagram of qiskit_iqm.qiskit_to_iqm