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

Snakes and Ladders: Adapting the Surface Code to Defects

Catherine Leroux1,*, Sophia F. Lin1, Przemyslaw Bienias1, Krishanu R. Sankar1, Asmae Benhemou1,2, Aleksander Kubica1,3, and Joseph K. Iverson1

  • *Contact author: catilero@amazon.com

PRX Quantum 6, 040302 – Published 2 October, 2025

DOI: https://doi.org/10.1103/815q-xjrb

Abstract

One of the critical challenges solid-state quantum processors face is the presence of fabrication imperfections and two-level systems, which render certain qubits and gates either inoperable or much noisier than tolerable by quantum error-correction protocols. To address this challenge, we develop a suite of novel and highly performant methods for adapting surface code patches in the presence of defective qubits and gates, which we call Snakes and Ladders. We explain how our algorithm generates and compares several strategies in order to find the optimal one for any given configuration of defective components, as well as introduce heuristics to improve runtime and minimize computing resources required by our algorithm. In addition to memory storage we also show how to apply our methods to lattice surgery protocols. Compared to prior works, our methods significantly improve the code distance of the adapted surface code patches for realistic defect rates, resulting in a logical performance similar to that of the defect-free patches.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

References (31)

  1. A. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. (N. Y.) 303, 2 (2003).
  2. S. B. Bravyi and A. Y. Kitaev, Quantum codes on a lattice with boundary, ArXiv:quant-ph/9811052.
  3. E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
  4. A. G. Fowler, M. Mariantoni, J. M. Martinis, and A. N. Cleland, Surface codes: Towards practical large-scale quantum computation, Phys. Rev. A 86, 032324 (2012).
  5. M. Kjaergaard, M. E. Schwartz, J. Braumüller, P. Krantz, J. I.-J. Wang, S. Gustavsson, and W. D. Oliver, Superconducting qubits: Current state of play, Annu. Rev. Condens. Matter Phys. 11, 369 (2020).
  6. A. Bilmes, A. Megrant, P. Klimov, G. Weiss, J. M. Martinis, A. V. Ustinov, and J. Lisenfeld, Resolving the positions of defects in superconducting quantum bits, Sci. Rep. 10, 3090 (2020).
  7. P. V. Klimov, et al., Fluctuations of energy-relaxation times in superconducting qubits, Phys. Rev. Lett. 121, 090502 (2018).
  8. J. Burnett, L. Faoro, I. Wisby, V. L. Gurtovoi, A. V. Chernykh, G. M. Mikhailov, V. A. Tulin, R. Shaikhaidarov, V. Antonov, P. J. Meeson, A. Y. Tzalenchuk, and T. Lindström, Evidence for interacting two-level systems from the 1/f noise of a superconducting resonator, Nat. Commun. 5, 4119 (2014).
  9. C. Müller, J. H. Cole, and J. Lisenfeld, Towards understanding two-level-systems in amorphous solids: Insights from quantum circuits, Rep. Progr. Phys. 82, 124501 (2019).
  10. J. M. Auger, H. Anwar, M. Gimeno-Segovia, T. M. Stace, and D. E. Browne, Fault-tolerance thresholds for the surface code with fabrication errors, Phys. Rev. A 96, 042316 (2017).
  11. A. Strikis, S. C. Benjamin, and B. J. Brown, Quantum computing is scalable on a planar array of qubits with fabrication defects, Phys. Rev. Appl. 19, 064081 (2023).
  12. A. Siegel, A. Strikis, T. Flatters, and S. Benjamin, Adaptive surface code for quantum error correction in the presence of temporary or permanent defects, Quantum 7, 1065 (2023).
  13. S. F. Lin, J. Viszlai, K. N. Smith, G. S. Ravi, C. Yuan, F. T. Chong, and B. J. Brown, in Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, ASPLOS ’24 (Association for Computing Machinery, New York, NY, USA, 2024), p. 216.
  14. K. Yin, X. Fang, Y. Shi, T. Humble, A. Li, and Y. Ding, Surf-deformer: Mitigating dynamic defects on surface code via adaptive deformation, ArXiv:2405.06941.
  15. Z. Wei, T. He, Y. Ye, D. Wu, Y. Zhang, Y. Zhao, W. Lin, H.-L. Huang, X. Zhu, and J.-W. Pan, Low-overhead defect-adaptive surface code with bandage-like super-stabilizers, ArXiv:2404.18644.
  16. D. Horsman, A. G. Fowler, S. Devitt, and R. V. Meter, Surface code quantum computing by lattice surgery, New J. Phys. 14, 123011 (2012).
  17. D. Litinski and F. V. Oppen, Lattice surgery with a twist: Simplifying Clifford gates of surface codes, Quantum 2, 62 (2018).
  18. https://en.wikipedia.org/wiki/Snakes_and_ladders.
  19. C. Leroux, S. F. Lin, P. Bienias, K. R. Sankar, A. Benhemou, A. Kubica, and J. K. Iverson, Snl: Adapting the surface code to defects, 2024, https://github.com/amazon-science/snakes_and_ladders_adapting_the_surface_code_to_defects.
  20. C. Gidney, Stim: A fast stabilizer circuit simulator, Quantum 5, 497 (2021).
  21. O. Higgott and C. Gidney, Sparse blossom: Correcting a million errors per core second with minimum-weight matching, Quantum 9, 1600 (2025).
  22. C. Gidney, M. Newman, A. Fowler, and M. Broughton, A fault-tolerant honeycomb memory, Quantum 5, 605 (2021).
  23. Our numerical simulations for small codes do not establish a threshold theorem. We may require “shells” [11] for a guaranteed threshold.
  24. With two-qubit depolarizing noise on two-qubit gates, one-qubit depolarizing noise on one-qubit gates, and X/Z noise on reset and measurement, all with the same error rate p.
  25. We exclude defect configurations where our software fails to produce adapted patches for DQD. These excluded cases constitute <1% of the sampled cases for dtarg=5 and are very rare for higher dtarg; they also arise in prior works.
  26. O. Higgott and N. P. Breuckmann, Subsystem codes with high thresholds by gauge fixing and reduced qubit overhead, Phys. Rev. X 11, 031039 (2021).
  27. C. Gidney and D. Bacon, Less bacon more threshold, ArXiv:2305.12046.
  28. J. P. Bonilla Ataides, D. K. Tuckett, S. D. Bartlett, S. T. Flammia, and B. J. Brown, The XZZX surface code, Nat. Commun. 12, 2172 (2021).
  29. Q. Xu, N. Mannucci, A. Seif, A. Kubica, S. T. Flammia, and L. Jiang, Tailored XZZX codes for biased noise, Phys. Rev. Res. 5, 013035 (2023).
  30. A. Dua, A. Kubica, L. Jiang, S. T. Flammia, and M. J. Gullans, Clifford-deformed surface codes, PRX Quantum 5, 010347 (2024).
  31. D. M. Debroy, M. McEwen, C. Gidney, N. Shutty, and A. Zalcman, Luci in the surface code with dropouts, ArXiv:2410.14891.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation