qiskit.transpiler.CouplingMap.from_ring¶
- classmethod CouplingMap.from_ring(num_qubits, bidirectional=True)[Quellcode]¶
Return a coupling map of n qubits connected to each of their neighbors in a ring.
- Rückgabetyp
Return a coupling map of n qubits connected to each of their neighbors in a ring.