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

Benchmarking variational quantum algorithms for combinatorial optimization in practice

Tim Schwägerl, Yahui Chai, Tobias Hartung, Karl Jansen, Stefan KühnQuantum 2024

Abstract

Variational quantum algorithms and, in particular, variants of the variational quantum eigensolver have been proposed to address combinatorial optimization (CO) problems. Using only shallow ansatz circuits, these approaches are deemed suitable for current noisy intermediate-scale quantum hardware. However, the resources required for training shallow variational quantum circuits often scale superpolynomially in problem size. In this study we numerically investigate what this scaling result means in practice for solving CO problems using Max-Cut as a benchmark. For fixed resources, we compare the average performance of training a shallow variational quantum circuit, sampling with replacement, and a greedy algorithm starting from the same initial point as the quantum algorithm. We identify a minimum problem size for which the quantum algorithm can consistently outperform sampling and, for each problem size, characterize the separation between the quantum algorithm and the greedy algorithm. Furthermore, we extend the average case analysis by investigating the correlation between the performance of the algorithms by instance. Our results provide a step towards meaningful benchmarks of variational quantum algorithms for CO problems for a realistic set of resources.

Introduction

The promise of Variational Quantum Algorithms (VQAs) lies in their potential to solve NP-hard Combinatorial Optimization (CO) problems, such as Max-Cut, using the limited resources of Noisy Intermediate-Scale Quantum (NISQ) devices. While theoretical work often highlights asymptotic advantages, practical implementation faces significant hurdles, including "barren plateaus" and local minima in the optimization landscape. This study provides a pragmatic "reality check" by benchmarking a Variational Quantum Eigensolver (VQE) against standard classical baselines—random sampling and greedy local search—under a fixed budget of function evaluations.

Methodology

The researchers evaluated three distinct approaches to the Max-Cut problem on random 3-regular graphs:

  1. VQE: Utilized a hardware-efficient ansatz with $R_Y$ rotations and CNOT gates. The optimization employed the Conditional Value at Risk (CVaR) cost function and the COBYLA optimizer.
  2. Sampling with Replacement: A baseline representing uniform random guessing.
  3. Greedy Algorithm: A classical local search initialized from the same starting state as the VQE to ensure a fair comparison.
Hardware-efficient ansatz circuit used in the VQE implementation.

The study spanned problem sizes ($N$) from 11 to 61 nodes, with 25 instances per size. Each instance was tested across 10 trials with different initializations. All algorithms were capped at $10^6$ objective function evaluations.

Results and Discussion

The benchmarking revealed several critical insights into the practical scaling of VQAs.

VQE vs. Random Sampling

For small problem sizes ($N=11$), VQE often underperformed compared to random sampling due to the optimizer becoming trapped in poor local minima. A consistent advantage over sampling only emerged as problem sizes exceeded approximately 30 variables. At $N=31$, VQE outperformed sampling in roughly 95% of instances, showing a modest improvement in the approximation ratio.

A key finding was the strong correlation between VQE performance and the quality of its initial point. VQE rarely provided a substantial advantage over a greedy search starting from the same initialization. The performance gap peaked at $N=31$ and notably began to shrink as problem sizes increased to $N=61$, suggesting that shallow VQAs struggle to maintain an edge as complexity grows.

Mean approximation ratio and success probability across iterations for various problem sizes.

Success Probability

As shown in the performance metrics, while VQE finds the exact optimal solution for $N=11$ with over 75% probability, this success rate drops sharply for larger $N$. This highlights the increasing difficulty of navigating the global optimization landscape in higher dimensions as the problem scales.

Conclusion

This study underscores the challenges of achieving a practical quantum advantage with shallow-circuit VQAs for CO problems. While VQE can outperform simple random sampling for mid-sized problems, its advantage over basic classical heuristics like greedy search remains marginal under realistic resource constraints. Future work may need to explore "warm-starting" strategies or more sophisticated circuit architectures to realize a more definitive advantage in the NISQ era.

Summary updated

BibTeX
@inproceedings{schwagerl2024benchmarking,
  author = {Tim Schwägerl and Yahui Chai and Tobias Hartung and Karl Jansen and Stefan Kühn},
  title = {{Benchmarking variational quantum algorithms for combinatorial optimization in practice}},
  booktitle = {Quantum},
  year = {2024},
}
Figure