circuits

circuits#

Full path: iqm.qaoa.circuits

Functions that build various types of circuits (e.g., in qiskit and quimb) from the QAOA object.

Functions

qiskit_circuit(qaoa[, measurements])

Constructs a QuantumCircuit from the QAOA angles, ignoring details of the QPU.

qiskit_circuit_specific_nodes(qaoa, ...)

Constructs a QuantumCircuit for the RCC of given qubits, ignoring details of the QPU.

quimb_tn(qaoa)

Constructs a quimb tensor network representing the quantum circuit.

transpiled_circuit(qaoa[, backend, transpiler])

Build a QAOA quantum circuit for the given QAOA instance.

Classes

TranspilerOption

Available transpilation (routing) strategies for QAOA circuits.

Inheritance

Inheritance diagram of iqm.qaoa.circuits