Iterative-Free Quantum Approximate Optimization Algorithm Using Neural Networks

Ohad Amosy, Tamuz Danzig, Ely Porat, Gal Chechik, Adi MakmalarXiv 2022 · DOI

Abstract

The quantum approximate optimization algorithm (QAOA) is a leading iterative variational quantum algorithm for heuristically solving combinatorial optimization problems. A large portion of the computational effort in QAOA is spent by the optimization steps, which require many executions of the quantum circuit. Therefore, there is active research focusing on finding better initial circuit parameters, which would reduce the number of required iterations and hence the overall execution time. While existing methods for parameter initialization have shown great success, they often offer a single set of parameters for all problem instances. We propose a practical method that uses a simple, fully connected neural network that leverages previous executions of QAOA to find better initialization parameters tailored to a new given problem instance. We benchmark state-of-the-art initialization methods for solving the MaxCut problem of Erdős-Rényi graphs using QAOA and show that our method is consistently the fastest to converge while also yielding the best final result. Furthermore, the parameters predicted by the neural network are shown to match very well with the fully optimized parameters, to the extent that no iterative steps are required, thereby effectively realizing an iterative-free QAOA scheme.

Introduction

In the current Noisy Intermediate-Scale Quantum (NISQ) era, Variational Quantum Algorithms (VQAs) like the Quantum Approximate Optimization Algorithm (QAOA) are essential tools for leveraging limited quantum hardware. QAOA works by adjusting a set of parameters, $\beta$ and $\gamma$, to minimize a cost function. Traditionally, this is an iterative process where a classical optimizer repeatedly queries the quantum hardware to refine these "knobs."

This loop is computationally expensive, as each iteration requires thousands of quantum measurements (shots) to mitigate noise. Current "warm-start" techniques typically provide a generic starting point that does not account for the specific structure of a problem instance, leading to many required iterations and high operational costs.

Personalized Parameter Initialization

The researchers propose a novel approach: using a simple, three-layer fully connected neural network (NN) to predict optimal parameters tailored to specific problem instances. By training the NN on "labeled data" from previous successful QAOA runs, the model learns to map the structural features of a graph (its adjacency matrix) directly to the optimal circuit parameters.

Schematic of the proposed neural network-based QAOA initialization workflow.

This method is purely classical and occurs before the quantum circuit is executed. Unlike previous methods that might require a "mini-optimization" on the quantum hardware first, this NN approach provides a "personalized" starting point that captures the nuances of the specific graph structure.

Experimental Results

The method was benchmarked using the MaxCut problem on Erdős–Rényi (ER) graphs, including both constant edge probability ($p=0.5$) and random edge probability ($p \in [0.3, 0.9]$). The study tested graphs with 6 to 16 nodes, using 5,000 graphs for training.

The results demonstrate a significant performance leap. As shown in the performance plots, the neural network method (NN) achieves a high approximation ratio at "Iteration 0"—the very first execution.

Comparison of approximation ratios over iterations for various initialization methods on constant and random ER graphs.

Key findings include:

  • Iterative-Free Performance: For random ER graphs, the NN's initial guess is so accurate that subsequent optimization steps provide negligible improvement. This effectively transforms QAOA into a single-step execution.
  • Resource Efficiency: By reaching near-optimality immediately, the method saves hundreds of thousands of quantum circuit executions that would otherwise be spent on iterative classical-quantum communication.
  • Scaling Advantage: As the number of nodes ($N$) increases, the performance gap between the NN approach and traditional methods like Trotterized Quantum Annealing (TQA) or linear initialization widens, suggesting better scalability for complex problems.

Conclusion and Future Work

This research demonstrates that optimal quantum parameters are highly sensitive to problem structure and that classical neural networks can effectively capture this sensitivity. While the current model uses a flattened adjacency matrix, future work may explore Graph Neural Networks (GNNs) to better handle graph symmetries and larger problem sizes. This "iterative-free" paradigm represents a major step toward making quantum optimization practical on near-term hardware.

Summary updated

BibTeX
@misc{amosy2022iterative,
  author = {Ohad Amosy and Tamuz Danzig and Ely Porat and Gal Chechik and Adi Makmal},
  title = {{Iterative-Free Quantum Approximate Optimization Algorithm Using Neural Networks}},
  year = {2022},
  eprint = {2208.09888},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.09888},
}
Figure