qiskit.transpiler.passes.CheckGateDirection.run¶
-
CheckGateDirection.
run
(dag)[source]¶ 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.