qiskit.transpiler.passes.DenseLayout.run¶
- DenseLayout.run(dag)[source]¶
Run the DenseLayout pass on dag.
Pick a convenient layout depending on the best matching qubit connectivity, and set the property layout.
- প্যারামিটার
dag (DAGCircuit) -- DAG to find layout for.
- রেইজেস
TranspilerError -- if dag wider than self.coupling_map