dagdependency_to_circuit

dagdependency_to_circuit(dagdependency)[source]

Build a QuantumCircuit object from a DAGDependency.

Parameters

dagdependency (DAGDependency) – the input dag.

Returns

the circuit representing the input dag dependency.

Return type

QuantumCircuit