DAGLongestPath¶
- class DAGLongestPath(*args, **kwargs)[source]¶
Return the longest path in a DAGcircuit as a list of DAGNodes.
Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
Return the name of the pass.
DAGLongestPath.run
(dag)Run the DAGLongestPath pass on dag.