Continuous-variable optimization with neural network quantum states

Yabin Zhang, David Gorsich, Paramsothy Jayakumar, Shravan VeerapaneniarXiv 2021 · DOI

Abstract

Inspired by proposals for continuous-variable quantum approximate optimization (CV-QAOA), we investigate the utility of continuous-variable neural network quantum states (CV-NQS) for performing continuous optimization, focusing on the ground state optimization of the classical antiferromagnetic rotor model. Numerical experiments conducted using variational Monte Carlo with CV-NQS indicate that although the non-local algorithm succeeds in finding ground states competitive with the local gradient search methods, the proposal suffers from unfavorable scaling. A number of proposed extensions are put forward which may help alleviate the scaling difficulty.

Introduction

Combinatorial optimization problems like Max-Cut—partitioning a graph's nodes to maximize the weight of edges between them—are fundamental in computer science but remain NP-hard. A common strategy is to "relax" these discrete problems into a continuous space. One such relaxation is the rotor model, where each node is represented by an angle on a circle.

While classical local search algorithms, such as Riemannian trust-region methods (e.g., the BMZ algorithm), are highly efficient, they are prone to getting stuck in local minima—suboptimal solutions that look good only in their immediate neighborhood. Quantum-inspired approaches like Continuous-Variable Quantum Approximate Optimization (CV-QAOA) aim to perform "non-local" searches to find global minima. This paper explores whether Neural Network Quantum States (NQS)—specifically using Restricted Boltzmann Machines (RBMs) to represent the wavefunction—can provide a practical framework for this non-local optimization.

Methodology

The proposed approach bridges classical optimization and quantum simulation through a multi-step pipeline:

  1. Problem Mapping: The Max-Cut problem is mapped to the energy minimization of a classical antiferromagnetic rotor model.
  2. CV-NQS Representation: An RBM represents the system's "wavefunction," defining a probability density over all possible rotor configurations.
  3. Variational Monte Carlo (VMC): The network parameters are optimized using VMC and Stochastic Reconfiguration (a natural gradient method), allowing the model to iteratively update its global probability density toward lower-energy states.
  4. Comparison Baseline: The NQS approach is compared against the BMZ algorithm, a state-of-the-art classical local search method.
Flowchart of the CV-NQS optimization pipeline, from problem mapping to the final graph cut.

Key Results and Insights

The researchers evaluated the CV-NQS approach on synthetic graphs, including a 50-node random graph (RWN50E619) and a 100-node uniform graph (UWN100E519).

The NQS approach evolves a whole probability distribution rather than a single point. Theoretically, this allows the algorithm to "tunnel" through energy barriers that trap local solvers. However, the experiments revealed a significant "scaling wall." While NQS is mathematically elegant, the Monte Carlo sampling required for gradient estimation is a massive computational bottleneck.

Performance and Initialization

On the 50-node graph, NQS found ground states competitive with BMZ but was orders of magnitude slower (~1000s vs ~1s). A critical finding was the impact of initialization. Starting from a random state is slow, but "pretraining" the NQS using the output of the classical BMZ algorithm significantly accelerates convergence.

Energy convergence comparison: NQS with random initialization vs. pretrained initialization, relative to the BMZ baseline.

As shown in the figure above, the pretrained NQS reaches lower energy states much faster, though it still struggles to significantly outperform the highly refined BMZ local solver in these specific test cases.

Limitations and Future Work

The study identifies two primary hurdles for CV-NQS:

  1. Unfavorable Scaling: Monte Carlo sampling becomes prohibitively expensive for large graphs.
  2. Normalization: The RBM architecture lacks a known normalizing constant, complicating the implementation of annealing schedules.

Future research will focus on more sophisticated sampling methods like Hamiltonian Monte Carlo, using normalized densities (Variational Neural Annealing) for better search control, and identifying problem classes where local search is guaranteed to fail, potentially giving non-local NQS a decisive advantage.

Summary updated

BibTeX
@misc{zhang2021continuous,
  author = {Yabin Zhang and David Gorsich and Paramsothy Jayakumar and Shravan Veerapaneni},
  title = {{Continuous-variable optimization with neural network quantum states}},
  year = {2021},
  eprint = {2108.03325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.03325},
}
Figure