English

The color code, the surface code, and the transversal CNOT: NP-hardness of minimum-weight decoding

Quantum Physics 2026-03-24 v1 Computational Complexity

Abstract

The decoding problem is a ubiquitous algorithmic task in fault-tolerant quantum computing, and solving it efficiently is essential for scalable quantum computing. Here, we prove that minimum-weight decoding is NP-hard in three quintessential settings: (i) the color code with Pauli ZZ errors, (ii) the surface code with Pauli XX, YY and ZZ errors, and (iii) the surface code with a transversal CNOT gate, Pauli ZZ and measurement bit-flip errors. Our results show that computational intractability already arises in basic and practically relevant decoding problems central to both quantum memories and logical circuit implementations, highlighting a sharp computational complexity separation between minimum-weight decoding and its approximate realizations.

Keywords

Cite

@article{arxiv.2603.22064,
  title  = {The color code, the surface code, and the transversal CNOT: NP-hardness of minimum-weight decoding},
  author = {Shouzhen Gu and Lily Wang and Aleksander Kubica},
  journal= {arXiv preprint arXiv:2603.22064},
  year   = {2026}
}

Comments

18 pages, 12 figures

R2 v1 2026-07-01T11:33:28.274Z