qiskit.transpiler.CouplingMap.from_ring¶ classmethod CouplingMap.from_ring(num_qubits, bidirectional=True)[ソース]¶ Return a coupling map of n qubits connected to each of their neighbors in a ring. 戻り値の型 CouplingMap