qiskit.dagcircuit.DAGCircuit.longest_path¶
- DAGCircuit.longest_path()[Quellcode]¶
Returns the longest path in the dag as a list of DAGOpNodes, DAGInNodes, and DAGOutNodes.
Returns the longest path in the dag as a list of DAGOpNodes, DAGInNodes, and DAGOutNodes.