CouplingMap.from_grid

classmethod CouplingMap.from_grid(num_rows, num_columns, bidirectional=True)[source]

Return qubits connected on a grid of num_rows x num_columns.