# Quantum reinforcement learning in continuous action space

연속 행동 공간에서의 양자 강화학습

Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang · arXiv · 2020년 12월 19일

- **연구 문제** 양자 강화학습을 연속 행동 공간으로 확장하면서 이산화에 따른 차원의 저주를 피하는 것이 문제입니다.
- **연구 방법** 정책과 가치 함수를 변분 양자 회로 기반 QNN으로 근사하는 양자 DDPG를 제안하며, 한 번의 학습으로 초기 상태를 임의의 목표 상태로 보내는 제어 열을 얻습니다.
- **주요 결과** 한 큐비트와 두 큐비트 상태 생성 시뮬레이션에서 t=50 기준 평균 목표 확률이 0.99와 0.98 이상으로 보고되었고, Heisenberg model 고유값 문제에서도 유사한 수준이 보고되었습니다.

## 연속 행동 공간에서 양자 강화학습이 어려운 이유

이 논문이 다루는 문제는 양자 강화학습(QRL)을 연속 행동 공간으로 확장하는 것입니다. 이산 행동 공간에서는 양자 강화학습 기법이 성과를 보였지만, 연속 행동을 격자로 이산화하면 격자 수가 늘어나며 차원의 저주가 생겨 연속 제어 문제에 그대로 적용하기 어렵습니다. 저자들은 연속 행동 파라미터를 직접 출력하는 정책을 양자 신경망으로 학습하여 이 한계를 피하려고 합니다. 또한 목표 상태마다 따로 최적화하지 않고, 한 번의 최적화로 고정된 초기 상태를 임의의 목표 상태로 보내는 단일 샷 상태 생성을 다룹니다. 검증 범위는 한 큐비트와 두 큐비트 시뮬레이션 및 Heisenberg model의 고유값 문제이며, 실제 양자 하드웨어 실험은 포함되지 않습니다.

## 강화학습 요소를 양자 회로로 옮기는 방식

제안 틀에서는 환경 상태를 환경 레지스터의 양자 상태 \|s\_t⟩로 표현하고, 에이전트가 고른 행동 θ\_t를 행동 유니터리 U\_a(θ\_t)로 환경 레지스터에 적용합니다. 보상은 보상 레지스터와 보상 유니터리 U\_r, 측정 관측량 M으로 정의되어 실제 문제의 보상과 맞춰집니다. 상태 생성 문제에서는 목표 상태 \|s\_d⟩에 대해 p\_{t+1}=\|⟨s\_{t+1}\|s\_d⟩\|^2 를 측정으로 추정하고, 보상을 r\_{t+1}=10p\_{t+1}로 둡니다. 행동 유니터리는 variational quantum circuit 구조 V(θ)와 얽힘 층 U\_ENT로 구성되며, 정책과 가치 함수는 이 회로를 쓰는 양자 신경망(QNN)으로 근사됩니다.

![Figure 1: The QRL model. Each iterative step can be described by the following loop: (1) at stept, the agent receives\|st⟩ and generates the action parameterθt…](https://refivu.com/papers/3528919b-77d8-4232-bfb1-6cae6f24105c/figures/figure-4b14b116a1c4596716cd355f608f5caf.png?thumb=512)

**Figure 1** : The QRL model. Each iterative step can be described by the following loop: (1) at stept, the agent receives\|st⟩ and generates the action parameterθt ac- cording to the current policy; (2) the agent generates \|st+1⟩ ≡Ua(θt)\|st⟩; (3) based on\|st⟩ and\|st+1⟩, a rewardrt+1 is calculated and fed back to the agent, to- gether with\|st+1⟩; (4) based on\|st+1⟩ and rt+1, the policy is updated and then used to generateθt+1.

[원문](https://arxiv.org/abs/2012.10711v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang · Quantum reinforcement learning in continuous action space · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 양자 DDPG의 네트워크 구성과 학습 절차

양자 DDPG는 고전 DDPG와 같은 틀을 따라 정책 QNN, 가치 QNN, 그리고 두 개의 목표 네트워크로 모두 네 개의 QNN을 사용합니다. 정책 QNN은 \|s\_t⟩로부터 θ\_t를 출력하고, Q QNN은 \|s\_t⟩와 amplitude encoding으로 넣은 \|θ\_t⟩를 함께 입력받습니다. 학습은 경험을 experience replay 버퍼에 저장하고 무작위 배치를 샘플링하는 단계, 평균제곱 손실로 Q QNN을 갱신하는 단계, Q 값을 키우는 방향의 기울기로 정책 QNN을 갱신하는 단계, 그리고 soft update strategy로 목표 네트워크를 천천히 섞는 단계로 이루어집니다. 손실 최소화에는 AdamOptimizer가 쓰입니다.

학습이 끝나면 최적 정책으로 T번의 반복을 수행해 제어 열을 얻습니다.

![Figure 8: The neural network structure of DDPG Algorithm](https://refivu.com/papers/3528919b-77d8-4232-bfb1-6cae6f24105c/figures/figure-4e1d9e33b6f7dfc8e15355ffb04498c6.png?thumb=512)

**Figure 8** : The neural network structure of DDPG Algorithm.

[원문](https://arxiv.org/abs/2012.10711v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang · Quantum reinforcement learning in continuous action space · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 단일 샷 상태 생성의 실행 방식

상태 생성에서는 목표 상태 \|s\_d⟩를 고정하고 정책을 학습합니다. 이 \|s\_d⟩는 \|0⟩^⊗n처럼 준비하기 쉬운 상태로 선택할 수 있다고 설명됩니다. 학습된 정책을 실행하면 임의의 초기 상태 \|s\_0⟩에 제어 열 U\_a(θ\_t)를 차례로 적용하여 목표 근처로 보냅니다. 여기서 유니터리의 가역성을 이용하면 역순 열 U\_a†를 \|s\_d⟩에 적용해 임의의 \|s\_0⟩를 생성할 수 있습니다. 목표 상태가 미지이더라도 사본이 여러 개 있으면 같은 역방향 열을 쓸 수 있으며, 이것이 단일 샷 특성으로 제시됩니다. 다만 이 역방향 생성은 실행 단계의 가역성에 의존하며, 정책이 모든 목표를 정확히 맞춘다는 뜻은 아닙니다.

## 상태 생성 시뮬레이션 결과

한 큐비트 상태 생성 시뮬레이션에서 목표 상태는 \|1⟩로 설정되었고, 1000개의 무작위 초기 상태를 시험했습니다. t=50에서 평균 p̄50은 0.99 이상으로 보고됩니다. 분산에 대해서는 본문이 Δ(p50) 4.67×10^−5 이하를 적고, 그림 4 캡션은 같은 조건에서 4.47×10^−5 이하를 적어 두 값이 서로 다르게 보고됩니다. 두 큐비트 경우 목표 상태는 최대 얽힘 상태 (\|00⟩+\|11⟩)/√2이며, 원래 QNN 학습이 만족스럽지 않아 Ref. \[62\]의 보편 QNN을 적용했습니다. 이때 각 QNN은 여섯 큐비트와 깊이 3으로 구성되었고, t=50에서 평균 p̄50은 0.98 이상, 분산 Δ(p50)은 4.04×10^−7 이하로 보고됩니다.

저자들은 이 결과로 한 번의 최적화가 초기 상태 집합 전체에 충분하다고 해석합니다.

## 고유값 문제로의 확장과 Heisenberg 모델 결과

고유값 문제에서는 Ur를 quantum phase estimation 회로로 설정하고, 보상을 r\_{t+1}=10\|⟨s\_{t+1}\|u\_0⟩\|^2로 정의합니다. 위상 추정 뒤 고유값 위상 레지스터를 계산기저에서 측정하면 λ\_0을 얻을 확률이 \\(p\_{t+1}=\|\\langle s\_{t+1}\|u\_0\\rangle\|^2=\|\\alpha\_{t+1,0}\|^2\\) 로 주어집니다. Heisenberg model의 한 큐비트 경우 t=50에서 평균 p̄50은 0.99 이상이고 Δ(p50)은 1.98×10^−7 이하입니다. 두 큐비트 경우 평균 p̄50은 0.98 이상이고 Δ(p50)은 3.01×10^−6 이하입니다. 저자들은 0.98의 정확도를 만족스럽지 않다고 밝히며, 최종 상태를 Ref.

\[67\]의 방법 입력으로 사용해 정확한 상태를 얻을 수 있다고 제안합니다. 저자들은 한 번의 최적화로 얻은 정책이 여러 초기 상태에 쓰일 수 있는 점을 VQE나 최적 제어의 초기 상태별 최적화와 대비하여 해석합니다.

![Figure 5: The quantum phase estimation circuitUPE](https://refivu.com/papers/3528919b-77d8-4232-bfb1-6cae6f24105c/figures/figure-51a5ce2f071a7c27d28dda1587fa3d04.png?thumb=512)

**Figure 5** : The quantum phase estimation circuitUPE.

[원문](https://arxiv.org/abs/2012.10711v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang · Quantum reinforcement learning in continuous action space · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 이산 행동 공간에서의 양자 DQN 적용

이산 행동 공간 문제에서는 같은 틀에서 DDPG 설계 대신 quantum DQN 설계를 사용합니다. Frozen Lake 환경에서 격자 번호는 계산기저로 인코딩되고, 위, 아래, 왼쪽, 오른쪽 행동은 Ry 회전의 텐서곱으로 구성된 유니터리 집합으로 표현됩니다. 보상 함수는 일반 칸 F에서 −1, 구멍 H에서 −10, 목표 칸 G에서 +10으로 정의됩니다. 시뮬레이션에서는 replay buffer 크기 2000, batch 크기 32, 네 큐비트와 깊이 1의 QNN을 사용했습니다. 500 에피소드 학습 후 에이전트는 6단계 만에 목표 위치에 도달했고, 얻은 경로는 최단 경로 중 하나로 보고됩니다.

![Figure 9: Frozen Lake environment model. S is the starting position; F is the walkable position; H is the hole position, and G is the goal position. The action…](https://refivu.com/papers/3528919b-77d8-4232-bfb1-6cae6f24105c/figures/figure-6ac2c89092582f49ace26f000a8b5bb5.png?thumb=512)

**Figure 9** : Frozen Lake environment model. S is the starting position; F is the walkable position; H is the hole position, and G is the goal position. The actions that the agent can choose at each position are up, down, left, and right.

[원문](https://arxiv.org/abs/2012.10711v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang · Quantum reinforcement learning in continuous action space · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 측정 횟수와 게이트 복잡도 분석

측정 복잡도는 Chebyshev 부등식에서 출발합니다. 관측량 B를 K번 측정한 표본 평균 m\_K에 대해 Theorem 1은 \\(P(\|m\_K-\\langle B\\rangle\|\\ge\\epsilon)\\le \\frac{1}{K\\epsilon^2}\\) 를 제시합니다. 증명에서 관측량의 고유값이 ±1이므로 분산 σ²는 1 이하로 제한되고, 따라서 K=O(1/ε²) 측정이면 표본 평균이 기댓값에 높은 확률로 가까워진다고 논증합니다. 게이트 복잡도는 단계 1에서 행동 회로 C\_a, 정책 QNN C\_p, Q QNN C\_q를 기준으로 한 반복의 비용을 세고, 단계 2의 총 복잡도는 원문 표기 기준으로 O(T²C\_a²+C\_aC\_p/ε²)로 제시됩니다.

이 식은 추출 과정에서 일부 기호가 불명확하므로 세부 항은 원문 확인이 필요합니다.

## 적용 범위와 남은 한계

첫째, 주요 결과는 잡음 모델을 포함한 시뮬레이션에서 얻은 것입니다. 보상 측정 오차는 ε∼N(p\_t,ε²)로 무작위 선택되었으며, 실제 장치의 잡음과 측정 비용은 별도로 검증되지 않았습니다. 둘째, 두 큐비트 상태 생성과 고유값 문제에서 원래 QNN 학습이 충분하지 않아 universal QNN이나 추가 정확화 방법이 필요했습니다. 셋째, 고전 DQN을 이산화된 연속 행동 공간에 적용하면 정확도를 높일 때 차원 문제가 생겨 CAS 문제에 효율적이지 않다고 설명되지만, 이는 저자들의 논증이며 이 논문에서 고전 DQN과의 직접 비교 실험으로 확인된 결과는 아닙니다. 넷째, 게이트 복잡도 분석은 추출 원문의 표기가 일부 불명확하여 세부 항의 정밀 검증이 필요합니다.

## 논문 정보

- **저자**: Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2020년 12월 19일
- **등록일**: 2026년 11월 6일
- **수정일**: 2025년 3월 7일
- **버전**: v5
- **arXiv**: 2012.10711
- **DOI**: 10.22331/q-2025-03-12-1660
- **분류**: quant-ph · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Quantum reinforcement learning (QRL) is a promising paradigm for near-term quantum devices. While existing QRL methods have shown success in discrete action spaces, extending these techniques to continuous domains is challenging due to the curse of dimensionality introduced by discretization. To overcome this limitation, we introduce a quantum Deep Deterministic Policy Gradient (DDPG) algorithm that efficiently addresses both classical and quantum sequential decision problems in continuous action spaces. Moreover, our approach facilitates single-shot quantum state generation: a one-time optimization produces a model that outputs the control sequence required to drive a fixed initial state to any desired target state. In contrast, conventional quantum control methods demand separate optimization for each target state. We demonstrate the effectiveness of our method through simulations and discuss its potential applications in quantum control.

## 원문 인용

Shaojun Wu, Shan Jin, Dingding Wen, Donghong Han, Xiaoting Wang (2020). Quantum reinforcement learning in continuous action space. arXiv:2012.10711v5. https://doi.org/10.22331/q-2025-03-12-1660

**BibTeX**

```
@article{wu2020quantum,
  title = {{Quantum reinforcement learning in continuous action space}},
  author = {Shaojun Wu and Shan Jin and Dingding Wen and Donghong Han and Xiaoting Wang},
  year = {2020},
  eprint = {2012.10711},
  archivePrefix = {arXiv},
  doi = {10.22331/q-2025-03-12-1660},
  url = {https://arxiv.org/abs/2012.10711v5}
}
```

## 이 논문의 용어

- [experience replay](https://refivu.com/terms/5ee9a599e6c6-experience-replay)
- [DDPG](https://refivu.com/terms/9bd68efd54bc-ddpg)
- [DQN](https://refivu.com/terms/6263174655b5-dqn)
- [target networks](https://refivu.com/terms/3b40580ebe98-target-networks)
- [amplitude encoding](https://refivu.com/terms/96192856c535-amplitude-encoding)
- [Variational Quantum Eigensolver](https://refivu.com/terms/5ff368b72ee6-variational-quantum-eigensolver)
- [frozen lake](https://refivu.com/terms/a7a6ffece9bb-frozen-lake)
- [gate complexity](https://refivu.com/terms/d0c9a62913e6-gate-complexity)
- [quantum phase estimation](https://refivu.com/terms/06b91dcde2f4-quantum-phase-estimation)
- [Variational Quantum Circuit](https://refivu.com/terms/36c55f1aa088-variational-quantum-circuit)

## 다른 논문 해설

- [Safe Reinforcement Learning via Projection on a Safe Set: How to Achieve Optimality?](https://refivu.com/papers/60deeda1-e05b-474f-ac38-9ffa944d76db-safe-reinforcement-learning-via-projection-on-a-safe.md)
- [Joint Resource Management for MC-NOMA: A Deep Reinforcement Learning Approach](https://refivu.com/papers/43d1e522-8eee-4a38-8250-c57c09cd7212-joint-resource-management-for-mc-noma-a-deep.md)
- [Energy-Efficient Ultra-Dense Network with Deep Reinforcement Learning](https://refivu.com/papers/95d86123-e5b3-4669-a28b-f60034bdab50-energy-efficient-ultra-dense-network-with-deep-reinforcement.md)
- [Reachability Verification Based Reliability Assessment for Deep Reinforcement Learning Controlled Robotics and Autonomous Systems](https://refivu.com/papers/67e1e0b6-62e1-4e22-a037-23f5ed12ab05-reachability-verification-based-reliability-assessment-for.md)
- [LoRa-RL: Deep Reinforcement Learning for Resource Management in Hybrid Energy LoRa Wireless Networks](https://refivu.com/papers/fdac998a-80eb-46f8-bef3-a0fe05dcc390-lora-rl-deep-reinforcement-learning-for-resource-management.md)
- [A Survey on Physics Informed Reinforcement Learning: Review and Open Problems](https://refivu.com/papers/9f1c1f2a-797f-4e3b-9dbc-724a65fcef78-a-survey-on-physics-informed-reinforcement-learning-review.md)
- [Multi-SimLex: A Large-Scale Evaluation of Multilingual and Cross-Lingual Lexical Semantic Similarity](https://refivu.com/papers/2e03a8c0-9df9-42e1-97d6-82e5f0f5ad03-multi-simlex-a-large-scale-evaluation-of-multilingual.md)
- [Software Reconfiguration in Robotics](https://refivu.com/papers/5a696633-52e6-4503-a8cd-20d2df0f8441-software-reconfiguration-in-robotics.md)
- [Ten Years of Generative Adversarial Nets (GANs): A survey of the state-of-the-art](https://refivu.com/papers/fc565bac-d6ac-44fa-a62c-47ff10ea2c07-ten-years-of-generative-adversarial-nets-gans-a.md)
- [Towards Natural Language-Based Visualization Authoring](https://refivu.com/papers/88bc5e0d-6a88-4600-80f8-23fec880ab8e-towards-natural-language-based-visualization-authoring.md)
- [A Novel Semi-Coupled Hierarchical Motion Planning Framework for Cooperative Transportation of Multiple Mobile Manipulators](https://refivu.com/papers/5b3f14c9-e120-4f53-891a-ca699bee9b05-a-novel-semi-coupled-hierarchical-motion-planning-framework.md)
- [Singularity-free Guiding Vector Field for Robot Navigation](https://refivu.com/papers/7ee4f8e3-a9d2-4b18-8f03-a949f0119c94-singularity-free-guiding-vector-field-for-robot-navigation.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/3528919b-77d8-4232-bfb1-6cae6f24105c-quantum-reinforcement-learning-in-continuous-action-space)
