qiskit.transpiler.passes.DenseLayout.run¶
- DenseLayout.run(dag)[código fonte]¶
Run the DenseLayout pass on dag.
Pick a convenient layout depending on the best matching qubit connectivity, and set the property layout.
- Parâmetros
dag (DAGCircuit) – DAG to find layout for.
- Levanta
TranspilerError – if dag wider than self.coupling_map