Skip to main content
QUICK REVIEW

[Paper Review] Solving boolean satisfiability problems with the quantum approximate optimization algorithm

Sami Boulebnane, Ashley Montanaro|arXiv (Cornell University)|Aug 14, 2022
Quantum Computing Algorithms and ArchitectureComputer Science18 citations
TL;DR

This paper analyzes the performance of the Quantum Approximate Optimization Algorithm (QAOA) for solving random k-SAT problems, a class of hard constraint satisfaction problems. Using analytic bounds and numerical simulations, it shows that QAOA with 14 layers matches the exponential scaling of the best classical solver, WalkSATlm, for 8-SAT, and outperforms it with more layers, suggesting potential quantum advantage in this regime when fixed parameters are used.

ABSTRACT

The quantum approximate optimization algorithm (QAOA) is one of the most prominent proposed applications for near-term quantum computing. Here we study the ability of QAOA to solve hard constraint satisfaction problems, as opposed to optimization problems. We focus on the fundamental boolean satisfiability problem, in the form of random $k$-SAT. We develop analytic bounds on the average success probability of QAOA over random boolean formulae at the satisfiability threshold, as the number of variables $n$ goes to infinity. The bounds hold for fixed parameters and when $k$ is a power of 2. We complement these theoretical results with numerical results on the performance of QAOA for small $n$, showing that these match the limiting theoretical bounds closely. We then use these results to compare QAOA with leading classical solvers. In the case of random 8-SAT, we find that for around 14 ansatz layers, QAOA matches the scaling performance of the highest-performance classical solver we tested, WalkSATlm. For larger numbers of layers, QAOA outperforms WalkSATlm, with an ultimate level of advantage that is still to be determined. Our methods provide a framework for analysing the performance of QAOA for hard constraint satisfaction problems and finding further speedups over classical algorithms.

Motivation & Objective

  • To evaluate the performance of QAOA on hard constraint satisfaction problems, specifically random k-SAT, at constant depth and fixed variational parameters.
  • To develop an analytic method for estimating the average success probability of QAOA over random k-SAT instances in the infinite-size limit.
  • To benchmark QAOA's scaling behavior against leading classical solvers, particularly WalkSATlm, to assess potential quantum advantage.
  • To validate the analytic method by comparing it with empirical results from small-scale simulations and assess the optimality of empirically determined variational angles.

Proposed method

  • Derives analytic bounds on the average QAOA success probability for random k-SAT at the satisfiability threshold, valid for fixed parameters and when k is a power of 2.
  • Proposes a rigorous algorithmic implementation of the analytic method, proven correct for sufficiently small variational parameters, enabling efficient evaluation of success probability for up to p=10 layers.
  • Uses a simple empirical method—averaging success probabilities over small instances (n=12)—to estimate optimal variational parameters, which is shown to closely match the analytic predictions.
  • Employs gradient descent on the analytic formula to re-optimize parameters and assess the proximity of empirically found angles to the true optimum.
  • Performs exponential fitting on runtime data from QAOA and classical solvers to compare scaling exponents, using correlation coefficients and error estimates.
  • Applies a light-cone argument to justify the exponential decay of success probability in constant-depth QAOA, consistent with the behavior of both quantum and classical algorithms on hard instances.

Experimental results

Research questions

  • RQ1Can analytic methods accurately predict the average success probability of QAOA for random k-SAT in the infinite-size limit?
  • RQ2How does the performance of QAOA with fixed parameters compare to classical solvers like WalkSATlm in terms of exponential scaling for 8-SAT?
  • RQ3Are empirically determined variational parameters for small instances close to the optimal parameters predicted by the analytic method?
  • RQ4Does QAOA with increasing ansatz depth eventually outperform the best classical solvers in terms of runtime scaling?
  • RQ5What is the theoretical and empirical behavior of QAOA’s success probability as a function of problem size and number of layers?

Key findings

  • For 8-SAT, QAOA with 14 ansatz layers achieves an exponential scaling exponent that matches the best classical solver, WalkSATlm, in terms of runtime scaling.
  • With more than 14 layers, QAOA outperforms WalkSATlm, showing a potential quantum advantage in runtime scaling that is still to be fully quantified.
  • The analytic method for estimating success probability shows strong agreement with numerical simulations, even for moderate layer counts (up to p=10), validating its use for performance prediction.
  • Empirically determined variational parameters for small instances (n=12) are found to be within a few percent of the optimal parameters predicted by the analytic method, indicating that empirical training is highly effective.
  • The relative variation in both the success probability exponent and the variational angles during re-optimization is small (a few percent), suggesting the empirical parameters are near-optimal.
  • Classical solvers such as Glucose3, Glucose4, and MiniSat22 show similar scaling exponents (around 0.50–0.53), while WalkSATlm has the best performance with an exponent of 0.325, which QAOA matches and exceeds at higher layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.