# Optimizing Quantum Error Correction Codes with Reinforcement Learning

강화 학습을 이용한 양자 오류 정정 코드 최적화

Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis · arXiv · 2018년 12월 20일

- **연구 문제** 양자 오류 정정 부호를 미지의 잡음과 하드웨어 제약 아래에서 자원 효율적으로 고르는 일은 어렵습니다.
- **연구 방법** 강화학습 에이전트가 표면 코드 격자를 결함 허용 국소 변형으로 확장하고, 목표 논리 오류율 도달 여부를 보상으로 받아 정책을 학습합니다.
- **주요 결과** 독립 Z 오류 설정에서 학습된 정책은 평균 약 5개의 추가 큐빗을 사용하며, 무작위 전략의 약 20개보다 적습니다. 시뮬레이션에서 학습한 에이전트는 상관 또는 X 오류 증가 모델로 전이될 때도 이점을 보입니다.

## 표면 코드 자원 효율 최적화의 어려움

양자 오류 정정은 논리 정보를 여러 데이터 큐빗에 부호화하여 물리적 오류를 검출하고 정정하는 방법입니다. 그러나 근거 원문은 잡음이 독립 동일 분포가 아니거나 상관되어 있을 수 있고, 일부 큐빗이 다른 큐빗보다 더 오류에 취약할 수 있다고 설명합니다. 이 때문에 미지의 오류 채널이나 특정 실험 장치에 맞는 가장 경제적인 부호를 찾는 일은 복잡한 최적화 문제가 됩니다. 이 논문은 목표 논리 오류율을 만족하는 부호를 자원 효율적으로 찾는 문제를 다룹니다.

## 강화학습 에이전트가 격자를 변형하는 방식

이 논문은 강화학습 에이전트가 표면 코드 양자 메모리를 결함 허용 국소 변형으로 바꾸는 프레임워크를 제시합니다. 환경은 잡음이 있는 표면 코드 메모리와 논리 오류율을 추정하는 고전 제어 시스템으로 구성되며, 에이전트는 현재 코드 구조를 percept로 받고 격자 변형을 행동으로 선택합니다. 목표 논리 오류율에 도달하면 보상이 주어집니다. 에이전트는 잡음 모델을 직접 알지 못하는 블랙박스 환경으로 다루어집니다. 학습 에이전트로는 Projective Simulation 모델이 쓰이며, 이 모델의 클립 네트워크와 h-값 기반 softmax 전이 확률이 행동 선택을 정합니다.

![Figure 1: Adapting quantum memories via reinforcement learning: In the RL paradigm, an agent interacts with an en- vironment through actions and percepts. The…](https://refivu.com/papers/ed0ded3a-768a-49f3-9eb5-e36bb24fe5d1/figures/figure-681f14bfcc98cff89141d0b5d50d6c4a.png?thumb=512)

**Figure 1** : Adapting quantum memories via reinforcement learning: In the RL paradigm, an agent interacts with an en- vironment through actions and percepts. The environment consists of a surface code quantum memory subject to noise, and a classical control system that guides the quantum er- ror correction (QEC) on the memory and estimates logical error rates. The topological quantum memory embedded on a torus can be adapted through code deformations as in- structed by the agent. In turn, the agent receives perceptual input in form of the current code structure and a reward which is issued by the classical control if the logical error rate is estimated to be below a desired threshold.

[원문](https://arxiv.org/abs/1812.08451v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis · Optimizing Quantum Error Correction Codes with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

![Figure 3: An illustration of the basic moves that fault- tolerantly map surface codes to surface codes while changing the underlying lattice and hence, the sta…](https://refivu.com/papers/ed0ded3a-768a-49f3-9eb5-e36bb24fe5d1/figures/figure-f3f2fe4a6d93829a6a8c8f8fbb872a1b.png?thumb=512)

**Figure 3** : An illustration of the basic moves that fault- tolerantly map surface codes to surface codes while changing the underlying lattice and hence, the stabilizer group. (a) Two vertices (here chosen at the top and bottom in red) are connected across a plaquette (central black dot) which is ef- fectively split into two by a new edge. (b) Two plaquettes (red dots on top left and bottom right) are connected across a vertex (central grey dot) which is eﬀectively split into two by a new edge. In both cases the number of data qubits (blue dots) is increased by one (central red) qubit. Note that move (b) can be understood as a move of type (a) on the dual lattice and vice versa.

[원문](https://arxiv.org/abs/1812.08451v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis · Optimizing Quantum Error Correction Codes with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 5: Two-layered clip network of a PS agent. Percept clips in the ﬁrst (upper) layer are colored blue and repre- sent surface codes. Action clips are colo…](https://refivu.com/papers/ed0ded3a-768a-49f3-9eb5-e36bb24fe5d1/figures/figure-b826452eadd72b3546566913b478ec57.png?thumb=512)

**Figure 5** : Two-layered clip network of a PS agent. Percept clips in the ﬁrst (upper) layer are colored blue and repre- sent surface codes. Action clips are colored red and repre- sent code deformations. Edges (i,j ) carry weights that can be associated with transition probabilities pij in accordance with Eq. (3). If an action, say a3, is performed upon seeing a percept, say s2, the code associated with s2 is adapted according to a3. This results in a new code, say s4, that is perceived by the agent. Note that not every percept is nec- essarily connected to every action since the set of available moves in Fig. 3 depends on the lattice, i.e. the percept.

[원문](https://arxiv.org/abs/1812.08451v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis · Optimizing Quantum Error Correction Codes with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 독립 Z 오류 설정에서의 자원 효율 검증

첫 번째 검증은 데이터 큐빗마다 독립적으로 Z 오류가 확률 0.1로 일어나는 설정입니다. 초기 18-큐빗 표면 코드에서 시작하여 목표 논리 오류율 0.001에 도달하면 시행이 끝나며, 최대 50개의 추가 데이터 큐빗을 사용할 수 있습니다. 원문에 따르면 이 설정에서 에이전트는 평균 약 5개의 데이터 큐빗을 추가하는 정책을 학습합니다. 같은 설정에서 무작위 전략은 목표에 도달하는 데 평균 약 20개의 추가 데이터 큐빗이 필요합니다. 이 비교는 학습이 탐색 공간을 효율적으로 줄인다는 근거로 제시됩니다.

## 상관 오류 설정에서의 전략 관찰

두 번째 검증은 두 플라케트 주변의 X 오류율을 높인 상관 오류 설정입니다. 기저 X 오류율은 0.02, Z 오류율은 0.1이며 초기 논리 오류율은 약 0.28입니다. 원문은 이 설정에서 에이전트가 결함이 있는 플라케트 주변의 Z-안정자를 늘려 연결성을 낮추고, 결함 플라케트를 서로 떨어뜨린다고 보고합니다. 최적 전략이 무엇인지 명확하지 않은 상황에서 관찰된 행동 경향이므로, 이 결과는 이 특정 오류 모델에서의 관찰로 읽어야 합니다.

## 시뮬레이션에서 실제 잡음 모델로의 전이

마지막 검증은 Z 오류 p=0.1 모델에서 사전 학습한 에이전트를 다른 잡음 모델로 옮기는 전이 학습 실험입니다. 전환 후 모델은 공간 상관이 있는 Ẽ1과 X 오류 기저율을 두 배로 한 Ẽ2입니다. 원문은 전이 단계의 시도 수를 첫 단계의 10% 미만으로 제한했다고 설명하며, 이 경우 사전 학습한 에이전트가 pre-training 없이 시작한 에이전트보다 상당히 나은 결과를 보인다고 보고합니다. 이 결과는 이 특정 시뮬레이션 설정과 두 전이 채널에서의 관찰입니다.

## 시뮬레이션 근사와 탐색 비용의 한계

이 연구의 시뮬레이션은 Pauli 오류 채널을 소거 채널로 근사한 간략화된 오류 모델에 기반합니다. 원문은 이 근사가 SQUAB 복호기로 빠른 추정을 가능하게 하며, 소거 채널과 Pauli 채널의 차이는 주로 논리 오류율의 크기에 있다고 보고합니다. 또한 가능한 모든 표면 코드를 수치 시뮬레이션으로 탐색하는 것은 계산 비용 때문에 실현 가능하지 않다고 설명합니다. 따라서 강화학습의 역할은 구조 공간을 전부 계산하는 대신 유망한 부분을 우선 탐색하는 데 있습니다.

## 논문 정보

- **저자**: Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2018년 12월 20일
- **등록일**: 2026년 11월 6일
- **수정일**: 2020년 4월 9일
- **버전**: v5
- **arXiv**: 1812.08451
- **DOI**: 10.22331/q-2019-12-16-215
- **분류**: quant-ph · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/1812.08451v5) · [원문 PDF ↗](https://arxiv.org/pdf/1812.08451v5)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Quantum error correction is widely thought to be the key to fault-tolerant quantum computation. However, determining the most suited encoding for unknown error channels or specific laboratory setups is highly challenging. Here, we present a reinforcement learning framework for optimizing and fault-tolerantly adapting quantum error correction codes. We consider a reinforcement learning agent tasked with modifying a family of surface code quantum memories until a desired logical error rate is reached. Using efficient simulations with about 70 data qubits with arbitrary connectivity, we demonstrate that such a reinforcement learning agent can determine near-optimal solutions, in terms of the number of data qubits, for various error models of interest. Moreover, we show that agents trained on one setting are able to successfully transfer their experience to different settings. This ability for transfer learning showcases the inherent strengths of reinforcement learning and the applicability of our approach for optimization from off-line simulations to on-line laboratory settings.

## 원문 인용

Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis (2018). Optimizing Quantum Error Correction Codes with Reinforcement Learning. arXiv:1812.08451v5. https://doi.org/10.22331/q-2019-12-16-215

**BibTeX**

```
@article{nautrup2018optimizing,
  title = {{Optimizing Quantum Error Correction Codes with Reinforcement Learning}},
  author = {Hendrik Poulsen Nautrup and Nicolas Delfosse and Vedran Dunjko and Hans J. Briegel and Nicolai Friis},
  year = {2018},
  eprint = {1812.08451},
  archivePrefix = {arXiv},
  doi = {10.22331/q-2019-12-16-215},
  url = {https://arxiv.org/abs/1812.08451v5}
}
```

## 이 논문의 용어

- [강화학습](https://refivu.com/terms/9d55ef3a06b9-reinforcement-learning)
- [transfer learning](https://refivu.com/terms/9c71d6928a00-transfer-learning)
- [Projective Simulation](https://refivu.com/terms/16d90a280725-projective-simulation)
- [Quantum error correction](https://refivu.com/terms/09ebd8142dc7-quantum-error-correction)
- [surface code](https://refivu.com/terms/278aeb1130f8-surface-code)

## 다른 논문 해설

- [Intrinsically Motivated Hierarchical Policy Learning in Multi-objective Markov Decision Processes](https://refivu.com/papers/ed69d7df-af26-4324-9473-e48046fe20c7-intrinsically-motivated-hierarchical-policy-learning-in.md)
- [Intelligent Inverse Treatment Planning via Deep Reinforcement Learning, a Proof-of-Principle Study in High Dose-rate Brachytherapy for Cervical Cancer](https://refivu.com/papers/989ca4a6-f0a1-49bb-acef-57ff8c8cd05d-intelligent-inverse-treatment-planning-via-deep.md)
- [An actor-critic algorithm with policy gradients to solve the job shop scheduling problem using deep double recurrent agents](https://refivu.com/papers/cb0f9a5c-40b9-4bc4-9021-aeb7940bbe8d-an-actor-critic-algorithm-with-policy-gradients-to.md)
- [Deep reinforcement learning for irrigation scheduling using high-dimensional sensor feedback](https://refivu.com/papers/870a3e0a-1d1e-449c-9bfe-8069d8a2ed5f-deep-reinforcement-learning-for-irrigation-scheduling-using.md)
- [OmniDrones: An Efficient and Flexible Platform for Reinforcement Learning in Drone Control](https://refivu.com/papers/a6123ef2-f3fd-4830-9456-36176ead03f1-omnidrones-an-efficient-and-flexible-platform-for.md)
- [Explainability in Deep Reinforcement Learning, a Review into Current Methods and Applications](https://refivu.com/papers/63038708-5f7a-46ac-a947-1db060f5882e-explainability-in-deep-reinforcement-learning-a-review-into.md)
- [Context Vectors are Reflections of Word Vectors in Half the Dimensions](https://refivu.com/papers/b7b81b8b-5025-4fbd-a52e-a2e1e26668da-context-vectors-are-reflections-of-word-vectors-in.md)
- [Embedding Projection for Targeted Cross-Lingual Sentiment: Model Comparisons and a Real-World Study](https://refivu.com/papers/14ebfd4f-6ac8-4737-851d-03108b88fa3b-embedding-projection-for-targeted-cross-lingual-sentiment.md)
- [Language Model Adaptation for Language and Dialect Identification of Text](https://refivu.com/papers/92259e24-b03b-4c91-9783-7e0643e39c9e-language-model-adaptation-for-language-and-dialect.md)
- [Word Similarity Datasets for Thai: Construction and Evaluation](https://refivu.com/papers/79a699ae-0739-4d3a-a58f-925cc30c3e07-word-similarity-datasets-for-thai-construction-and.md)
- [Sign Language Representation by TEO Humanoid Robot: End-User Interest, Comprehension and Satisfaction](https://refivu.com/papers/63d0487d-e9ef-445b-b3b2-1bd30a4c2fc5-sign-language-representation-by-teo-humanoid-robot-end.md)
- [Machine Reading Comprehension for Answer Re-Ranking in Customer Support Chatbots](https://refivu.com/papers/3cb52c93-8dda-462e-9b98-2cbe67557aa2-machine-reading-comprehension-for-answer-re-ranking-in.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/ed0ded3a-768a-49f3-9eb5-e36bb24fe5d1-optimizing-quantum-error-correction-codes-with-reinforcement)
