Quantum error correction for the toric code using deep reinforcement learning

Philip Andreasson, Joel Johansson, Simon Liljestrand, Mats Granath
11/29/2018
quant-phcond-mat.dis-nn
rl

Official code: phiandre/ToricCodeRL (6 stars, Python, MIT, last commit 2020-01-01).

Abstract

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT
61PythonAug 22, 20196 years agoMIT

Similar Papers

Cite this paper

@article{andreasson2018quantum,
  title  = {Quantum error correction for the toric code using deep reinforcement learning},
  author = {Philip Andreasson and Joel Johansson and Simon Liljestrand and Mats Granath},
  year   = {2018},
  eprint = {1811.12338},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.12338}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.12338.svg)](https://codeofpaper.com/paper/1811.12338)

Discussion