qiskit.transpiler.CouplingMap.from_grid¶
- classmethod CouplingMap.from_grid(num_rows, num_columns, bidirectional=True)[Quellcode]¶
Return a coupling map of qubits connected on a grid of num_rows x num_columns.
- Rückgabetyp
Return a coupling map of qubits connected on a grid of num_rows x num_columns.