qiskit.transpiler.CouplingMap.from_grid¶ classmethod CouplingMap.from_grid(num_rows, num_columns, bidirectional=True)[source]¶ Return a coupling map of qubits connected on a grid of num_rows x num_columns. Return type CouplingMap