qiskit.transpiler.passes.DenseLayout.run¶
- DenseLayout.run(dag)[ソース]¶
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