Quadratic Continuous Quantum Optimization

Sascha Mücke, Thore Gerlach, Nico Piatkowski · DOI

TL;DR

Quadratic Continuous Quantum Optimization (QCQO) is a novel "anytime" algorithm that allows discrete quantum annealers to solve continuous optimization problems like linear regression. By iteratively solving a sequence of small QUBO instances where continuous values are stored in the weights rather than encoded in the bits, QCQO achieves high precision with significantly fewer qubits than traditional methods.

What Problem Does This Paper Address?

Quantum Annealing (QA) is a powerful paradigm for solving Quadratic Unconstrained Binary Optimization (QUBO) problems—essentially finding the best configuration of "on/off" switches. While QA excels at combinatorial tasks (like scheduling or logistics), it struggles with continuous optimization, such as training a neural network or performing linear regression, where variables are real numbers.

The standard workaround is to use "precision vectors," where multiple qubits represent the digits of a single number. However, this is qubit-expensive: doubling your precision doubles your qubit count. In an era where quantum hardware is still limited (the "NISQ" era), this overhead is a dealbreaker. The authors seek a way to perform continuous optimization on quantum hardware without the massive qubit "tax."

Methods

The authors introduce QCQO, which shifts the complexity from the binary encoding to the QUBO weight matrix itself.

  1. Iterative Refinement: Instead of trying to find the perfect real-valued answer in one shot, QCQO starts with an initial guess and iteratively "nudges" it toward the optimum.
  2. Implicit Representation: In each step, the algorithm samples a random matrix $R$. The quantum annealer is asked to pick a subset of rows from $R$ that, when summed and added to the current guess, most reduces the loss function.
  3. Continuous Weights: Because the loss function's quadratic and linear terms ($A$ and $a$) are continuous, the resulting QUBO matrix $Q$ naturally incorporates continuous information. The qubits only decide which vectors to add, not the values themselves.
  4. Step-Size Adaptation (Algorithm 2): To prevent the algorithm from overshooting the target or stagnating, the authors implemented a window-based adaptation scheme. It monitors past updates to shrink or grow the "search radius" ($\sigma$), acting much like a learning rate in classical deep learning.

Datasets

The researchers evaluated QCQO using synthetic linear regression datasets:

  • Dimensions: $d = 16$ features.
  • Size: $N = 10^5$ data points.
  • Setup: They generated a ground-truth weight vector $w^*$ and attempted to recover it starting from a zero-vector guess.
  • Hardware: Evaluations were performed using both a brute-force classical solver (for small $n$) and the D-Wave Advantage 2 system 1.1 (a real quantum annealer with over 5,000 qubits).

Key Insights and Ideas

  • Qubit Efficiency: Traditional methods require $\Theta(d \log(1/\epsilon))$ qubits to reach a certain precision. QCQO only requires $\Theta(1)$ binary variables per dimension per iteration, making it much more viable for current hardware.
  • The "Anytime" Advantage: Because it is iterative, you can stop the algorithm at any point and have a valid (and likely improved) solution. This is ideal for cloud-based quantum computing with strict time budgets.
  • Hardware Resilience: A fascinating insight is that the algorithm doesn't require the quantum annealer to find the absolute global minimum of the QUBO in every step. As long as the hardware finds a "good enough" state that reduces the loss, the overall algorithm will still converge.
  • The $n$ vs. Noise Trade-off: On simulated hardware, increasing $n$ (the number of rows to choose from) always helps. On real quantum hardware, however, larger $n$ creates a denser, noisier QUBO. The authors found that $n=32$ sometimes outperformed $n=64$ on D-Wave because the physical noise outweighed the mathematical benefit of a larger search space.

Key Results

  • Convergence: The authors proved that QCQO can match the convergence speed of classical gradient descent.
  • MSE Reduction: In simulations, the Mean Squared Error (MSE) dropped from $10^6$ to nearly $10^{-4}$ within 1,000 iterations.
  • Real-World Performance: On the D-Wave Advantage 2, the algorithm successfully reduced MSE to approximately $10^{-1}$. While slower and less precise than the simulation due to hardware noise, it successfully demonstrated that continuous regression is possible on current quantum devices.

Limitations and Future Work

  • Convexity Constraints: The current theoretical proofs and experiments focus on convex quadratic problems. While the authors suggest it could work for non-convex problems, this hasn't been tested.
  • Hardware Noise: The "stalling" observed on real D-Wave hardware suggests that current quantum noise levels limit the final precision of the solution.
  • Heuristic Adaptation: The step-size scheduling is currently heuristic. The authors point toward "Covariance Matrix Adaptation" (CMA-ES) as a potential inspiration for more robust future versions.
  • Broader Applications: Future work will likely explore non-convex loss functions and more complex machine learning architectures beyond simple linear regression.

Summary updated

Abstract

Quantum annealers can solve QUBO problems efficiently but struggle with continuous optimization tasks like regression due to their discrete nature. We introduce Quadratic Continuous Quantum Optimization (QCQO), an anytime algorithm that approximates solutions to unconstrained quadratic programs via a sequence of QUBO instances. Rather than encoding real variables as binary vectors, QCQO implicitly represents them using continuous QUBO weights and iteratively refines the solution by summing sampled vectors. This allows flexible control over the number of binary variables and adapts well to hardware constraints. We prove convergence properties, introduce a step size adaptation scheme, and validate the method on linear regression. Experiments with simulated and real quantum annealers show that QCQO achieves accurate results with fewer qubits, though convergence slows on noisy hardware. Our approach enables quantum annealing to address a wider class of continuous problems.
BibTeX
@misc{mucke2025quadratic,
  author = {Sascha Mücke and Thore Gerlach and Nico Piatkowski},
  title = {{Quadratic Continuous Quantum Optimization}},
  year = {2025},
  eprint = {2512.24759},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.24759},
}
Figure