CouplingMap.from_line

classmethod CouplingMap.from_line(num_qubits, bidirectional=True)[source]

Return a fully connected coupling map on n qubits.