A proof shows that finding the smallest set of physical-qubit errors matching a measured pattern cannot have a fast general solution unless P equals NP.
Quantum error-correction systems use extra physical qubits to protect information stored in logical qubits. To correct errors, a decoder examines the pattern of triggered checks and identifies the most likely set of physical-qubit errors that produced it.
Researchers proved that finding the smallest such error set for the hexagonal colour code is NP-hard. This contrasts with the surface code, for which exact decoding can be performed in polynomial time using a graph-matching method.
What the proof shows
The researchers proved that finding a minimum-weight decoding for a colour-code syndrome is NP-hard, meaning that a general polynomial-time algorithm would imply P equals NP. They also proved that the related yes-or-no problem—whether a syndrome can be produced by at most a specified number of errors—is NP-complete.
Their proof reduces the satisfiability problem for formulas with three-variable clauses to colour-code decoding. The result applies to the two-dimensional hexagonal colour code and remains hard when measured against several related size measures, including the syndrome's diameter, the minimum number of errors, and the size of the smallest code containing the syndrome.
Evidence and limits
This is a mathematical complexity result, based on a proof rather than an experiment or a performance comparison. The main construction uses the simplest code-capacity noise model: independent, equally likely X errors on data qubits, with no measurement errors. The paper states that the hardness result extends to more complicated noise models with some caveats for circuit-level noise.
The detailed analysis focuses on the two-dimensional hexagonal colour code and works in the bulk, away from boundaries, or in a sufficiently large finite lattice. The authors expect the conclusions to generalise to other colour codes and some higher-dimensional versions, but those extensions are not established by the results presented here.
// Source
PRX Quantum · 2026 · DOI: 10.1103/2shm-wqmf
Authors: Mark Walters, Mark L. Turner