CheckCXDirection.run¶
- CheckCXDirection.run(dag)[source]¶
Run the CheckCXDirection pass on dag.
If dag is mapped and the direction is correct the property is_direction_mapped is set to True (or to False otherwise).
- Parameters
dag (DAGCircuit) – DAG to check.