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

A Study on Optimization Techniques for Variational Quantum Circuits in Reinforcement Learning

Michael Kölle, Timo Witter, Tobias Rohe, Gerhard Stenzel, Philipp Altmann, Thomas Gabor · DOI

Introduction

Reinforcement Learning (RL) typically relies on deep neural networks that require substantial computational resources and millions of parameters. Quantum Reinforcement Learning (QRL) offers a potential alternative by leveraging quantum mechanics to create efficient models with significantly fewer parameters. However, we are currently in the Noisy Intermediate-Scale Quantum (NISQ) era, where hardware is limited by low qubit counts and high noise. Training Variational Quantum Circuits (VQCs) in this environment is challenging due to high sensitivity to hyperparameters and convergence issues. This study evaluates several optimization techniques—such as data re-uploading and scaling—to improve VQC performance in RL tasks.

Methodology

The researchers implemented a Quantum Proximal Policy Optimization (QPPO) algorithm. This hybrid setup utilizes a VQC as the "Actor" to decide actions, while a classical neural network serves as the "Critic" to evaluate those actions.

Overview of the hybrid Quantum Proximal Policy Optimization (QPPO) architecture, featuring a classical Critic and a VQC-based Actor.

Optimization Techniques

Four key enhancement techniques were evaluated to stabilize and improve training:

  1. Data Re-uploading: Instead of encoding the environment's state once, the state is "re-uploaded" before every variational layer. This increases the circuit's expressiveness without requiring additional qubits.
  2. Input Scaling: Trainable parameters are used to weight input data before it enters the quantum gates.
  3. Output Scaling (Greediness Control): A trainable scaling factor is applied to quantum measurements before the final softmax function. This helps the agent transition from exploration to exploitation by "sharpening" the probability distribution of actions.
  4. Exponential Learning Rate Decay: The authors introduced a novel schedule where the learning rate halves every 25k–100k steps. This addresses the VQC's need for high initial learning rates to escape barren plateaus while ensuring stability during the final stages of training.
Detailed circuit diagram of the data re-uploading scheme, showing the interleaved encoding and variational layers.

Experimental Setup and Results

The methods were evaluated on two OpenAI Gym benchmarks: Modified Frozen Lake (discrete) and Cart Pole (continuous).

Key Insights

  • The Necessity of Re-uploading: Data re-uploading proved essential. Without it, the VQC struggled to accurately sense the environment, leading to poor robustness and slow learning.
  • Parameter Efficiency: The study demonstrated that VQCs could achieve near-optimal results with as few as 65 to 81 parameters, matching the performance of classical neural networks tuned to the same minimal parameter count.
  • Performance Parity: In the Frozen Lake environment, the QPPO agent reached the same maximum reward as classical PPO, though it required more steps to converge (50,000 vs 20,000). In Cart Pole, the quantum agent successfully achieved the maximum balance duration of 500 steps.
  • Stability: Exponential learning rate decay significantly improved hyperparameter stability across different random seeds, preventing the optimizer from oscillating out of good solutions late in training.

Conclusion and Future Work

While VQCs demonstrate remarkable parameter efficiency, they do not yet surpass classical neural networks in raw learning speed, primarily due to the high computational cost of quantum simulation on classical hardware. Future research will explore fully quantum actor-critic models, amplitude encoding for larger state spaces, and testing on actual NISQ hardware to evaluate the impact of real-world quantum noise.

Summary updated

BibTeX
@inproceedings{kolle2024study,
  author = {Michael Kölle and Timo Witter and Tobias Rohe and Gerhard Stenzel and Philipp Altmann and Thomas Gabor},
  title = {{A Study on Optimization Techniques for Variational Quantum Circuits in Reinforcement Learning}},
  booktitle = {QSW},
  year = {2024},
  url = {https://openreview.net/forum?id=yFmhGzbtfz},
}
Figure