qiskit.transpiler.passes.StochasticSwap.run¶
- StochasticSwap.run(dag)[fuente]¶
Run the StochasticSwap pass on dag.
- Parámetros
dag (DAGCircuit) – DAG to map.
- Devuelve
A mapped DAG.
- Tipo del valor devuelto
- Muestra
TranspilerError – if the coupling map or the layout are not
compatible with the DAG –