NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum Deep Recurrent Reinforcement Learning

Samuel Yen-Chi Chen

TL;DR

This paper introduces Quantum Deep Recurrent Reinforcement Learning (QDRQN), a hybrid framework that integrates Quantum Long Short-Term Memory (QLSTM) into the Deep Q-Learning pipeline. By replacing classical recurrent layers with variational quantum circuits, the authors demonstrate that quantum agents can solve complex sequential tasks—especially those with partial observability—more stably and with significantly fewer parameters than their classical counterparts.

What Problem Does This Paper Address?

Reinforcement Learning (RL) has seen massive success in classical computing, but Quantum RL (QRL) is still in its early stages. Most existing QRL research focuses on "feed-forward" variational quantum circuits (VQCs). These work well for environments where the agent has a perfect view of the state (Markovian environments), but they fail in partially observable environments where the agent needs a "memory" of past events to make the right decision.

In the classical world, we solve this using Recurrent Neural Networks (like LSTMs). This paper addresses the gap in the quantum domain by building a recurrent quantum architecture capable of maintaining internal state over time, allowing agents to navigate environments where information is hidden or missing.

Methods

The authors propose a hybrid quantum-classical architecture called the "Dressed QLSTM."

  1. The QLSTM Cell: The core of the agent is a Quantum Long Short-Term Memory cell. It mimics the classical LSTM structure (input, forget, and output gates) but replaces the standard neural network layers with Variational Quantum Circuits (VQCs).
  2. Data Encoding: Classical state observations are transformed into quantum states using $R_y$ and $R_z$ rotation gates.
  3. The "Dressed" Architecture: To bridge the gap between classical environments and quantum processing, the QLSTM is "dressed" with classical neural network layers at the input (for preprocessing) and the output (for post-processing into action values).
  4. Training: The model is trained using the standard Deep Q-Network (DQN) algorithm, utilizing a replay memory and a target network to stabilize learning.

Datasets

The framework was evaluated using the Cart-Pole environment from the OpenAI Gym, a classic benchmark for RL. The authors tested two variations:

  • Full Observability: The agent receives the complete 4-dimensional state vector (position, velocity, angle, tip velocity).
  • Partial Observability: The authors intentionally dropped one dimension of the observation vector, forcing the agent to rely on its internal "quantum memory" to infer the missing information.

Key Insights and Ideas

  • Parameter Efficiency: One of the most striking findings is that quantum models require far fewer parameters. For example, a QLSTM with ~270 parameters outperformed a classical LSTM with ~2,290 parameters. This suggests that quantum circuits may have a higher "expressive power" for certain temporal patterns.
  • Stability in Training: In the experiments, the classical DRQN (Deep Recurrent Q-Network) occasionally suffered from "collapsing" scores after a certain number of episodes. The quantum versions (QLSTM-DRQN) showed much more stable learning curves.
  • The Power of Recurrence: The paper confirms that recurrent structures are just as vital for quantum agents as they are for classical ones when dealing with non-Markovian tasks. Without the QLSTM's ability to store temporal information, solving the partially observable Cart-Pole task would be significantly harder.

Key Results

  • Performance: In the fully observable Cart-Pole task, the QLSTM with 2 VQC layers achieved the highest average scores and the fastest convergence.
  • Robustness: In the partially observable setting, while all models learned more slowly, the quantum models maintained superior stability. Specifically, the classical LSTM-16 model's performance collapsed after 800 episodes, whereas the QLSTM agents remained stable and continued to perform well.
  • Scaling: The results showed that increasing the number of VQC layers (from 1 to 2) generally improved performance, indicating a clear path for scaling the complexity of quantum agents.

Limitations and Future Work

  • Simulation vs. Hardware: The study was conducted via numerical simulations. While promising, running these models on actual Noisy Intermediate-Scale Quantum (NISQ) hardware remains a challenge due to gate errors and decoherence times.
  • Classical "Dressing": The model still relies on classical layers for pre- and post-processing. A "pure" quantum RL agent that minimizes classical overhead is a potential next step.
  • Environment Complexity: While Cart-Pole is a standard benchmark, it is relatively simple. Future work is needed to see if these quantum advantages hold up in high-dimensional environments like Atari games or complex robotics simulations.

Summary updated

BibTeX
@inproceedings{chen2023quantum,
  author = {Samuel Yen-Chi Chen},
  title = {{Quantum Deep Recurrent Reinforcement Learning}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=5e2kLKy5Xu},
}
Figure