Tutorials
Core Componetns
Algorithms
I/O
Utilities
Development
Header: tweedledum/algorithms/analysis/check_layered.hpp
tweedledum/algorithms/analysis/check_layered.hpp
Circuit
tweedledum::
::
check_layered
Check if a DAG circuit representation is layered.
A topological order is defined to be layered if all nodes of the i-th layer appear before the nodes of the (i+1)-th layer.