qiskit.transpiler.passes.CheckGateDirection.run¶
- CheckGateDirection.run(dag)[fuente]¶
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).
- Parámetros
dag (DAGCircuit) – DAG to check.