qiskit.transpiler.passes.SabreLayout.run¶
- SabreLayout.run(dag)[source]¶
Run the SabreLayout pass on dag.
- প্যারামিটার
dag (DAGCircuit) -- DAG to find layout for.
- রিটার্নস
- The output dag if swap mapping was run
(otherwise the input dag is returned unmodified).
- রিটার্ন টাইপ
- রেইজেস
TranspilerError -- if dag wider than self.coupling_map