French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.converters.dag_to_dagdependency

dag_to_dagdependency(dag, create_preds_and_succs=True)[source]

Build a DAGDependency object from a DAGCircuit.

Paramètres
  • dag (DAGCircuit) – the input dag.

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

Renvoie

the DAG representing the input circuit as a dag dependency.

Type renvoyé

DAGDependency