qiskit.transpiler.passes.CheckCXDirection.run¶
-
CheckCXDirection.
run
(dag)¶ Run the CheckGateDirection 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.