dagdependency_to_dag(dagdependency)
Build a DAGCircuit object from a DAGDependency.
DAGCircuit
DAGDependency
Parameters
dependency (dag) – the input dag.
Returns
the DAG representing the input circuit.
Return type