Quantum error correction for the toric code using deep reinforcement learning

We implement a quantum error correction algorithm for bit-flip errors on the topological toric code using deep reinforcement learning. An action-value Q-function encodes the discounted value of moving a defect to a neighboring site on the square grid (the action) depending on the full set of defects on the torus (the syndrome or state). The Q-function is represented by a deep convolutional neural network. Using the translational invariance on the torus allows for viewing each defect from a central perspective which significantly simplifies the state space representation independently of the number of defect pairs. The training is done using experience replay, where data from the algorithm being played out is stored and used for mini-batch upgrade of the Q-network. We find performance which is close to, and for small error rates asymptotically equivalent to, that achieved by the Minimum Weight Perfect Matching algorithm for code distances up to $d=7$. Our results show that it is possible for a self-trained agent without supervision or support algorithms to find a decoding scheme that performs on par with hand-made algorithms, opening up for future machine engineered decoders for more general error models and error correcting codes.

[1]  Liang Jiang,et al.  Deep Neural Network Probabilistic Decoder for Stabilizer Codes , 2017, Scientific Reports.

[2]  John M. Martinis,et al.  State preservation by repetitive error detection in a superconducting quantum circuit , 2015, Nature.

[3]  Xiaotong Ni,et al.  Scalable Neural Network Decoders for Higher Dimensional Quantum Codes , 2017, 1710.09489.

[4]  L. Landau Fault-tolerant quantum computation by anyons , 2003 .

[5]  Alex Graves,et al.  Playing Atari with Deep Reinforcement Learning , 2013, ArXiv.

[6]  Shor,et al.  Scheme for reducing decoherence in quantum computer memory. , 1995, Physical review. A, Atomic, molecular, and optical physics.

[7]  Mario Krenn,et al.  Active learning machine learns to create new quantum experiments , 2017, Proceedings of the National Academy of Sciences.

[8]  J. Preskill,et al.  Topological quantum memory , 2001, quant-ph/0110143.

[9]  Pankaj Mehta,et al.  Reinforcement Learning in Different Phases of Quantum Control , 2017, Physical Review X.

[10]  Shane Legg,et al.  Human-level control through deep reinforcement learning , 2015, Nature.

[11]  Jacob biamonte,et al.  Quantum machine learning , 2016, Nature.

[12]  John Preskill,et al.  Cellular-Automaton Decoders with Provable Thresholds for Topological Codes. , 2018, Physical review letters.

[13]  Gerald Tesauro,et al.  Temporal difference learning and TD-Gammon , 1995, CACM.

[14]  Austin G. Fowler,et al.  Optimal complexity correction of correlated errors in the surface code , 2013, 1310.0863.

[15]  Geoffrey E. Hinton,et al.  Deep Learning , 2015, Nature.

[16]  Richard S. Sutton,et al.  Reinforcement Learning: An Introduction , 1998, IEEE Trans. Neural Networks.

[17]  Giacomo Torlai,et al.  Neural Decoder for Topological Codes. , 2016, Physical review letters.

[18]  Matthias Troyer,et al.  Solving the quantum many-body problem with artificial neural networks , 2016, Science.

[19]  S. Huber,et al.  Learning phase transitions by confusion , 2016, Nature Physics.

[20]  Robert Raussendorf,et al.  Topological fault-tolerance in cluster state quantum computation , 2007 .

[21]  O. A. von Lilienfeld,et al.  Machine learning for many-body physics: The case of the Anderson impurity model , 2014, 1408.1143.

[22]  Florian Marquardt,et al.  Reinforcement Learning with Neural Networks for Quantum Feedback , 2018, Physical Review X.

[23]  M. Mariantoni,et al.  Surface codes: Towards practical large-scale quantum computation , 2012, 1208.0928.

[24]  N. Maskara,et al.  Advantages of versatile neural-network decoding for topological codes , 2018, Physical Review A.

[25]  Austin G. Fowler,et al.  Minimum weight perfect matching of fault-tolerant topological quantum error correction in average O(1) parallel time , 2013, Quantum Inf. Comput..

[26]  P. Baireuther,et al.  Machine-learning-assisted correction of correlated qubit errors in a topological code , 2017, 1705.07855.

[27]  Thierry Paul,et al.  Quantum computation and quantum information , 2007, Mathematical Structures in Computer Science.

[28]  Jens Eisert,et al.  Reinforcement learning decoders for fault-tolerant quantum computation , 2018, Mach. Learn. Sci. Technol..

[29]  Pooya Ronagh,et al.  Deep neural decoders for near term fault-tolerant experiments , 2018, Quantum Science and Technology.

[30]  Roger G. Melko,et al.  Machine learning phases of matter , 2016, Nature Physics.

[31]  Gerald Tesauro,et al.  Temporal Difference Learning and TD-Gammon , 1995, J. Int. Comput. Games Assoc..

[32]  J. Edmonds Paths, Trees, and Flowers , 1965, Canadian Journal of Mathematics.

[33]  Xiaotong Ni,et al.  Neural Network Decoders for Large-Distance 2D Toric Codes , 2018, Quantum.

[34]  Vladimir Kolmogorov,et al.  Blossom V: a new implementation of a minimum cost perfect matching algorithm , 2009, Math. Program. Comput..

[35]  Steane,et al.  Error Correcting Codes in Quantum Theory. , 1996, Physical review letters.

[36]  Demis Hassabis,et al.  Mastering the game of Go without human knowledge , 2017, Nature.

[37]  Stephen D Bartlett,et al.  Ultrahigh Error Threshold for Surface Codes with Biased Noise. , 2017, Physical review letters.

[38]  Koen Bertels,et al.  Decoding small surface codes with feedforward neural networks , 2017, 1705.00857.

[39]  David Poulin,et al.  Fast decoders for topological quantum codes. , 2009, Physical review letters.

[40]  David Poulin,et al.  Neural Belief-Propagation Decoders for Quantum Error-Correcting Codes. , 2018, Physical review letters.

[41]  Earl T. Campbell,et al.  Cellular-automaton decoders for topological quantum memories , 2014, npj Quantum Information.

[42]  Martin Suchara,et al.  Efficient Algorithms for Maximum Likelihood Decoding in the Surface Code , 2014, 1405.4883.

[43]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[44]  B. Terhal Quantum error correction for quantum memories , 2013, 1302.3428.

[45]  Lu-Ming Duan,et al.  Efficient representation of quantum many-body states with deep neural networks , 2017, Nature Communications.

[46]  Guigang Zhang,et al.  Deep Learning , 2016, Int. J. Semantic Comput..

[47]  David Poulin,et al.  Fault-tolerant renormalization group decoder for abelian topological codes , 2013, Quantum Inf. Comput..