qiskit.transpiler.passes.SabreLayout.run¶
- SabreLayout.run(dag)[Quellcode]¶
Run the SabreLayout pass on dag.
- Parameter
dag (DAGCircuit) – DAG to find layout for.
- Rückgabe
- The output dag if swap mapping was run
(otherwise the input dag is returned unmodified).
- Rückgabetyp
- Verursacht
TranspilerError – if dag wider than self.coupling_map