qiskit.transpiler.CouplingMap.from_line¶ classmethod CouplingMap.from_line(num_qubits, bidirectional=True)[source]¶ Return a coupling map of n qubits connected in a line. Return type CouplingMap