circuit_to_dagdependency

circuit_to_dagdependency(circuit)[source]

Build a DAGDependency object from a QuantumCircuit.

Parameters

circuit (QuantumCircuit) – the input circuits.

Returns

the DAG representing the input circuit as a dag dependency.

Return type

DAGDependency