iqm.qaoa.circuits

iqm.qaoa.circuits#

This module contains several functions that build various types of circuits (e.g., in qiskit and quimb) from the QUBOQAOA 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, ...])

The function to return a QuantumCircuit tailored to backend.