Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.converters.dag_to_dagdependency

dag_to_dagdependency(dag, create_preds_and_succs=True)[소스]

Build a DAGDependency object from a DAGCircuit.

매개변수
  • dag (DAGCircuit) – the input dag.

  • create_preds_and_succs (bool) – whether to construct lists of predecessors and successors for every node.

반환

the DAG representing the input circuit as a dag dependency.

반환 형식

DAGDependency