We still do not have perfect decoders for topological codes that can satisfy all needs of different experimental setups. Recently, a few neural network based decoders have been studied, with the motivation that they can adapt to a wide range of noise models, and can easily run on dedicated chips without a full-fledged computer. The later feature might lead to fast speed and the ability to operate at low temperatures. However, a question which has not been addressed in previous works is whether neural network decoders can handle 2D topological codes with large distances. In this work, we provide a positive answer for the toric code . The structure of our neural network decoder is inspired by the renormalization group decoder [2,3]. With a fairly strict policy on training time, when the bit-flip error rate is lower than $9\%$ and syndrome extraction is perfect, the neural network decoder performs better when code distance increases. With a less strict policy, we find it is not hard for the neural decoder to achieve a performance close to the minimum-weight perfect matching algorithm. The numerical simulation is done up to code distance $d=64$. Last but not least, we describe and analyze a few failed approaches. They guide us to the final design of our neural decoder, but also serve as a caution when we gauge the versatility of stock deep neural networks. The source code of our neural decoder can be found at .
 Guillaume Duclos-Cianci and David Poulin. Fast decoders for topological quantum codes. Physical review letters, 104 (5): 050504, 2010. 10.1103/PhysRevLett.104.050504.
 Guillaume Duclos-Cianci and David Poulin. Fault-tolerant renormalization group decoder for abelian topological codes. Quantum Information & Computation, 14 (9-10): 721–740, 2014.
 Paul Baireuther, Thomas E. O'Brien, Brian Tarasinski, and Carlo W. J. Beenakker. Machine-learning-assisted correction of correlated qubit errors in a topological code. Quantum, 2: 48, jan 2018. 10.22331/q-2018-01-29-48.
 Savvas Varsamopoulos, Ben Criger, and Koen Bertels. Decoding small surface codes with feedforward neural networks. Quantum Science and Technology, 3 (1): 015004, nov 2017. 10.1088/2058-9565/aa955a.
 Giacomo Torlai and Roger G Melko. A neural decoder for topological codes. Physical Review Letters, 119 (3): 030501, 2017. 10.1103/PhysRevLett.119.030501.
 Nikolas P. Breuckmann and Xiaotong Ni. Scalable neural network decoders for higher dimensional quantum codes. Quantum, 2: 68, may 2018. 10.22331/q-2018-05-24-68.
 Paul Baireuther, MD Caio, B Criger, Carlo WJ Beenakker, and Thomas E O’Brien. Neural network decoder for topological color codes with circuit level noise. New Journal of Physics, 21 (1): 013003, 2019. 10.1088/1367-2630/aaf29e.
 Stefan Krastanov and Liang Jiang. Deep neural network probabilistic decoder for stabilizer codes. Scientific Reports, 7 (1), sep 2017. 10.1038/s41598-017-11266-1.
 Nishad Maskara, Aleksander Kubica, and Tomas Jochym-O'Connor. Advantages of versatile neural-network decoding for topological codes. Physical Review A, 99 (5): 052351, 2019. 10.1103/PhysRevA.99.052351.
 Christopher Chamberland and Pooya Ronagh. Deep neural decoders for near term fault-tolerant experiments. Quantum Science and Technology, 3 (4): 044002, jul 2018. 10.1088/2058-9565/aad1f7.
 Yann LeCun et al. Generalization and network design strategies. Connectionism in perspective, pages 143–155, 1989.
 Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems 25, pages 1097–1105. Curran Associates, Inc., 2012.
 Eliya Nachmani, Yair Be'ery, and David Burshtein. Learning to decode linear codes using deep learning. In 2016 54th Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, sep 2016. 10.1109/allerton.2016.7852251.
 Norman P. Jouppi, Al Borchers, Rick Boyle, Pierre luc Cantin, Clifford Chao, Chris Clark, Jeremy Coriell, Mike Daley, Matt Dau, Jeffrey Dean, Ben Gelb, Cliff Young, Tara Vazir Ghaemmaghami, Rajendra Gottipati, William Gulland, Robert Hagmann, C. Richard Ho, Doug Hogberg, John Hu, Robert Hundt, Dan Hurt, Julian Ibarz, Nishant Patil, Aaron Jaffey, Alek Jaworski, Alexander Kaplan, Harshit Khaitan, Daniel Killebrew, Andy Koch, Naveen Kumar, Steve Lacy, James Laudon, James Law, David Patterson, Diemthu Le, Chris Leary, Zhuyuan Liu, Kyle Lucke, Alan Lundin, Gordon MacKean, Adriana Maggiore, Maire Mahony, Kieran Miller, Rahul Nagarajan, Gaurav Agrawal, Ravi Narayanaswami, Ray Ni, Kathy Nix, Thomas Norrie, Mark Omernick, Narayana Penukonda, Andy Phelps, Jonathan Ross, Matt Ross, Amir Salek, Raminder Bajwa, Emad Samadiani, Chris Severn, Gregory Sizikov, Matthew Snelham, Jed Souter, Dan Steinberg, Andy Swing, Mercedes Tan, Gregory Thorson, Bo Tian, Sarah Bates, Horia Toma, Erick Tuttle, Vijay Vasudevan, Richard Walter, Walter Wang, Eric Wilcox, Doe Hyun Yoon, Suresh Bhatia, and Nan Boden. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture - ISCA '17. ACM Press, 2017. 10.1145/3079856.3080246.
 Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dandelion Mané, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from tensorflow.org.
 I. D. Conway Lamb, J. I. Colless, J. M. Hornibrook, S. J. Pauka, S. J. Waddy, M. K. Frechtling, and D. J. Reilly. An FPGA-based instrumentation platform for use at deep cryogenic temperatures. Review of Scientific Instruments, 87 (1): 014701, jan 2016. 10.1063/1.4939094.
 Yu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. Model compression and acceleration for deep neural networks: The principles, progress, and challenges. IEEE Signal Processing Magazine, 35 (1): 126–136, jan 2018. 10.1109/msp.2017.2765695.
 Vladimir Kolmogorov. Blossom v: a new implementation of a minimum cost perfect matching algorithm. Mathematical Programming Computation, 1 (1): 43–67, apr 2009. 10.1007/s12532-009-0002-8.
 Yoshua Bengio and Yann LeCun. Scaling learning algorithms towards ai. Large-scale kernel machines, 34 (5): 1–41, 2007.
 Dumitru Erhan, Yoshua Bengio, Aaron Courville, Pierre-Antoine Manzagol, Pascal Vincent, and Samy Bengio. Why does unsupervised pre-training help deep learning? Journal of Machine Learning Research, 11 (Feb): 625–660, 2010.
 Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. In Proceedings of the 30th International Conference on Machine Learning, volume 28 of JMLR Workshop and Conference Proceedings, Atlanta, Georgia, USA, 2013.
 Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. 3rd International Conference for Learning Representations, San Diego, 2015. URL https://arxiv.org/abs/1412.6980.
 S. Varona and M. A. Martin-Delgado, "Determination of the semion code threshold using neural decoders", Physical Review A 102 3, 032411 (2020).
 Ryan Sweke, Markus S. Kesselring, Evert P. L. van Nieuwenburg, and Jens Eisert, "Reinforcement Learning Decoders for Fault-Tolerant Quantum Computation", arXiv:1810.07207.
 Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, and Nicolai Friis, "Optimizing Quantum Error Correction Codes with Reinforcement Learning", arXiv:1812.08451.
 Ye-Hua Liu and David Poulin, "Neural Belief-Propagation Decoders for Quantum Error-Correcting Codes", Physical Review Letters 122 20, 200501 (2019).
 Nishad Maskara, Aleksander Kubica, and Tomas Jochym-O'Connor, "Advantages of versatile neural-network decoding for topological codes", Physical Review A 99 5, 052351 (2019).
 Chaitanya Chinni, Abhishek Kulkarni, Dheeraj M. Pai, Kaushik Mitra, and Pradeep Kiran Sarvepalli, "Neural Decoder for Topological Codes using Pseudo-Inverse of Parity Check Matrix", arXiv:1901.07535.
 Savvas Varsamopoulos, Koen Bertels, and Carmen G. Almudever, "Decoding surface code with a distributed neural network based decoder", arXiv:1901.10847.
 Savvas Varsamopoulos, Koen Bertels, and Carmen G. Almudever, "Comparing neural network based decoders for the surface code", arXiv:1811.12456.
 Milap Sheth, Sara Zafar Jafarzadeh, and Vlad Gheorghiu, "Neural ensemble decoding for topological quantum error-correcting codes", Physical Review A 101 3, 032338 (2020).
 Philip Andreasson, Joel Johansson, Simon Liljestrand, and Mats Granath, "Quantum error correction for the toric code using deep reinforcement learning", arXiv:1811.12338.
 Agnes Valenti, Evert van Nieuwenburg, Sebastian Huber, and Eliska Greplova, "Hamiltonian learning for quantum error correction", Physical Review Research 1 3, 033092 (2019).
 Poulami Das, Christopher A. Pattison, Srilatha Manne, Douglas Carmean, Krysta Svore, Moinuddin Qureshi, and Nicolas Delfosse, "A Scalable Decoder Micro-architecture for Fault-Tolerant Quantum Computing", arXiv:2001.06598.
 Nicolas Delfosse, "Hierarchical decoding to reduce hardware requirements for quantum computing", arXiv:2001.11427.
 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).
 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).
The above citations are from Crossref's cited-by service (last updated successfully 2020-11-25 15:38:54) and SAO/NASA ADS (last updated successfully 2020-11-25 15:38:55). The list may be incomplete as not all publishers provide suitable and complete citation data.
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.