qiskit.transpiler.passes.StochasticSwap.run¶
- StochasticSwap.run(dag)[source]¶
Run the StochasticSwap pass on dag.
- Paramètres
dag (DAGCircuit) – DAG to map.
- Renvoie
A mapped DAG.
- Type renvoyé
- Lève
TranspilerError – if the coupling map or the layout are not
compatible with the DAG –