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

Quantum policy gradient algorithms

Sofiène Jerbi, Arjan Cornelissen, Maris Ozols, Vedran DunjkoarXiv 2022 · DOI

Abstract

Reinforcement learning (RL) is often limited by high sample complexity, requiring millions of interactions to master complex tasks. This research introduces quantum algorithms for policy gradient RL that achieve a quadratic speed-up in sample complexity over classical counterparts. By leveraging quantum superposition to interact with environment oracles, the proposed methods scale with the number of trainable parameters rather than the size of the state-action space. Furthermore, the authors prove that Parametrized Quantum Circuits (PQCs) naturally satisfy the mathematical regularity conditions required for quantum acceleration, positioning them as ideal candidates for high-dimensional RL.

Introduction

Classical reinforcement learning relies heavily on policy gradient methods to navigate high-dimensional environments. However, these methods remain "sample-hungry." While quantum computing has long promised speed-ups, previous quantum RL approaches often suffered from complexity scaling tied to the total number of states and actions, rendering them impractical for large-scale applications. This paper addresses this gap by developing quantum policy gradient algorithms that scale with the number of parameters ($d$), aligning quantum RL with the trajectory of modern deep RL.

Quantum Policy Gradient Methods

The authors propose two distinct quantum algorithms for gradient estimation:

  1. Numerical Policy Gradient: This method treats the reward function as a black box. It utilizes a quantum gradient estimation algorithm based on Jordan’s algorithm, which provides a speed-up dependent on the "smoothness" of the function, quantified by the Gevrey condition.
  2. Analytical Policy Gradient: This approach adapts the classical Policy Gradient Theorem. It employs Quantum Multivariate Monte Carlo estimation to calculate the gradient of the log-probability of actions, offering significant efficiency gains when the parameter count is large.

Both methods require "quantum access" to the environment via a Markov Decision Process (MDP) oracle, enabling the agent to explore multiple trajectories in superposition.

Parametrized Quantum Policies

To evaluate these algorithms, the researchers define two classes of quantum-native policies: raw-PQC and softmax-PQC. These are constructed using Variational Quantum Circuits.

Architecture of a Parametrized Quantum Circuit (PQC) and the derivation of raw-PQC and softmax-PQC policies.

In the raw-PQC model, action probabilities are derived directly from the measurement outcomes of the circuit. In the softmax-PQC model, the circuit's outputs are treated as logits, which are then passed through a softmax function. The paper rigorously proves that these PQC architectures are "well-behaved," meaning they inherently satisfy the smoothness requirements (such as bounded log-policy gradients) necessary for quantum speed-ups.

Key Insights and Theoretical Results

The research highlights several critical findings:

  • The Smoothness Bottleneck: Quantum acceleration for gradient estimation is contingent on the regularity of the underlying function. The authors identify the Gevrey condition as the primary determinant for whether an RL task can benefit from quantum speed-ups.
  • Quadratic Speed-up: The quantum algorithms demonstrate a near-quadratic improvement in sample complexity. For numerical estimation, complexity scales with $\sqrt{d}$ (compared to linear scaling in $d$ for classical methods). For analytical estimation, the number of episodes required to reach a target error $\epsilon$ is significantly reduced.
  • Parameter-Centric Scaling: By focusing on parameter count rather than state-space size, these algorithms provide a scalable path for quantum RL in complex environments.

Limitations and Future Outlook

While the theoretical results are promising, practical implementation faces hurdles. The primary challenge is the Oracle Assumption: the requirement for quantum access to the environment. Creating a quantum simulator for complex real-world systems remains a significant engineering task. Additionally, while a quadratic speed-up is substantial, the search for exponential advantages in specific RL structures continues. Future work may also focus on tightening the complexity bounds related to the time horizon ($T$).

Summary updated

BibTeX
@misc{jerbi2022quantum,
  author = {Sofiène Jerbi and Arjan Cornelissen and Maris Ozols and Vedran Dunjko},
  title = {{Quantum policy gradient algorithms}},
  year = {2022},
  eprint = {2212.09328},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.09328},
}
Figure