Qubit connectivity is the set of qubit pairs on a quantum processor that can perform a two-qubit gate directly, usually described as a graph called the coupling map. In quantum hardware it is a fundamental architectural property, because any interaction between qubits that are not directly connected must be routed through intermediate qubits, adding gates, time and errors to every circuit in quantum computing.
Connectivity ranges from sparse nearest-neighbor lattices on superconducting chips to all-to-all coupling in trapped-ion and some neutral-atom systems. It interacts closely with gate fidelity, crosstalk and speed, so richer connectivity is not automatically better.
How the coupling map defines qubit connectivity
A coupling map is a graph in which each node is a physical qubit and each edge is a pair that supports a native two-qubit gate. The degree of a node is the number of direct partners a qubit has, and the graph diameter is the longest shortest path between any two qubits, which bounds the worst-case routing distance.
Connectivity can also be directional: on some older devices a CNOT was calibrated only in one direction, and the reverse required extra single-qubit gates. Modern processors with native CZ or echoed cross-resonance gates typically treat edges as symmetric. The table below lists the graph properties engineers use to characterize a coupling map.
| Property | Definition | Why it matters |
|---|---|---|
| Degree | Number of direct neighbors per qubit | Fewer SWAP gates for dense circuits |
| Diameter | Longest shortest path in the graph | Worst-case routing cost |
| Average path length | Mean distance between qubit pairs | Typical routing overhead |
| Edge fidelity spread | Variation of gate error across edges | Determines which edges routers prefer |
Connectivity across hardware platforms
Each qubit technology reaches its connectivity through a different physical mechanism. Superconducting qubits couple through fixed wiring or tunable couplers on the chip, trapped ions share collective motional modes, and neutral atoms interact through Rydberg excitation and can be physically moved.
| Platform | Typical topology | Degree | Main trade-off |
|---|---|---|---|
| Superconducting (heavy-hex) | Hexagonal lattice with extra nodes | 2 to 3 | Low crosstalk, more routing |
| Superconducting (square grid) | Two-dimensional square lattice | Up to 4 | Fits the surface code, more crosstalk |
| Trapped ions | All-to-all within a chain or zone | N − 1 | Slower gates, limited chain length |
| Neutral atoms | Reconfigurable by moving atoms | Variable | Movement time, atom loss |
| Photonic | Defined by the optical network | Variable | Probabilistic entangling operations |
The heavy-hex lattice used on IBM Heron and earlier IBM processors deliberately lowers the degree to reduce frequency collisions and crosstalk. Google Willow and Google Sycamore use a square grid with tunable couplers, which suits surface code error correction. Trapped-ion systems such as Quantinuum Helios offer full connectivity within a processing zone, at the cost of gate times in the range of tens to hundreds of microseconds.
SWAP overhead and circuit routing
When an algorithm requires a gate between qubits that are not adjacent, the compiler inserts SWAP gates to move quantum states along a path. Each SWAP typically decomposes into three CNOT or CZ gates, so routing can multiply the two-qubit gate count and the circuit depth.
Finding the optimal qubit placement and routing is NP-hard in general, so compilers use heuristics such as the SABRE algorithm, noise-aware layout selection and commutation analysis. The following table shows how connectivity changes the cost of common circuit patterns.
| Circuit pattern | Linear chain | Square grid | All-to-all |
|---|---|---|---|
| Neighboring-pair gates | No SWAPs | No SWAPs | No SWAPs |
| Quantum Fourier transform | O(n²) gates, linear depth | Similar, slightly lower depth | No SWAPs |
| Random pair interactions | O(n) SWAPs per gate | O(√n) SWAPs per gate | No SWAPs |
| QAOA on dense graphs | Swap networks required | Swap networks required | Direct gates |
Routing overhead directly reduces the achievable circuit fidelity, because every added gate contributes its error. This is why benchmarks such as quantum volume reward both good gate fidelity and good connectivity.
Trade-offs between connectivity, crosstalk and fidelity
More connections mean more coupling elements and more opportunities for qubit crosstalk. On superconducting chips, each additional coupler adds wiring, frequency constraints and spurious interactions, and dense layouts make it harder to keep idle qubits isolated.
Designers therefore choose a connectivity that fits the intended workload. A processor optimized for the surface code needs exactly degree four, while a quantum LDPC code requires some long-range links that are hard to fabricate on a planar chip. Modular quantum computers extend connectivity between chips using microwave links, optical interconnects or ion shuttling, typically with lower fidelity than on-chip gates.
- Higher degree reduces routing but increases crosstalk and calibration effort.
- All-to-all coupling simplifies compilation but often slows gates or limits scale.
- Reconfigurable connectivity adapts to each circuit but adds movement time and loss risk.
- Inter-module links extend scale but introduce slower, noisier edges.
Common misconceptions about qubit connectivity
Connectivity is frequently judged by headline topology alone, which hides the quality of individual edges. The table below corrects several frequent misreadings.
| Misconception | Correction |
|---|---|
| All-to-all always wins | Gate speed and fidelity per edge also decide total circuit quality |
| Coupling map equals device quality | Edge error rates vary and change after each calibration |
| SWAPs are a compiler detail | SWAPs often dominate the error budget of deep circuits |
| Connectivity is fixed forever | Neutral-atom and ion systems can reconfigure it per circuit |
Stripped to the essentials
Qubit connectivity tells you which qubits in a quantum computer can talk to each other directly. Picture a group of people where only neighbors can whisper. If two people far apart need to share a message, it has to be passed along the line, and every handoff adds a chance of error.
Some quantum computers connect every qubit to every other one, while others link only close neighbors. Fewer connections keep the hardware cleaner but force more message passing. The best layout depends on the job the machine is built to do.
Where it is applied
A research group wants to run the quantum approximate optimization algorithm on a 20-node graph where most nodes interact with each other. On a superconducting processor with a heavy-hex coupling map, the compiler maps the 20 logical qubits to physical ones and inserts SWAP gates, raising the two-qubit gate count from about 190 to more than 500 for each layer.
The group compares that result with a trapped-ion system offering all-to-all connectivity, where the same layer needs only the 190 native gates but each gate takes much longer. After estimating total fidelity from published edge error rates, the team chooses the ion system for this dense problem and keeps the superconducting device for sparse, lattice-shaped graphs where routing overhead is minimal.