CheckMap.run

CheckMap.run(dag)[source]

Run the CheckMap pass on dag.

If dag is mapped to coupling_map, the property is_swap_mapped is set to True (or to False otherwise).

Parameters

dag (DAGCircuit) – DAG to map.