Variational Quantum Optimization with Continuous Bandits

Marc Wanner, Johan Jonasson, Emil Carlsson, Devdatt P. Dubhashi · OpenReview

Abstract

We introduce a novel approach to variational Quantum algorithms (VQA) via continuous bandits. VQA are a class of hybrid Quantum-classical algorithms where the parameters of Quantum circuits are optimized by classical algorithms. Previous work has used zero and first order gradient based methods, however such algorithms suffer from the barren plateau (BP) problem where gradients and loss differences are exponentially small. We introduce an approach using bandits methods which combine global exploration with local exploitation. We show how VQA can be formulated as a best arm identification problem in a continuous space of arms with Lipschitz smoothness. While regret minimization has been addressed in this setting, existing methods for pure exploration only cover discrete spaces. We give the first results for pure exploration in a continuous setting and derive a fixed-confidence, information-theoretic, instance specific lower bound. Under certain assumptions on the expected payoff, we derive a simple algorithm, which is near-optimal with respect to our lower bound. Finally, we apply our continuous bandit algorithm to two VQA schemes: a PQC and a QAOA quantum circuit, showing that we significantly outperform the previously known state of the art methods (which used gradient based methods).

Introduction

Variational Quantum Algorithms (VQAs) represent a promising paradigm for utilizing Near-term Intermediate-Scale Quantum (NISQ) devices. These algorithms operate in a hybrid loop where a quantum computer executes a parameterized circuit, and a classical optimizer iteratively updates these parameters to minimize a cost function.

The hybrid quantum-classical optimization loop for VQAs.

A significant obstacle in scaling VQAs is the Barren Plateau (BP) phenomenon. As the number of qubits increases, the optimization landscape becomes exponentially flat, causing gradients to vanish. Traditional local optimizers, such as COBYLA or SPSA, struggle in these featureless regions, often failing to find a descent direction. This paper proposes a shift from local gradient-based optimization to a global "continuous bandit" framework.

Methodology: Continuous Bandits and Reject and Refine

The core idea is to treat parameter optimization as a Best Arm Identification (BAI) problem in a continuous space. Unlike traditional bandits with a finite set of arms, our "arms" are points in a continuous parameter space.

The Reject and Refine (RR) Algorithm

We introduce the Reject and Refine (RR) algorithm, which leverages global exploration to avoid the pitfalls of local minima and barren plateaus. The algorithm operates as follows:

  1. Initial Discretization: It begins with a coarse grid across the parameter space.
  2. Sampling and Estimation: It samples points to estimate the expected reward (the VQA objective function).
  3. Statistical Rejection: Using the assumption of Lipschitz smoothness—which bounds how quickly the function can change—and calculated confidence intervals, the algorithm "rejects" regions that are statistically unlikely to contain the global optimum.
  4. Iterative Refinement: The remaining "promising" regions are refined by increasing the grid density, and the process repeats.
Visualization of the Reject and Refine (RR) algorithm on a 1D toy application, showing how samples are concentrated in promising regions.

By maintaining a global context, the RR algorithm can ignore vast flat regions once sufficient evidence suggests they do not harbor the optimum, effectively bypassing the barren plateau problem.

Theoretical Contributions

This work provides the first information-theoretic lower bound for pure exploration in continuous bandits. We demonstrate that the RR algorithm is near-optimal relative to this lower bound. Furthermore, we show that in the high-precision limit, the tasks of best arm identification and regret minimization become mathematically equivalent. To handle high-dimensional parameter spaces, we integrate the 1D RR algorithm with Powell’s method, performing sequential line searches.

Experimental Results

The proposed approach was evaluated against standard benchmarks:

  • 1-D Toy Problem: RR consistently identified the true optimum in landscapes with flat regions and local minima, where SPSA frequently failed.
  • QAOA for MaxCut: On random graphs with 5 to 15 vertices, RR-based methods significantly outperformed COBYLA, Powell, and SPSA, showing superior sample complexity as the number of qubits increased.
  • Parametrized Quantum Circuits (PQC): In standard trainability benchmarks, RR-enhanced Powell’s method demonstrated improved sample efficiency compared to standard COBYLA or Powell's method, establishing it as a competitive state-of-the-art alternative.

Conclusion and Future Work

By reframing VQA optimization as a continuous bandit problem, we provide a robust mechanism to overcome barren plateaus. The RR algorithm's reliance on statistical sampling makes it inherently resilient to the shot noise typical of quantum hardware. Future research will focus on developing native multi-dimensional versions of the Reject and Refine logic and optimizing the initial sampling costs to further enhance efficiency.

Summary updated

BibTeX
@misc{wanner2025variational,
  author = {Marc Wanner and Johan Jonasson and Emil Carlsson and Devdatt P. Dubhashi},
  title = {{Variational Quantum Optimization with Continuous Bandits}},
  year = {2025},
  eprint = {2502.04021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.04021},
}
Figure