Beginner Tutorial
Middle Level Tutorial
Advanced Tutorial
Case Library
API
Paper with Code
RELEASE NOTES
Installation Guide
Linear qubit topology.
n_qubits (int) – total qubit size.
Examples
>>> from mindquantum.device import LinearQubits >>> topology = LinearQubits(5) >>> topology.is_coupled_with(0, 1) True >>> topology.is_coupled_with(0, 2) False