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

Universal weakly fault-tolerant quantum computation via code switching in the [[8,3,2]] code

Shixin Wu1,2,*, Dawei Zhong2,3, Todd A. Brun1,2,3,4, and Daniel A. Lidar1,2,3,5,6

  • *Contact author: shixinwu@usc.edu

Phys. Rev. Research 8, 033380 – Published 30 September, 2026

DOI: https://doi.org/10.1103/4gwn-6cnx

Abstract

Code switching offers a route to universal, fault-tolerant quantum computation by circumventing the limitation implied by the Eastin-Knill theorem against a universal transversal gate set within a single quantum code. Here, we present a fault-tolerant code-switching protocol between two versions of the [[8,3,2]] code. One version supports weakly fault-tolerant single-qubit Clifford gates, while the other supports a logical CCZ¯ gate via transversal T/T† together with logical CZ¯, CNOT¯, and SWAP¯ gates. Because both codes have distance 2, the protocol operates in a postselected, error-detecting regime: Single faults lead to detectable outcomes, and accepted runs exhibit quadratic suppression of logical error rates. This yields a universal scheme for postselected fault-tolerant computation. We validate the protocol numerically through simulations of state preparation, interblock logical teleportation, code switching, and a three-logical-qubit implementation of Grover's search.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (76)

  1. P. W. Shor, Scheme for reducing decoherence in quantum computer memory, Phys. Rev. A 52, R2493 (1995).
  2. A. M. Steane, Error correcting codes in quantum theory, Phys. Rev. Lett. 77, 793 (1996).
  3. D. Gottesman, Class of quantum error-correcting codes saturating the quantum Hamming bound, Phys. Rev. A 54, 1862 (1996).
  4. A. R. Calderbank, E. M. Rains, P. W. Shor, and N. J. A. Sloane, Quantum error correction and orthogonal geometry, Phys. Rev. Lett. 78, 405 (1997).
  5. E. Knill and R. Laflamme, Theory of quantum error-correcting codes, Phys. Rev. A 55, 900 (1997).
  6. E. Knill, R. Laflamme, and L. Viola, Theory of quantum error correction for general noise, Phys. Rev. Lett. 84, 2525 (2000).
  7. D. Bacon, Operator quantum error-correcting subsystems for self-correcting quantum memories, Phys. Rev. A 73, 012340 (2006).
  8. D. Kribs, R. Laflamme, and D. Poulin, Unified and generalized approach to quantum error correction, Phys. Rev. Lett. 94, 180501 (2005).
  9. D. Poulin, Stabilizer formalism for operator quantum error correction, Phys. Rev. Lett. 95, 230504 (2005).
  10. R. L. Kosut, A. Shabani, and D. A. Lidar, Robust quantum error correction via convex optimization, Phys. Rev. Lett. 100, 020502 (2008).
  11. F. Gaitan, Quantum Error Correction and Fault Tolerant Quantum Computing (Taylor & Francis Group, Boca Raton, 2008).
  12. Quantum Error Correction, edited by D. Lidar and T. Brun (Cambridge University Press, Cambridge, UK, 2013).
  13. D. P. DiVincenzo and P. W. Shor, Fault-tolerant error correction with efficient quantum codes, Phys. Rev. Lett. 77, 3260 (1996).
  14. D. Aharonov and M. Ben-Or, Fault-tolerant quantum computation with constant error rate, SIAM J. Comput. 38, 1207 (2008).
  15. P. Aliferis, D. Gottesman, and J. Preskill, Quantum accuracy threshold for concatenated distance-3 codes, Quantum Inf. Comput. 6, 97 (2006).
  16. B. W. Reichardt, Fault-tolerance threshold for a distance-three quantum code, in Automata, Languages and Programming: 33rd International Colloquium, ICALP 2006, Venice, Italy, July 10–14, 2006, Proceedings, Part I, edited by M. Bugliesi, B. Preneel, V. Sassone, and I. Wegener (Springer, Berlin, 2006), pp. 50–61.
  17. E. Knill, Quantum computing with realistically noisy devices, Nature (London) 434, 39 (2005).
  18. E. T. Campbell, B. M. Terhal, and C. Vuillot, Roads towards fault-tolerant universal quantum computation, Nature (London) 549, 172 (2017).
  19. R. Acharya et al., Quantum error correction below the surface code threshold, Nature (London) 638, 920 (2025).
  20. A. Eickbusch et al., Demonstration of dynamic surface codes, Nat. Phys. 21, 1994 (2025).
  21. N. Lacroix et al., Scaling and logic in the colour code on a superconducting quantum processor, Nature (London) 645, 614 (2025).
  22. D. Bluvstein et al., A fault-tolerant neutral-atom architecture for universal quantum computation, Nature (London) 649, 39 (2026).
  23. A. Vezvaee, C. Benito, M. Morford-Oberst, A. Bermudez, and D. A. Lidar, Surface code scaling on heavy-hex superconducting quantum processors, Nat. Commun. 17, 9201 (2026).
  24. P. W. Shor, Fault-tolerant quantum computation, in Proceedings of the 37th Annual Symposium on Foundations of Computer Science (IEEE Computer Society Press, Los Alamitos, CA, 1996), pp. 56–65.
  25. B. Eastin and E. Knill, Restrictions on transversal encoded quantum gate sets, Phys. Rev. Lett. 102, 110502 (2009).
  26. C. Gerhard and T. A. Brun, Weakly fault-tolerant computation in a quantum error-detecting code, Phys. Rev. A 114, 012429 (2026).
  27. A. Y. Kitaev, Quantum computations: Algorithms and error correction, Russ. Math. Surv. 52, 1191 (1997).
  28. P. Boykin, T. Mor, M. Pulver, V. Roychowdhury, and F. Vatan, On universal and fault-tolerant quantum computing: A novel basis and a new constructive proof of universality for Shor's basis, in 40th Annual Symposium on Foundations of Computer Science (IEEE Computer Society Press, Los Alamitos, CA, 1999), p. 486.
  29. S. Bravyi and A. Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71, 022316 (2005).
  30. D. Litinski, Magic state distillation: Not as costly as you think, Quantum 3, 205 (2019).
  31. C. Gidney, N. Shutty, and C. Jones, Magic state cultivation: Growing T states as cheap as cnot gates, arXiv:2409.17595.
  32. Y. Vaknin, S. Jacoby, A. Grimsmo, and A. Retzker, Efficient magic state cultivation on the surface code, arXiv:2502.01743.
  33. J. T. Anderson, G. Duclos-Cianci, and D. Poulin, Fault-tolerant conversion between the Steane and Reed-Muller quantum codes, Phys. Rev. Lett. 113, 080501 (2014).
  34. H. Bombín, Gauge color codes: Optimal transversal gates and gauge fixing in topological stabilizer codes, New J. Phys. 17, 083002 (2015).
  35. A. Kubica and M. E. Beverland, Universal transversal gates with color codes: A simplified approach, Phys. Rev. A 91, 032330 (2015).
  36. D.-X. Quan, L.-L. Zhu, C.-X. Pei, and B. C. Sanders, Fault-tolerant conversion between adjacent Reed–Muller quantum codes based on gauge fixing, J. Phys. A: Math. Theor. 51, 115305 (2018).
  37. F. Butt, S. Heußen, M. Rispler, and M. Müller, Fault-tolerant code-switching protocols for near-term quantum processors, PRX Quantum 5, 020345 (2024).
  38. M. Vasmer and A. Kubica, Morphing quantum codes, PRX Quantum 3, 030319 (2022).
  39. E. T. Campbell, The smallest interesting colour code (2016), https://earltcampbell.com/2016/09/26/the-smallest-interesting-colour-code/.
  40. D. Hangleiter, M. Kalinowski, D. Bluvstein, M. Cain, N. Maskara, X. Gao, A. Kubica, M. D. Lukin, and M. J. Gullans, Fault-tolerant compiling of classically hard instantaneous quantum polynomial circuits on hypercubes, PRX Quantum 6, 020338 (2025).
  41. Y. Wang et al., Fault-tolerant one-bit addition with the smallest interesting color code, Sci. Adv. 10, eado9024 (2024).
  42. D. Honciuc Menendez, A. Ray, and M. Vasmer, Implementing fault-tolerant non-Clifford gates using the [[8,3,2]] color code, Phys. Rev. A 109, 062438 (2024).
  43. D. Bluvstein et al., Logical quantum processor based on reconfigurable atom arrays, Nature (London) 626, 58 (2024).
  44. L. K. Grover, A fast quantum mechanical algorithm for database search, in Proceedings of the 28th Annual ACM Symposium on Theory of Computing, STOC '96 (ACM, New York, NY, 1996), pp. 212–219.
  45. L. K. Grover, Quantum computers can search arbitrarily large databases by a single query, Phys. Rev. Lett. 79, 4709 (1997).
  46. C. Gidney and M. Ekerå, How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, Quantum 5, 433 (2021).
  47. M. Roetteler, M. Naehrig, K. M. Svore, and K. Lauter, Quantum resource estimates for computing elliptic curve discrete logarithms, in Advances in Cryptology—ASIACRYPT 2017, edited by T. Takagi and T. Peyrin, Lecture Notes in Computer Science, Vol. 10625 (Springer, Cham, 2017), pp. 241–270.
  48. D. Litinski, How to compute a 256-bit elliptic curve private key with only 50 million Toffoli gates, arXiv:2306.08585.
  49. R. Anand, A. Maitra, and S. Mukhopadhyay, Grover on Simon, Quantum Inf. Process. 19, 340 (2020).
  50. J. Lee, D. W. Berry, C. Gidney, W. J. Huggins, J. R. McClean, N. Wiebe, and R. Babbush, Even more efficient quantum computations of chemistry through tensor hypercontraction, PRX Quantum 2, 030305 (2021).
  51. M. S. Zini, A. Delgado, R. dos Reis, P. A. M. Casares, J. E. Mueller, A.-C. Voigt, and J. M. Arrazola, Quantum simulation of battery materials using ionic pseudopotentials, Quantum 7, 1049 (2023).
  52. A. J. Bay-Smidt, N. Glaser, M. D. Fabian, E. T. Campbell, N. S. Blunt, and G. C. Solomon, Quantum simulation of nanographenes and Trotter error cancellation, arXiv:2605.00745.
  53. E. T. Campbell, Early fault-tolerant simulations of the Hubbard model, Quantum Sci. Technol. 7, 015007 (2022).
  54. Y. R. Sanders, D. W. Berry, P. C. Costa, L. W. Tessler, N. Wiebe, C. Gidney, H. Neven, and R. Babbush, Compilation of fault-tolerant quantum heuristics for combinatorial optimization, PRX Quantum 1, 020312 (2020).
  55. J. F. Doriguello, G. Giapitzakis, A. Luongo, and A. Morolia, On the practicality of quantum sieving algorithms for the shortest vector problem, in Post-Quantum Cryptography: 17th Interna- tional Conference, PQCrypto 2026, edited by M. Bardet and R. Niederhagen, Lecture Notes in Computer Science, Vol. 16491 (Springer, Cham, 2026), pp. 3–36.
  56. P. Singkanipa, Z. Xia, and D. A. Lidar, Families of d=2 2D subsystem stabilizer codes for universal Hamiltonian quantum computation with two-body interactions, Quantum 9, 1821 (2025).
  57. D. B. Tan, D. Bluvstein, M. D. Lukin, and J. Cong, Compiling quantum circuits for dynamically field-programmable neutral atoms array processors, Quantum 8, 1281 (2024).
  58. D. Bluvstein, H. Levine, G. Semeghini, T. T. Wang, S. Ebadi, M. Kalinowski, A. Keesling, N. Maskara, H. Pichler, M. Greiner, V. Vuletić, and M. D. Lukin, A quantum processor based on coherent transport of entangled atom arrays, Nature (London) 604, 451 (2022).
  59. J. M. Pino, J. M. Dreiling, C. Figgatt, J. P. Gaebler, S. A. Moses, M. S. Allman, C. H. Baldwin, M. Foss-Feig, D. Hayes, K. Mayer, C. Ryan-Anderson, and B. Neyenhuis, Demonstration of the trapped-ion quantum CCD computer architecture, Nature (London) 592, 209 (2021).
  60. P. Schindler, D. Nigg, T. Monz, J. T. Barreiro, E. Martinez, S. X. Wang, S. Quint, M. F. Brandl, V. Nebendahl, C. F. Roos, M. Chwalla, M. Hennrich, and R. Blatt, A quantum information processor with trapped ions, New J. Phys. 15, 123012 (2013).
  61. G. Li, Y. Ding, and Y. Xie, Tackling the qubit mapping problem for NISQ-era quantum devices, in Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (Association for Computing Machinery, New York, NY, 2019), pp. 1001–1014.
  62. A. Cowtan, S. Dilkes, R. Duncan, A. Krajenbrink, W. Simmons, and S. Sivarajah, On the qubit routing problem, in 14th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2019), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 135 (Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2019), pp. 5:1–5:32.
  63. D. Gottesman, Stabilizer codes and quantum error correction, Ph.D. thesis, California Institute of Technology, Pasadena, CA, 1997.
  64. R. Chao and B. W. Reichardt, Quantum error correction with only two extra qubits, Phys. Rev. Lett. 121, 050502 (2018).
  65. C. Ryan-Anderson, PECOS: Performance estimator of codes on surfaces, GitHub, 2019, https://github.com/PECOS-packages/PECOS.
  66. X. Zhou, D. W. Leung, and I. L. Chuang, Methodology for quantum logic gate construction, Phys. Rev. A 62, 052316 (2000).
  67. B. Pokharel and D. Lidar, Better-than-classical Grover search via quantum error detection and suppression, npj Quantum Inf. 10, 23 (2024).
  68. T. Ginsberg and V. Patel, Quantum error detection for early term fault-tolerant quantum algorithms, arXiv:2503.10790.
  69. F. Butt, I. Pogorelov, R. Freund, A. Steiner, M. Meyer, T. Monz, and M. Müller, Demonstration of measurement-free universal logical quantum computation, Nat. Commun. 17, 995 (2026).
  70. M. Boyer, G. Brassard, P. Hoyer, and A. Tapp, Tight bounds on quantum searching, Fortschr. Phys. 46, 493 (1998).
  71. E. Biham, O. Biham, D. Biron, M. Grassl, and D. A. Lidar, Grover's quantum search algorithm for an arbitrary initial amplitude distribution, Phys. Rev. A 60, 2742 (1999).
  72. Qiskit Aer contributors, Qiskit Aer: A high performance simulator for quantum circuits, GitHub repository, 2024, https://github.com/Qiskit/qiskit-aer.
  73. A. Kubica, B. Yoshida, and F. Pastawski, Unfolding the color code, New J. Phys. 17, 083026 (2015).
  74. M. A. Webster, B. J. Brown, and S. D. Bartlett, The XP stabiliser formalism: A generalisation of the Pauli stabiliser formalism with arbitrary phases, Quantum 6, 815 (2022).
  75. S. Wu and D. Zhong, Universal weakly fault-tolerant quantum computation via code switching in the [[8, 3, 2]] code [Dataset], Zenodo, version 2, 2026, doi: 10.5281/zenodo.22006449.
  76. D. M. Greenberger, M. A. Horne, and A. Zeilinger, Going beyond Bell's theorem, in Bell's Theorem, Quantum Theory and Conceptions of the Universe, edited by M. Kafatos (Springer Netherlands, Dordrecht, 1989), pp. 69–72.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation