A fault-tolerant quantum computation requires an efficient means to detect and correct errors that accumulate in encoded quantum information. In the context of machine learning, neural networks are a promising new approach to quantum error correction. Here we show that a recurrent neural network can be trained, using only experimentally accessible data, to detect errors in a widely used topological code, the surface code, with a performance above that of the established minimum-weight perfect matching (or blossom) decoder. The performance gain is achieved because the neural network decoder can detect correlations between bit-flip (X) and phase-flip (Z) errors. The machine learning algorithm adapts to the physical system, hence no noise model is needed. The long short-term memory layers of the recurrent neural network maintain their performance over a large number of quantum error correction cycles, making it a practical decoder for forthcoming experimental realizations of the surface code.
 D. A. Lidar, T. A. Brun, editors, Quantum error correction (Cambridge University Press, 2013).
 A. G. Fowler, A. C. Whiteside, and L. C. L. Hollenberg, Towards practical classical processing for the surface code, Phys. Rev. Lett. 108, 180501 (2012).
 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).
 G. Torlai and R. G. Melko, Neural decoder for topological codes, Phys. Rev. Lett. 119, 030501 (2017).
 S. Shalev-Shwartz and S. Ben-David, Understanding machine learning: From theory to algorithms (Cambridge University Press, 2014).
 A. G. Fowler, Minimum weight perfect matching of fault-tolerant topological quantum error correction in average $O(1)$ parallel time, Quantum Inf. Comput. 15, 0145 (2015).
 J. Kelly, R. Barends, A. G. Fowler, A. Megrant, E. Jeffrey, T. C. White, D. Sank, J. Y. Mutus, B. Campbell, Yu Chen, Z. Chen, B. Chiaro, A. Dunsworth, I.-C. Hoi, C. Neill, P. J. J. O'Malley, C. Quintana, P. Roushan, A. Vainsencher, J. Wenner, A. N. Cleland, and J. M. Martinis, State preservation by repetitive error detection in a superconducting quantum circuit, Nature 519, 66 (2015).
 M. Takita, A. D. Córcoles, E. Magesan, B. Abdo, M. Brink, A. Cross, J. M. Chow, and J. M. Gambetta, Demonstration of weight-four parity measurements in the surface code architecture, Phys. Rev. Lett. 117, 210505 (2016).
 R. Versluis, S. Poletto, N. Khammassi, B. Tarasinski, N. Haider, D. J. Michalak, A. Bruno, K. Bertels, and L. DiCarlo, Scalable quantum circuit and control for a superconducting surface code, Phys. Rev. Applied 8, 034021 (2017).
 D. Gottesman, Stabilizer codes and quantum error correction (Doctoral dissertation, California Institute of Technology, 1997).
 T. E. O'Brien, B. Tarasinski, and L. DiCarlo, Density-matrix simulation of small surface codes under current and projected experimental noise, npj Quantum Information 3, 39 (2017). The source code of the quantum simulator can be found at https://github.com/brianzi/quantumsim. The source code of the Surface-17 simulation can be found at https://github.com/obriente/surf17_circuit.
 H. Bombin, and M. A. Martin-Delgado, Optimal resources for topological two-dimensional stabilizer codes: Comparative study, Phys. Rev. A 76, 012305 (2007).
 N. Delfosse and J.-P. Tillich, A decoding algorithm for CSS codes using the X/Z correlations, 2014 IEEE International Symposium on Information Theory, 1071 (2014).
 G. Duclos-Cianci and D. Poulin, Fast decoders for topological quantum codes, Phys. Rev. Lett. 104, 050504 (2010).
 M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mané, R. Monga, S. Moore, D. Murray, C. Olah, M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng, TensorFlow: Large-scale machine learning on heterogeneous distributed systems, arXiv:1603.04467.
 The source code of the neural network decoder can be found at https://github.com/baireuther/ neural_network_decoder.
 C. Horsman, A. G. Fowler, S. Devitt, and R. van Meter, Surface code quantum computing by lattice surgery, New J. Phys. 14, 123011 (2012).
 Oleksandr Balabanov and Mats Granath, "Unsupervised interpretable learning of topological indices invariant under permutations of atomic bands", Machine Learning: Science and Technology 2 2, 025008 (2021).
 Laia Domingo Colomer, Michalis Skotiniotis, and Ramon Muñoz-Tapia, "Reinforcement learning for optimal error correction of toric codes", Physics Letters A 384 17, 126353 (2020).
 Alireza Seif, Kevin A Landsman, Norbert M Linke, Caroline Figgatt, C Monroe, and Mohammad Hafezi, "Machine learning assisted readout of trapped-ion qubits", Journal of Physics B: Atomic, Molecular and Optical Physics 51 17, 174006 (2018).
 Kenneth Rudinger, Timothy Proctor, Dylan Langharst, Mohan Sarovar, Kevin Young, and Robin Blume-Kohout, "Probing Context-Dependent Errors in Quantum Processors", Physical Review X 9 2, 021045 (2019).
 Lingling Lao and Carmen G. Almudever, "Fault-tolerant quantum error correction on near-term quantum processors using flag and bridge qubits", Physical Review A 101 3, 032333 (2020).
 Ryan Sweke, Markus S Kesselring, Evert P L van Nieuwenburg, and Jens Eisert, "Reinforcement learning decoders for fault-tolerant quantum computation", Machine Learning: Science and Technology 2 2, 025005 (2021).
 Stefanie Czischek, Springer Theses 53 (2020) ISBN:978-3-030-52714-3.
 Stefan Krastanov and Liang Jiang, "Deep Neural Network Probabilistic Decoder for Stabilizer Codes", Scientific Reports 7 1, 11003 (2017).
 Andrew S. Darmawan and David Poulin, "Linear-time general decoding algorithm for the surface code", Physical Review E 97 5, 051302 (2018).
 Naomi H. Nickerson and Benjamin J. Brown, "Analysing correlated noise on the surface code using adaptive decoding algorithms", Quantum 3, 131 (2019).
 Milap Sheth, Sara Zafar Jafarzadeh, and Vlad Gheorghiu, "Neural ensemble decoding for topological quantum error-correcting codes", Physical Review A 101 3, 032338 (2020).
 Vedran Dunjko and Hans J Briegel, "Machine learning & artificial intelligence in the quantum domain: a review of recent progress", Reports on Progress in Physics 81 7, 074001 (2018).
 Ye-Hua Liu and David Poulin, "Neural Belief-Propagation Decoders for Quantum Error-Correcting Codes", Physical Review Letters 122 20, 200501 (2019).
 E. Flurin, L. S. Martin, S. Hacohen-Gourgy, and I. Siddiqi, "Using a Recurrent Neural Network to Reconstruct Quantum Dynamics of a Superconducting Qubit from Physical Observations", Physical Review X 10 1, 011006 (2020).
 Valentin Gebhart and Martin Bohmann, "Neural-network approach for identifying nonclassicality from click-counting data", Physical Review Research 2 2, 023150 (2020).
 Akram Youssry, Robert J Chapman, Alberto Peruzzo, Christopher Ferrie, and Marco Tomamichel, "Modeling and control of a reconfigurable photonic circuit using deep learning", Quantum Science and Technology 5 2, 025001 (2020).
 Thomas Fösel, Petru Tighineanu, Talitha Weiss, and Florian Marquardt, "Reinforcement Learning with Neural Networks for Quantum Feedback", Physical Review X 8 3, 031084 (2018).
 S. Varona and M. A. Martin-Delgado, "Determination of the semion code threshold using neural decoders", Physical Review A 102 3, 032411 (2020).
 Savvas Varsamopoulos, Koen Bertels, and Carmen Garcia Almudever, "Comparing Neural Network Based Decoders for the Surface Code", IEEE Transactions on Computers 69 2, 300 (2020).
 P Baireuther, M D Caio, B Criger, C W J Beenakker, and T E O’Brien, "Neural network decoder for topological color codes with circuit level noise", New Journal of Physics 21 1, 013003 (2019).
 Amarsanaa Davaasuren, Yasunari Suzuki, Keisuke Fujii, and Masato Koashi, "General framework for constructing fast and near-optimal machine-learning-based decoder of the topological stabilizer codes", Physical Review Research 2 3, 033399 (2020).
 Oleksandr Balabanov and Mats Granath, "Unsupervised learning using topological data augmentation", Physical Review Research 2 1, 013354 (2020).
 Akram Youssry, Gerardo A. Paz-Silva, and Christopher Ferrie, "Characterization and control of open quantum systems beyond quantum noise spectroscopy", npj Quantum Information 6 1, 95 (2020).
 Giuseppe Carleo, Ignacio Cirac, Kyle Cranmer, Laurent Daudet, Maria Schuld, Naftali Tishby, Leslie Vogt-Maranto, and Lenka Zdeborová, "Machine learning and the physical sciences", Reviews of Modern Physics 91 4, 045002 (2019).
 Philip Andreasson, Joel Johansson, Simon Liljestrand, and Mats Granath, "Quantum error correction for the toric code using deep reinforcement learning", Quantum 3, 183 (2019).
 Patricio Fuentes, Josu Etxezarreta Martinez, Pedro M. Crespo, and Javier Garcia-Frias, "Approach for the construction of non-Calderbank-Steane-Shor low-density-generator-matrix–based quantum codes", Physical Review A 102 1, 012423 (2020).
 Savvas Varsamopoulos, Koen Bertels, and Carmen G. Almudever, "Decoding surface code with a distributed neural network–based decoder", Quantum Machine Intelligence 2 1, 3 (2020).
 Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, and Nicolai Friis, "Optimizing Quantum Error Correction Codes with Reinforcement Learning", arXiv:1812.08451, Quantum 3, 215 (2019).
 Chaitanya Chinni, Abhishek Kulkami, Dheeraj MPai, Kaushik Mitra, and Pradeep K Sarvepalli, 2019 IEEE Information Theory Workshop (ITW) 1 (2019) ISBN:978-1-5386-6900-6.
 L. M. K. Vandersypen, H. Bluhm, J. S. Clarke, A. S. Dzurak, R. Ishihara, A. Morello, D. J. Reilly, L. R. Schreiber, and M. Veldhorst, "Interfacing spin qubits in quantum dots and donors—hot, dense, and coherent", npj Quantum Information 3 1, 34 (2017).
 Leonid P. Pryadko, "On maximum-likelihood decoding with circuit-level errors", Quantum 4, 304 (2020).
 David Fitzek, Mattias Eliasson, Anton Frisk Kockum, and Mats Granath, "Deep Q-learning decoder for depolarizing noise on the toric code", Physical Review Research 2 2, 023230 (2020).
 Nikolas P. Breuckmann and Xiaotong Ni, "Scalable Neural Network Decoders for Higher Dimensional Quantum Codes", Quantum 2, 68 (2018).
 S. Krinner, S. Lazar, A. Remm, C.K. Andersen, N. Lacroix, G.J. Norris, C. Hellings, M. Gabureac, C. Eichler, and A. Wallraff, "Benchmarking Coherent Errors in Controlled-Phase Gates due to Spectator Qubits", Physical Review Applied 14 2, 024042 (2020).
 Xiaotong Ni, "Neural Network Decoders for Large-Distance 2D Toric Codes", Quantum 4, 310 (2020).
 Christopher Chamberland and Pooya Ronagh, "Deep neural decoders for near term fault-tolerant experiments", Quantum Science and Technology 3 4, 044002 (2018).
 Pankaj Mehta, Marin Bukov, Ching-Hao Wang, Alexandre G. R. Day, Clint Richardson, Charles K. Fisher, and David J. Schwab, "A high-bias, low-variance introduction to Machine Learning for physicists", Physics Reports 810, 1 (2019).
 David K. Tuckett, Stephen D. Bartlett, and Steven T. Flammia, "Ultrahigh Error Threshold for Surface Codes with Biased Noise", Physical Review Letters 120 5, 050505 (2018).
 Christopher T. Chubb and Steven T. Flammia, "Statistical mechanical models for quantum codes with correlated noise", arXiv:1809.10704.
 Nikolas P. Breuckmann, "PhD thesis: Homological Quantum Codes Beyond the Toric Code", arXiv:1802.01520.
 Shahnawaz Ahmed, Carlos Sánchez Muñoz, Franco Nori, and Anton Frisk Kockum, "Classification and reconstruction of optical quantum states with deep neural networks", arXiv:2012.02185.
 S. T. Spitz, B. Tarasinski, C. W. J. Beenakker, and T. E. O'Brien, "Adaptive weight estimator for quantum error correction", arXiv:1712.02360.
 Christopher Thomas Chubb, "General tensor network decoding of 2D Pauli codes", arXiv:2101.04125.
The above citations are from Crossref's cited-by service (last updated successfully 2021-01-22 21:13:50) and SAO/NASA ADS (last updated successfully 2021-01-22 08:09:25). The list may be incomplete as not all publishers provide suitable and complete citation data.
Could not fetch ADS cited-by data during last attempt 2021-01-22 21:13:50: cURL error 6: Could not resolve host: api.adsabs.harvard.edu
This Paper is published in Quantum under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. Copyright remains with the original copyright holders such as the authors or their institutions.