Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Spectral Properties and Coding Transitions of Haar-Random Quantum Codes

Grace M. Sommers1,*, J. Alexander Jacoby1,2, Zack Weinstein3,4, David A. Huse1, and Sarang Gopalakrishnan5

  • *Contact author: gsommers@princeton.edu

PRX Quantum 7, 020328 – Published 13 May, 2026

DOI: https://doi.org/10.1103/d4wh-hqcp

Abstract

A quantum error-correcting code with a nonzero error threshold undergoes a mixed-state phase transition when the error rate reaches that threshold. We explore this phase transition for Haar-random quantum codes, in which the logical information is encoded in a random subspace of the physical Hilbert space. We focus on the spectrum of the encoded system density matrix as a function of the rate of uncorrelated, single-qudit errors. For low error rates, this spectrum consists of well-separated bands, representing errors of different weights. As the error rate increases, the bands for high-weight errors merge. The evolution of these bands with increasing error rate is well described by a simple analytic ansatz. Using this ansatz, as well as an explicit calculation, we show that the threshold for Haar-random quantum codes saturates the hashing bound, and thus coincides with that for random stabilizer codes. For error rates that exceed the hashing bound, typical errors are uncorrectable, but postselected error correction remains possible until a much higher detection threshold. Postselection can in principle be implemented by projecting onto subspaces corresponding to low-weight errors, which remain correctable past the hashing bound.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

Supplemental Material

References (79)

  1. P. W. Shor, Fault-tolerant quantum computation, in Proceedings of the 37th Conference on Foundations of Computer Science (IEEE, Burlington, VT, 1996), pp. 56–65.
  2. D. Aharonov and M. Ben-Or, in Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing, STOC ’97 (Association for Computing Machinery, New York, NY, 1997), pp. 176–188.
  3. A. Y. Kitaev, Quantum computations: Algorithms and error correction, Russ. Math. Surv. 52, 1191 (1997).
  4. E. Knill, R. Laflamme, and W. H. Zurek, Resilient quantum computation, Science 279, 342 (1998).
  5. D. Aharonov and M. Ben-Or, Fault-tolerant quantum computation with constant error rate, SIAM J. Comput. 38, 1207 (2008).
  6. S. Sang, Y. Zou, and T. H. Hsieh, Mixed-state quantum phases: Renormalization and quantum error correction, Phys. Rev. X 14, 031044 (2024).
  7. T. Rakovszky, S. Gopalakrishnan, and C. von Keyserlingk, Defining stable phases of open quantum systems, Phys. Rev. X 14, 041031 (2024).
  8. R. Ma, J.-H. Zhang, Z. Bi, M. Cheng, and C. Wang, Topological phases with average symmetries: The decohered, the disordered, and the intrinsic, Phys. Rev. X 15, 021062 (2025).
  9. J. Y. Lee, Exact calculations of coherent information for toric codes under decoherence: Identifying the fundamental error threshold, Phys. Rev. Lett. 134, 250601 (2025).
  10. R. Niwa and J. Y. Lee, Coherent information for Calderbank-Shor-Steane codes under decoherence, Phys. Rev. A 111, 032402 (2025).
  11. R. Fan, Y. Bao, E. Altman, and A. Vishwanath, Diagnostics of mixed-state topological order and breakdown of quantum memory, PRX Quantum 5, 020343 (2024).
  12. Y. Bao, R. Fan, A. Vishwanath, and E. Altman, Mixed-state topological order and the errorfield double formulation of decoherence-induced transitions, arXiv:2301.05687.
  13. J. Y. Lee, C.-M. Jian, and C. Xu, Quantum criticality under decoherence or weak measurement, PRX Quantum 4, 030317 (2023).
  14. Y.-h. Chen and T. Grover, Separability transitions in topological states induced by local decoherence, Phys. Rev. Lett. 132, 170602 (2024).
  15. A. Lyons, Understanding stabilizer codes under local decoherence through a general statistical mechanics mapping, arXiv:2403.03955.
  16. J. Hauser, Y. Bao, S. Sang, A. Lavasani, U. Agrawal, and M. P. A. Fisher, Information dynamics in decohered quantum memory with repeated syndrome measurements, Phys. Rev. B 113, 54303 (2026).
  17. A. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. (N.Y.) 303, 2 (2003).
  18. E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
  19. H. Bombin, R. S. Andrist, M. Ohzeki, H. G. Katzgraber, and M. A. Martin-Delgado, Strong resilience of topological codes to depolarization, Phys. Rev. X 2, 021004 (2012).
  20. Y.-H. Chen and T. Grover, Symmetry-enforced many-body separability transitions, PRX Quantum 5, 030310 (2024).
  21. S. Sang and T. H. Hsieh, Stability of mixed-state quantum phases via finite Markov length, Phys. Rev. Lett. 134, 070403 (2025).
  22. A.-R. Negari, T. D. Ellison, and T. H. Hsieh, Spacetime Markov length: A diagnostic for fault tolerance via mixed-state phases, arXiv:2412.00193.
  23. K. Su, Z. Yang, and C.-M. Jian, Tapestry of dualities in decohered quantum error correction codes, Phys. Rev. B 110, 085158 (2024).
  24. C. H. Bennett, D. P. DiVincenzo, J. A. Smolin, and W. K. Wootters, Mixed-state entanglement and quantum error correction, Phys. Rev. A 54, 3824 (1996).
  25. Typical errors are defined by the set of errors within a window of error weights centered around pN, which contain “almost all” the probability mass of Pw [as defined in Eq. (5)]. That is, since Pw is strongly peaked, typical errors have |w−pN|≲N.
  26. See the Supplemental Material at http://link.aps.org/supplemental/10.1103/d4wh-hqcp for a self-contained discussion of the perturbation theory ansatz for the spectrum, additional details on soft postselection, an alternative derivation of the hashing bound and Rényi thresholds using Weingarten calculus, analysis of heralded errors and the spectra of stabilizer codes, and an extensive discussion of the quantum MacWilliams identity and its consequences. The Supplemental Material includes additional references [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79].
  27. D. P. DiVincenzo, P. W. Shor, and J. A. Smolin, Quantum channel capacity of very noisy channels, Phys. Rev. A:At., Mol., Opt. Phys. 57, 830 (1997).
  28. P. Shor and R. Laflamme, Quantum analog of the macwilliams identities for classical coding theory, Phys. Rev. Lett. 78, 1600 (1997).
  29. E. Rains, Quantum weight enumerators, IEEE Trans. Inf. Theory 44, 1388 (1998).
  30. E. M. Rains, Quantum shadow enumerators, IEEE Trans. Inf. Theory 45, 2361 (1999).
  31. C. Cao and B. Lackey, Quantum weight enumerators and tensor networks, IEEE Trans. Inf. Theory 70, 3512 (2024).
  32. C. Cao, M. J. Gullans, B. Lackey, and Z. Wang, Quantum Lego expansion pack: Enumerators from tensor networks, PRX Quantum 5, 030313 (2024).
  33. F. MacWilliams and N. Sloane, The Theory of Error-Correcting Codes (North-Holland, Amsterdam, 1978), 2nd ed.
  34. Formally, we consider the Haar-averaged value of these information-theoretic quantities, specifically, Eμ(U)Ic(R⟩Q). However, in practice, all such quantities are self-averaging in the thermodynamic limit. Even at numerically accessible system sizes, most information-theoretic quantities, with the exception of highly postselected quantities such as the Rényi-∞ entropy, show very limited trial-to-trial variation.
  35. B. Schumacher and M. A. Nielsen, Quantum data processing and error correction, Phys. Rev. A 54, 2629 (1996).
  36. S. Lloyd, Capacity of the noisy quantum channel, Phys. Rev. A 55, 1613 (1997).
  37. A stabilizer code is said to be nondegenerate if there are no stabilizer group elements whose Pauli weight is below the code distance. In the Haar-random setting, the near-orthogonality of the error-corrupted states, a natural consequence of random matrix theory, serves as a nonstabilizer analog to the nondegenerate property.
  38. V. A. Marčenko and L. A. Pastur, Distribution of eigenvalues for some sets of random matrices, Sb.: Math. 1, 457 (1967).
  39. G. Livan, M. Novaes, and P. Vivo, Introduction to Random Matrices (Springer, Cham, Switzerland, 2018).
  40. J. T. Chayes, L. Chayes, D. S. Fisher, and T. Spencer, Finite-size scaling and correlation lengths for disordered systems, Phys. Rev. Lett. 57, 2999 (1986).
  41. It is important to emphasize here that σp,w is not simply N(w)(ρQ), due to the interactions between bands in the full depolarized state ρ~Q.
  42. X. Turkeshi and P. Sierant, Error-resilience phase transitions in encoding-decoding quantum circuits, Phys. Rev. Lett. 132, 140401 (2024).
  43. C. Gidney, N. Shutty, and C. Jones, Magic state cultivation: Growing T states as cheap as CNOT gates, arXiv:2409.17595.
  44. J. Barré, D. Mukamel, and S. Ruffo, Inequivalence of ensembles in a system with long-range interactions, Phys. Rev. Lett. 87, 030601 (2001).
  45. N. Defenu, D. Mukamel, and S. Ruffo, Ensemble inequivalence in long-range quantum systems, Phys. Rev. Lett. 133, 050403 (2024).
  46. D. Arrufat-Vicente, D. Mukamel, S. Ruffo, and N. Defenu, Ensemble inequivalence in long-range quantum spin systems, Phys. Rev. Res. 8, 013333 (2026).
  47. F. Ma, X. Tan, and J. Wright, Haar random codes attain the quantum Hamming bound, approximately, arXiv:2510.07158.
  48. R. Klesse, Approximate quantum error correction, random codes, and quantum channel capacity, Phys. Rev. A 75, 062315 (2007).
  49. A. Ekert and C. Macchiavello, Error correction in quantum communication, arXiv:quant-ph/9602022.
  50. D. N. Page, Average entropy of a subsystem, Phys. Rev. Lett. 71, 1291 (1993).
  51. K. Zyczkowski and H. J. Sommers, Induced measures in the space of mixed quantum states, J. Phys. A:Math. Gen. 34, 7111 (2001).
  52. M. Žnidarič, Entanglement of random vectors, J. Phys. A:Math. Theor. 40, F105 (2007).
  53. M. J. Gullans, S. Krastanov, D. A. Huse, L. Jiang, and S. T. Flammia, Quantum coding with low-depth random circuits, Phys. Rev. X 11, 031066 (2021).
  54. F. G. S. L. Brandão, E. Crosson, M. B. Şahinoğlu, and J. Bowen, Quantum error correcting codes in eigenstates of translation-invariant spin chains, Phys. Rev. Lett. 123, 110502 (2019).
  55. M. Srednicki, Chaos and quantum thermalization, Phys. Rev. E 50, 888 (1994).
  56. J. M. Deutsch, Quantum statistical mechanics in a closed system, Phys. Rev. A 43, 2046 (1991).
  57. C. F. B. Lo, A. Lyons, R. Verresen, A. Vishwanath, and N. Tantivasadakarn, Universal quantum computation with the S3 quantum double: A pedagogical exposition, arXiv:2502.14974.
  58. D. Jing, P. Sala, L. Jiang, and R. Verresen, Intrinsic heralding and optimal decoders for non-abelian topological order, Phys. Rev. Lett. 136, 120405 (2026).
  59. P. Sala and R. Verresen, Stability and loop models from decohering non-abelian topological order, Phys. Rev. Lett. 134, 1 (2025).
  60. E. Knill, R. Laflamme, and L. Viola, Theory of quantum error correction for general noise, Phys. Rev. Lett. 84, 2525 (2000).
  61. M. M. Wilde, Quantum Information Theory (Cambridge University Press, Cambridge, UK, 2013), 1st ed.
  62. J. Preskill, Lecture Notes for Physics 219: Quantum Computation, https://www.preskill.caltech.edu/ph229/ (2025).
  63. B. Collins and P. Śniady, Integration with respect to the Haar measure on unitary, orthogonal and symplectic group, Commun. Math. Phys. 264, 773 (2006).
  64. A. A. Mele, Introduction to Haar measure tools in quantum information: A beginner’s tutorial, Quantum 8, 1340 (2024).
  65. D. Weingarten, Asymptotic behavior of group integrals in the limit of infinite rank, J. Math. Phys. 19, 999 (1978).
  66. T. Schuster and N. Y. Yao, Operator growth in open quantum systems, Phys. Rev. Lett. 131, 160402 (2023).
  67. T. Schuster, C. Yin, X. Gao, and N. Y. Yao, A polynomial-time classical algorithm for noisy quantum circuits, Phys. Rev. X 15, 041018 (2025).
  68. J. A. Jacoby, D. A. Huse, and S. Gopalakrishnan, Spectral gaps of local quantum channels in the weak-dissipation limit, Phys. Rev. B 111, 104303 (2025).
  69. C. Zhang, L. Nie, and C. von Keyserlingk, Thermalization rates and quantum Ruelle-Pollicott resonances: Insights from operator hydrodynamics, arXiv:2409.17251.
  70. J. Liu, R. Meyer, and Z.-Y. Xian, Operator size growth in Lindbladian SYK, J. High Energy Phys. 2024, 92 (2024).
  71. A. R. Calderbank and P. W. Shor, Good quantum error-correcting codes exist, Phys. Rev. A 54, 1098 (1996).
  72. A. Steane, Multiple-particle interference and quantum error correction, Proc. R. Soc. Lond. Ser. A: Math., Phys. Eng. Sci. 452, 2551 (1996).
  73. C. T. Chubb and S. T. Flammia, Statistical mechanical models for quantum codes with correlated noise, Ann. Inst. Henri Poincaré D, Comb., Phys. Interact. 8, 269 (2021).
  74. J.-Z. Xu, Y. Zhong, M. A. Martin-Delgado, H. Song, and K. Liu, Phenomenological noise models and optimal thresholds of the 3D toric code, IEEE Trans. Inf. Theory 46, 778 (2000).
  75. A. A. Kovalev and L. P. Pryadko, Spin glass reflection of the decoding transition for quantum error correcting codes, Quantum Inf. Comput. 15, 825 (2015).
  76. A. Ashikhmin, A. Barg, E. Knill, and S. Litsyn, Quantum error detection I: Statement of the problem, IEEE Trans. Inf. Theory 46, 778 (2000).
  77. A. J. Scott, Probabilities of failure for quantum error correction, Quantum Inf. Process. 4, 399 (2005).
  78. C. Du, Z. Ma, and M. Xiong, On the complete weight distributions of quantum error-correcting codes, Chin. Phys. B 32, 050307 (2023).
  79. D. Gottesman, Surviving as a Quantum Computer in a Classical World, https://www.cs.umd.edu/class/spring2024/cmsc858G/ (2024 draft).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation