A local automaton for the 2D toric code

Shankar Balasubramanian1, Margarita Davydova2,3, and Ethan Lake4

1Center for Theoretical Physics, Massachusetts Institute of Technology, Cambridge, MA 02139
2Department of Physics, Massachusetts Institute of Technology, Cambridge, MA 02139
3Walter Burke Institute for Theoretical Physics and Institute for Quantum Information and Matter, California Institute of Technology, Pasadena, CA 91125
4Department of Physics, University of California Berkeley, Berkeley, CA 94720

Find this paper interesting or want to discuss? Scite or leave a comment on SciRate.

Abstract

We construct a local decoder for the 2D toric code using ideas from the hierarchical classical cellular automata of Tsirelson and Gács. Our decoder is a circuit of strictly local quantum operations preserving a logical state for exponential time in the presence of circuit-level noise without the need for non-local classical computation or communication. Our construction is not translation invariant in spacetime, but can be made time-translation invariant in 3D with stacks of 2D toric codes. This solves the open problem of constructing a local topological quantum memory below four dimensions.

► BibTeX data

► References

[1] Dorit Aharonov and Michael Ben-Or. ``Fault-tolerant quantum computation with constant error''. In Proceedings of the twenty-ninth annual ACM symposium on Theory of computing. Pages 176–188. (1997).
https:/​/​doi.org/​10.1145/​258533.258579

[2] Dorit Aharonov and Michael Ben-Or. ``Fault-tolerant quantum computation with constant error rate''. SIAM Journal on Computing 38, 1207–1282 (2008). arXiv:https:/​/​doi.org/​10.1137/​S0097539799359385.
https:/​/​doi.org/​10.1137/​S0097539799359385
arXiv:https://doi.org/10.1137/S0097539799359385

[3] Emanuel Knill, Raymond Laflamme, and Wojciech H Zurek. ``Resilient quantum computation''. Science 279, 342–345 (1998).
https:/​/​doi.org/​10.1098/​rspa.1998.0166

[4] A Yu Kitaev. ``Fault-tolerant quantum computation by anyons''. Annals of physics 303, 2–30 (2003).
https:/​/​doi.org/​10.1016/​S0003-4916(02)00018-0

[5] Eric Dennis, Alexei Kitaev, Andrew Landahl, and John Preskill. ``Topological quantum memory''. Journal of Mathematical Physics 43, 4452–4505 (2002).
https:/​/​doi.org/​10.1063/​1.1499754

[6] Nikolas P. Breuckmann and Jens Niklas Eberhardt. ``Quantum low-density parity-check codes''. PRX Quantum 2, 040101 (2021).
https:/​/​doi.org/​10.1103/​PRXQuantum.2.040101

[7] Daniel Gottesman. ``Fault-tolerant quantum computation with local gates''. Journal of Modern Optics 47, 333–345 (2000).
https:/​/​doi.org/​10.1080/​09500340008244046

[8] Barbara M. Terhal. ``Quantum error correction for quantum memories''. Rev. Mod. Phys. 87, 307–346 (2015).
https:/​/​doi.org/​10.1103/​RevModPhys.87.307

[9] Emanuel Knill and Raymond Laflamme. ``Concatenated quantum codes'' (1996). arXiv:quant-ph/​9608012.
arXiv:quant-ph/9608012

[10] Daniel Gottesman. ``Surviving as a quantum computer in a classical world'' (2024). [Online book].

[11] Robert Alicki, Michal Horodecki, Pawel Horodecki, and Ryszard Horodecki. ``On thermal stability of topological qubit in kitaev's 4d model''. Open Systems & Information Dynamics 17, 1–20 (2010).
https:/​/​doi.org/​10.1142/​S1230161210000023

[12] John Von Neumann. ``Probabilistic logics and the synthesis of reliable organisms from unreliable components''. Automata studies 34, 43–98 (1956).

[13] John Von Neumann, Arthur Walter Burks, et al. ``Theory of self-reproducing automata''. University of Illinois press Urbana. (1966).

[14] Andrei L Toom. ``Stable and attractive trajectories in multicomponent systems''. Multicomponent random systems 6, 549–575 (1980).

[15] Charlene Sonja Ahn. ``Extending quantum error correction: new continuous measurement protocols and improved fault-tolerant overhead''. PhD thesis. Caltech. (2004). url: https:/​/​thesis.library.caltech.edu/​1873/​.
https:/​/​thesis.library.caltech.edu/​1873/​

[16] Nikolas P Breuckmann, Kasper Duivenvoorden, Dominik Michels, and Barbara M Terhal. ``Local decoders for the 2d and 4d toric code''. Quantum Information and Computation 17, 181–208 (2017).

[17] Peter Gács. ``Reliable computation with cellular automata''. In Proceedings of the fifteenth annual ACM symposium on Theory of computing. Pages 32–41. (1983).
https:/​/​doi.org/​10.1145/​800061.808730

[18] Peter Peter Gács. ``Reliable cellular automata with self-organization''. Journal of Statistical Physics 103, 45–267 (2001).
https:/​/​doi.org/​10.1023/​a:1004823720305

[19] Lawrence F. Gray. ``A Reader's Guide to Gacs's "Positive Rates" Paper''. J. Stat. Phys. 103, 1–44 (2001).
https:/​/​doi.org/​10.1023/​A:1004824203467

[20] B. S. Tsirelson. ``Reliable storage of information in a system of unreliable components with local interactions''. In Locally Interacting Systems and Their Application in Biology. Pages 15–30. Springer, Berlin, Germany (2006).
https:/​/​doi.org/​10.1007/​BFb0070081

[21] Michael Ben-Or, Daniel Gottesman, and Avinatan Hassidim. ``Quantum refrigerator'' (2013). arXiv:1301.1995.
arXiv:1301.1995

[22] Panos Aliferis, Daniel Gottesman, and John Preskill. ``Quantum accuracy threshold for concatenated distance-3 codes'' (2005). arXiv:quant-ph/​0504218.
arXiv:quant-ph/0504218

[23] Daniel Gottesman. ``An introduction to quantum error correction and fault-tolerant quantum computation'' (2009). arXiv:0904.2557.
arXiv:0904.2557

[24] Peter Peter Gács and Lawrence Gray. ``Reliably computing cellular automata: lecture slides'' (2012).

[25] Shankar Balasubramanian, Margarita Davydova, and Ethan Lake (2024). code: ethanlake/​local-decoders.
https:/​/​github.com/​ethanlake/​local-decoders

[26] Aleksander Kubica and John Preskill. ``Cellular-automaton decoders with provable thresholds for topological codes''. Physical review letters 123, 020501 (2019).
https:/​/​doi.org/​10.1103/​PhysRevLett.123.020501

[27] Luka Skoric, Dan E Browne, Kenton M Barnes, Neil I Gillespie, and Earl T Campbell. ``Parallel window decoding enables scalable fault tolerant quantum computation''. Nature Communications 14, 7040 (2023).
https:/​/​doi.org/​10.1038/​s41467-023-42482-1

[28] James William Harrington. ``Analysis of Quantum Error-Correcting Codes: Symplectic Lattice Codes and Toric Codes''. PhD thesis. Caltech. (2004). url: https:/​/​thesis.library.caltech.edu/​1747.
https:/​/​thesis.library.caltech.edu/​1747

[29] Guillaume Duclos-Cianci and David Poulin. ``Fast decoders for topological quantum codes''. Phys. Rev. Lett. 104, 050504 (2010).
https:/​/​doi.org/​10.1103/​PhysRevLett.104.050504

[30] Sergey Bravyi and Jeongwan Haah. ``Quantum self-correction in the 3d cubic code model''. Phys. Rev. Lett. 111, 200501 (2013).
https:/​/​doi.org/​10.1103/​PhysRevLett.111.200501

[31] Guillaume Dauphinais and David Poulin. ``Fault-tolerant quantum error correction for non-abelian anyons''. Communications in Mathematical Physics 355, 519–560 (2017).
https:/​/​doi.org/​10.1007/​s00220-017-2923-9

[32] Michael Herold, Earl T Campbell, Jens Eisert, and Michael J Kastoryano. ``Cellular-automaton decoders for topological quantum memories''. npj Quantum information 1, 1–8 (2015).
https:/​/​doi.org/​10.1038/​npjqi.2015.10

[33] Sergey Bravyi, Guillaume Duclos-Cianci, David Poulin, and Martin Suchara. ``Subsystem surface codes with three-qubit check operators'' (2013).

[34] Matthew B Hastings and Jeongwan Haah. ``Dynamically generated logical qubits''. Quantum 5, 564 (2021).
https:/​/​doi.org/​10.22331/​q-2021-10-19-564

[35] Andreas Bauer. ``Topological error correcting processes from fixed-point path integrals''. Quantum 8, 1288 (2024).
https:/​/​doi.org/​10.22331/​q-2024-03-20-1288

[36] Jeongwan Haah. ``Local stabilizer codes in three dimensions without string logical operators''. Physical Review A 83 (2011).
https:/​/​doi.org/​10.1103/​physreva.83.042330

[37] Matthew B Hastings. ``Decoding in hyperbolic spaces: Ldpc codes with linear rate and efficient error correction'' (2013).

[38] Hayata Yamasaki and Masato Koashi. ``Time-efficient constant-space-overhead fault-tolerant quantum computation''. Nature Physics 20, 247–253 (2024).
https:/​/​doi.org/​10.1038/​s41567-023-02325-8

[39] B.S. Tsirelson. ``Probabilistic cellular automata: An introduction'' (1996). (Unpublished).

[40] Benjamin J. Brown and Sam Roberts. ``Universal fault-tolerant measurement-based quantum computation''. Phys. Rev. Res. 2, 033305 (2020).
https:/​/​doi.org/​10.1103/​PhysRevResearch.2.033305

[41] Margarita Davydova, Andreas Bauer, Julio C. Magdalena de la Fuente, Mark Webster, Dominic J. Williamson, and Benjamin J. Brown. ``Universal fault tolerant quantum computation in 2d without getting tied in knots''. Phys. Rev. X (2026).
https:/​/​doi.org/​10.1103/​vrty-qs5h

[42] Weiguo Wang. ``An asynchronous two-dimensional self-correcting cellular automaton''. In Proceedings of the 32nd Annual Symposium on Foundations of Computer Science. Page 278–287. SFCS '91USA (1991). IEEE Computer Society.
https:/​/​doi.org/​10.1109/​SFCS.1991.185379

[43] Matthew Cook, Peter Gács, and Erik Winfree. ``Self-stabilizing synchronization in 3 dimensions (draft)''. Technical report. Tech. report, Boston University, Department of Computer Science, Boston, MA (2008). url: https:/​/​www.cs.bu.edu/​faculty/​gacs/​papers/​3Dasync.pdf.
https:/​/​www.cs.bu.edu/​faculty/​gacs/​papers/​3Dasync.pdf

[44] Piotr Berman and J'anos Simon. ``Investigations of fault-tolerant networks of computers''. In Proceedings of the twentieth annual ACM symposium on Theory of computing. Pages 66–77. (1988).
https:/​/​doi.org/​10.1145/​62212.62219

[45] Sergey Bravyi, David Poulin, and Barbara Terhal. ``Tradeoffs for reliable quantum information storage in 2d systems''. Physical Review Letters 104 (2010).
https:/​/​doi.org/​10.1103/​physrevlett.104.050503

[46] Péter Gács, Georgy L Kurdyumov, and Leonid Anatolevich Levin. ``One-dimensional uniform arrays that wash out finite islands''. Problemy Peredachi Informatsii 14, 92–96 (1978).

[47] Kihong Park. ``Ergodicity and mixing rate of one-dimensional cellular automata''. Technical report. Boston University Computer Science Department (1997).

[48] Tibor Rakovszky, Sarang Gopalakrishnan, and Curt von Keyserlingk. ``Defining stable phases of open quantum systems''. Phys. Rev. X 14, 041031 (2024).
https:/​/​doi.org/​10.1103/​PhysRevX.14.041031

[49] David Poulin, Roger G. Melko, and Matthew B. Hastings. ``Self-correction in wegner's three-dimensional ising lattice gauge theory''. Phys. Rev. B 99, 094103 (2019).
https:/​/​doi.org/​10.1103/​PhysRevB.99.094103

[50] Pablo Serna, Andrés M. Somoza, and Adam Nahum. ``Worldsheet patching, 1-form symmetries, and ${\mathrm{landau}}^{*}$ phase transitions''. Phys. Rev. B 110, 115102 (2024).
https:/​/​doi.org/​10.1103/​PhysRevB.110.115102

[51] Thomas M. Liggett. ``Interacting Particle Systems''. Springer. Berlin, Germany (2005). url: https:/​/​link.springer.com/​book/​10.1007/​b138374.
https:/​/​link.springer.com/​book/​10.1007/​b138374

[52] Peter Gács and John Reif. ``A simple three-dimensional real-time reliable cellular array''. Journal of Computer and System Sciences 36, 125–147 (1988).
https:/​/​doi.org/​10.1016/​0022-0000(88)90024-4

Cited by

[1] Ryo Mikami and Hayata Yamasaki, "Overflow-safe polylog-time parallel minimum-weight perfect-matching decoder: Toward feasible implementation", Physical Review A 114 2, 022409 (2026).

[2] Dominic J. Williamson, "Partial Self-Correction in Layer Codes", Physical Review Letters 137 9, 090601 (2026).

[3] Margarita Davydova, Andreas Bauer, Julio C. Magdalena de la Fuente, Mark Webster, Dominic J. Williamson, and Benjamin J. Brown, "Universal Fault-Tolerant Quantum Computation in 2D without Getting Tied in Knots", Physical Review X 16 3, 031001 (2026).

[4] Marc Serra-Peralta, Mackenzie H. Shaw, and Barbara M. Terhal, "Decoding across Transversal Clifford Gates in the Surface Code", PRX Quantum 7 1, 010335 (2026).

[5] Marvin Qi, Ramanjit Sohal, Xie Chen, David T. Stephen, and Abhinav Prem, "The Symmetry Taco: Equivalences between Gapped, Gapless, and Mixed-State SPTs", arXiv:2507.05335, (2025).

[6] Shengqi Sang, Leonardo A. Lessa, Roger S. K. Mong, Tarun Grover, Chong Wang, and Timothy H. Hsieh, "Mixed-state phases from local reversibility", arXiv:2507.02292, (2025).

[7] Zhiyan Ding, Zeph Landau, Bowen Li, Lin Lin, and Ruizhe Zhang, "Polynomial-Time Preparation of Low-Temperature Gibbs States for 2D Toric Code", arXiv:2410.01206, (2024).

[8] Louis Paletta, Anthony Leverrier, Mazyar Mirrahimi, and Christophe Vuillot, "High-performance local decoders for defect matching in 1D", npj Quantum Information 12 1, 136 (2026).

[9] Simon Lieu, Emma L. Rosenfeld, Kyungjoo Noh, and Connor T. Hann, "Viewing protected superconducting qubits through the lens of the cat qubit", Physical Review A 112 2, 022414 (2025).

[10] Jinkang Guo, Yifan Hong, Adam Kaufman, and Andrew Lucas, "Toward Self-Correcting Quantum Codes for Neutral Atom Arrays", PRX Quantum 7 1, 010301 (2026).

[11] Louis Paletta, "Local decoder for the toric code via signal exchange", arXiv:2603.02328, (2026).

[12] Ethan Lake, "Fast offline decoding with local message-passing automata", arXiv:2506.03266, (2025).

[13] Dian Jing, Pablo Sala, Liang Jiang, and Ruben Verresen, "Intrinsic Heralding and Optimal Decoders for Non-Abelian Topological Order", Physical Review Letters 136 12, 120405 (2026).

[14] Craig Gidney and Thiago Bergamaschi, "A Constant Rate Quantum Computer on a Line", arXiv:2502.16132, (2025).

[15] Ethan Lake and Sunghan Ro, "Squeezing codes: robust fluctuation-stabilized memories", arXiv:2509.20730, (2025).

[16] Brenden Roberts, Jin Ming Koh, Yi Tan, and Norman Y. Yao, "Cored product codes for quantum self-correction in three dimensions", arXiv:2510.05479, (2025).

[17] Ehsan Pajouheshgar, Aditya Bhardwaj, Nathaniel Selub, and Ethan Lake, "Exploring the Landscape of Nonequilibrium Memories with Neural Cellular Automata", Physical Review Letters 136 3, 037102 (2026).

[18] Ethan Lake, "Local active error correction from simulated confinement", arXiv:2510.08056, (2025).

[19] Yu-Hsueh Chen and Tarun Grover, "Local Reversibility and Divergent Markov Length in 1+1-D Directed Percolation", arXiv:2512.07220, (2025).

[20] Victor V. Albert and Philippe Faist, "Handbook of Error-Correcting Codes", arXiv:2606.11484, (2026).

[21] Thiago Bergamaschi, Reza Gheissari, and Yunchao Liu, "Rapid mixing for Gibbs states within a logical sector: a dynamical view of self-correcting quantum memories", arXiv:2507.10976, (2025).

[22] Andreas Karch and Merna Youssef, "Dissipation in open holography", Journal of High Energy Physics 2025 12, 157 (2025).

[23] Gesa Dünnweber, Georgios Styliaris, and Rahul Trivedi, "Quantum Memory and Autonomous Computation in Two Dimensions", arXiv:2601.20818, (2026).

[24] Yadong Wu, Pengfei Zhang, Ce Wang, Juan Yao, and Yi-Zhuang You, "Designing Shadow Tomography Protocols by Natural Language Processing", arXiv:2509.12782, (2025).

[25] Satoshi Yoshida, Ethan Lake, and Hayata Yamasaki, "Proof of a finite threshold for the union-find decoder", arXiv:2602.20238, (2026).

[26] Don Winter, Thiago L. M. Guedes, and Markus Müller, "High-performance cellular automaton decoders for quantum repetition and toric code", arXiv:2604.21866, (2026).

[27] Sanjeev Kumar and Hendrik Weimer, "Self-correction phase transition in the dissipative toric code", arXiv:2602.19288, (2026).

[28] Zhiyan Ding, Zeph Landau, Bowen Li, Lin Lin, and Ruizhe Zhang, "Polynomial-time preparation of low-temperature Gibbs states for two-dimensional toric code", Journal of Mathematical Physics 67 5, 052201 (2026).

The above citations are from Crossref's cited-by service (last updated successfully 2026-09-08 20:34:57) and SAO/NASA ADS (last updated successfully 2026-09-08 20:34:57). The list may be incomplete as not all publishers provide suitable and complete citation data.