Source-linked AI summary

Local classical MAX-CUT algorithm outperforms $p=2$ QAOA on high-girth regular graphs

Kunal Marwaha

arXiv:2101.05513v2quant-ph

TL;DR

The paper addresses limited theoretical understanding of QAOA beyond p=1 by analyzing QAOA2 for MAX-CUT on regular graphs of girth > 5. It derives a graph-size-independent performance expression and compares QAOA2 with local classical algorithms, finding that a local classical algorithm can outperform QAOA2 within this setting. The result motivates a broader conjecture about local classical algorithms matching QAOAp.

  • Problem

    QAOA’s theoretical behavior is not well understood beyond p=1, especially relative to local classical algorithms for MAX-CUT.

    Source: §1 · p. 1
  • Method

    The paper derives and optimizes a graph-size-independent QAOA2 expected-cut expression, then analyzes a 2-step threshold algorithm on D-regular graphs of girth > 5.

    Source: §1.2 · p. 2, §2 · p. 3, §3 · p. 4
  • Results

    A local classical MAX-CUT algorithm outperforms QAOA2 on every D-regular graph of girth above 5 for all D ≥ 2.

    Source: §1.2 · p. 2, §4 · p. 5
  • Takeaways & Limitations

    The findings support the conjecture that for every constant p, a local classical algorithm can perform at least as well as QAOAp on every graph.

    Source: §4 · p. 5

    The analysis and comparison are restricted primarily to regular graphs of girth above 5, and the classical threshold algorithm is not guaranteed to achieve the maximum cut fraction as its locality grows.

    Source: §3 · p. 4, §4 · pp. 5–6

Abstract

from arXiv · show

The $p$-stage Quantum Approximate Optimization Algorithm (QAOA$_p$) is a promising approach for combinatorial optimization on noisy intermediate-scale quantum (NISQ) devices, but its theoretical behavior is not well understood beyond $p=1$. We analyze QAOA$_2$ for the maximum cut problem (MAX-CUT), deriving a graph-size-independent expression for the expected cut fraction on any $D$-regular graph of girth $> 5$ (i.e. without triangles, squares, or pentagons). We show that for all degrees $D \ge 2$ and every $D$-regular graph $G$ of girth $> 5$, QAOA$_2$ has a larger expected cut fraction than QAOA$_1$ on $G$. However, we also show that there exists a $2$-local randomized classical algorithm $A$ such that $A$ has a larger expected cut fraction than QAOA$_2$ on all $G$. This supports our conjecture that for every constant $p$, there exists a local classical MAX-CUT algorithm that performs as well as QAOA$_p$ on all graphs.

1 Introduction

The paper asks whether a local classical algorithm can match QAOA on every graph and answers positively for QAOA2 on regular graphs of girth above 5. It derives a graph-size-independent QAOA2 expression and shows a 2-local classical algorithm outperforms it on these graphs.

1.1 Related work

  • Earlier work found that optimized threshold algorithms can outperform QAOA1 on triangle-free regular graphs, revising the comparison with local classical baselines.Source: §1.1 · p. 2
  • QAOA2 has few established performance results, with prior analyses largely restricted to QAOA1, 2-regular graphs, or 3-regular graphs.Source: §1.1 · p. 2

1.2 Our results

  • A 2-local classical MAX-CUT algorithm outperforms QAOA2 on every D-regular graph of girth above 5 for all D ≥ 2.The construction combines the 2-step threshold algorithm with a family of 2-local algorithms, covering the remaining degree choices.Source: §1.2 · p. 2
  • The paper derives a graph-size-independent expression for QAOA2’s expected cut fraction on D-regular graphs of girth > 5 and numerically optimizes it for D < 500.Source: §1.2 · p. 2
  • For equal thresholds, the 2-step threshold algorithm outperforms QAOA2 for 41 < D < 500 and is expected to do so for all larger D.Source: §1.2 · p. 2
  • The girth restriction makes radius-2 neighborhoods tree-like, enabling the local analyses for QAOA2 and the 2-step threshold algorithm.Source: §1.2 · p. 2

2 QAOA2 performance on MAX-CUT

The paper analyzes QAOA2 on regular high-girth graphs by reducing its local edge-cut probability to a graph-size-independent formula. This enables parameter optimization and comparison across degrees.

  • QAOA is implemented with |V| qubits, mixing and problem Hamiltonians, 2p parameters, alternating unitaries, and measurement in the problem-Hamiltonian eigenbasis.Source: §2 · pp. 2–3
  • QAOA2’s edge-cut probability depends only on the radius-2 neighborhood, so identical local neighborhoods yield a graph-wide expected cut fraction.Source: §2 · p. 3
  • For D-regular graphs of girth > 5, the theorem gives an explicit expected-cut expression in the QAOA2 parameters and degree D.Source: §2 · p. 3
  • The resulting formula is independent of graph size and Hilbert-space dimension and does not require evaluating a trace.Source: §2 · p. 3
  • Numerical optimization for 2 ≤ D < 500 shows QAOA2 outperforming optimal QAOA1 and the cited 1-local classical algorithms in all cases.Source: §2 · p. 3

3 Local classical algorithms

The paper generalizes the threshold algorithm to multiple local steps and derives the 2-step algorithm’s performance on high-girth regular graphs. The resulting classical algorithm outperforms QAOA2 for all studied degrees below 500 and is expected to do so for larger degrees.

3 Local classical algorithms

  • The 2-step threshold algorithm applies thresholds τ1 and τ2 sequentially, extending the 1-step threshold algorithm to an n-step, n-local procedure.Each step flips vertices whose spin agrees with at least the specified threshold fraction of neighbors.Source: §3 · p. 4
  • For graphs of girth > 5, the algorithm’s performance is derived as a function of τ1 and τ2, with optimal equal thresholds approximately τ = D/2 + k and k ≈ 0.4.For intermediate degrees up to 500, the search over threshold pairs is restricted using this approximate optimum.Source: §3 · p. 4
  • b ≈0.417 outperforms QAOA2 for all 41 < D < 500, and the authors expect the 2-step threshold algorithm to win for all D ≥500.The performance oscillates because the threshold is a discrete parameter, although the oscillations decrease at large D.Source: §3 · p. 4
  • For D ∈[2, 3, 4, 5], modified local classical algorithms outperform QAOA2 for D = 3, 4, and 5, while a separate search is needed for D = 2.For D = 2, one construction achieves expected performance 0.3343 over random assignment, versus QAOA2’s maximum of 1/3.Source: §3 · p. 4
  • Overall, a local classical MAX-CUT algorithm has larger expected cut fraction than QAOA2 on every D-regular graph of girth > 5 for D < 500, and likely for all D.The small-degree performance values are reproduced in Appendix A.Source: §3 · p. 4

4 Discussion

The discussion compares QAOA2 with local classical algorithms and interprets their high-girth performance through locality. It also identifies regularity and high-girth assumptions as important scope constraints while conjecturing a broader classical advantage.

4 Discussion

  • The analysis derives a graph-size-independent QAOA2 expression and optimizes its parameters, with possible extensions beyond regular high-girth graphs.Removing regularity or high-girth would require handling additional graph structure and combinatorial sums.Source: §4 · pp. 4–5
  • The authors suggest that QAOA performance on high-girth graphs may reflect locality more than quantumness, and conjecture analogous p-local classical dominance for every constant p.The conjecture concerns regular graphs of girth > 2p + 1 and is also stated as a broader conjecture over all graphs.Source: §4 · p. 5
  • The study is restricted to D-regular graphs and compares graphs of girth above 5.Phantom vertices can extend the analysis to maximum-degree graphs, but the authors do not claim this construction is optimal.Source: §4 · pp. 5–6
  • At large degree, the 2-step threshold algorithm reaches b ≈0.417, exceeding QAOA2 at b ≈0.407 and the 1-step baselines.The comparison uses scaled performance defined by cut fraction 1/2 + bD^-0.5.Source: Figure 1 · p. 5, Figure 2 · p. 6
  • The authors do not expect a small number of short cycles to change the result, but note that threshold algorithms may be ineffective on highly connected graphs.Highly connected graphs are identified as a topic for future study.Source: §4 · p. 6

A Listing of performance values at small D

Table 1 compares improvement over random assignment for MAX-CUT across regular graphs of girth above 5, showing QAOA2 and the 2-step threshold algorithm against prior methods.

A Listing of performance values at small D

  • QAOA2 and the 2-step threshold algorithm outperform all previously known values at every listed degree and numerically for all D < 500.Threshold2 does not beat QAOA2 for D ∈ [2, 3, 4, 5], although a related 2-step local classical algorithm does.Source: Table 1 · p. 8

B Proof of the p = 2 QAOA formula

The proof derives the QAOA2 expected cut-fraction expression by decomposing trace contributions for D-regular graphs of girth greater than 5. Local commutation, parity, and crossover arguments reduce the terms to the stated full formula.

B Proof of the p = 2 QAOA formula

  • The derivation assumes a D-regular graph with girth > 5 and introduces trigonometric variables p, q, k, l, r, t, y, and z.These substitutions support the subsequent simplification of f2(γ1, β1, γ2, β2).Source: B Proof of the p = 2 QAOA formula · p. 9

B.2.1 Evaluating exponentials

B.2.2 Breaking apart into terms

  • Only operators on the local neighborhoods of the measured edge can fail to commute, and trace parity eliminates terms with incompatible numbers of Pauli factors.The calculation retains terms that can reduce to trace-contributing operator products.Source: §B.2.1 · p. 9, §B.2.2 · pp. 9–11, §B.3.2 · p. 12
  • The V and W sums are simplified using double-angle identities and the fact that e^{iaσx} becomes e^{ia} under the relevant trace.The resulting combinations are expressed through r, t, y, and z.Source: §B.2.2 · pp. 10–11

B.2.3 Effect of the crossover terms

  • Girth > 5 ensures each external neighbor has a unique connection into the local set, so crossover terms modify selected factors while leaving the remaining terms unchanged.The transformations are applied D − 1 times for the relevant neighboring nodes.Source: §B.2.3 · p. 11, §B.3.3 · p. 14

B.3 Calculating E

  • The E contribution is handled analogously by expanding exponentials, tracking sign flips, and retaining only combinations whose Pauli products can contribute nonzero trace.The calculation treats local and crossover terms separately.Source: §B.3.2 · p. 13

B.4 Full expression

  • The full expression combines the A, B1, B2, and E contributions into the graph-size-independent QAOA2 formula.The proof concludes after substituting the simplified terms into the expected cut-fraction expression.Source: §B.4 · p. 14

C Correctness tests of the p = 2 QAOA formula

The correctness tests recover known QAOA1 formulas when either QAOA2 layer is removed and verify agreement with the established ring expression for D = 2.

C Correctness tests of the p = 2 QAOA formula

  • The tests impose restrictions on D and the input parameters to recover previously known expressions from the derived QAOA2 formula.These checks assess consistency rather than introducing new performance results.Source: C Correctness tests of the p = 2 QAOA… · p. 15

C.1 Simplification to p = 1 formula

  • Setting γ1 = β1 = 0 gives r = y = 1 and t = z = 0, reducing f2(0, 0, γ2, β2) to the p = 1 formula.The resulting expression matches Corollary 1 of [WHJR18].Source: §C.1 · p. 15
  • Under γ1 = β1 = 0, the simplified expression becomes 1/2 + sin(2β2) cos(2β2) sin(γ2) cosD−1(γ2).This is the known QAOA1 expression associated with the second layer.Source: §C.1 · p. 15
  • Setting γ2 = β2 = 0 instead gives f2(γ1, β1, 0, 0) = f1(γ1, β1).The first layer independently reproduces the corresponding QAOA1 expression.Source: §C.1 · p. 15

C.2 Simplification to the ring (D = 2)

  • The derivation defines α(γ1, β1, γ2) = (1 + r)(−mrz − ny)(my − nrz)D−1 + (1 − r)(mrz − ny)(my + nrz)D−1, then simplifies κ and f2.Source: §C.2 · p. 15
  • The resulting D = 2 expression is symbolically equal to the expression in Section IV and Appendix C of [WHJR18].The verification uses SymPy, with code made available online.Source: §C.2 · p. 15

D Analysis of the 2-step threshold algorithm

The 2-step threshold analysis evaluates local randomized threshold rules on high-girth regular graphs by calculating their edge-improvement expectation.

D Analysis of the 2-step threshold algorithm

  • The analysis follows by examining a neighborhood around an edge Eij in a (n+1)-regular graph.The local structure is used to evaluate the algorithm’s expected contribution.Source: D Analysis of the 2-step threshold… · p. 16
  • The method defines threshold functions qi(k) that output −1 when k ≥ τi and 1 otherwise for i ∈ {1, 2}.The two thresholds parameterize the 2-step local algorithm.Source: D Analysis of the 2-step threshold… · p. 16
  • For graphs of girth > 5, the expectation ⟨Zi2Zj2⟩ is calculated as −2 times the improvement over random assignment.The girth condition excludes the relevant short-cycle adjacencies in the local neighborhood.Source: D Analysis of the 2-step threshold… · p. 16

D.1 Zi, Zj initially equal

When Zi and Zj initially agree, the analysis computes updated neighbor-spin probabilities and combines threshold cases into a symmetric expression for the second-step correlation.

D.1 Zi, Zj initially equal

  • The neighbor-spin averages Z1,+ and Z1,− are computed from binomial probabilities according to whether neighbors initially agree with i or j.The corresponding probabilities p+ and p− convert these averages into probabilities of spin +1.Source: §D.1 · p. 16
  • H(k, l, r) gives the probability that l + r neighbors agree with the initial value when k/n initially agree.This quantity supplies the case weights used in the subsequent correlation calculation.Source: §D.1 · p. 16
  • The four threshold-sign cases determine whether the count contribution uses l + r or n − l − r and whether one is added when Zi1 = Zj1.Mixed signs instead subtract one because the updated spins differ.Source: §D.1 · pp. 16–17
  • Q combines the case probabilities for updates centered on i and j into the second-step correlation expression.The construction includes the corresponding H terms and updated-spin products for both endpoints.Source: §D.1 · p. 17
  • The resulting equation is symmetric under simultaneously changing both initial spins from +1 to −1.Thus the equal-initial-spin case does not depend on which common spin value the endpoints have.Source: §D.1 · p. 17

D.2 Zi, Zj initially unequal

When Zi and Zj initially differ, the update expressions are modified by the unequal initial signs, but the same second-step correlation formulas remain valid with the corresponding new neighbor-spin values.

D.2 Zi, Zj initially unequal

  • If Zj0 = −1 while its other-neighbor agreement fraction remains u/n, then Zi1,k = q1(k) and Zj1,u = −q1(u).The analogous case with Zi0 = −1 and Zj0 = 1 is obtained by symmetry.Source: §D.2 · p. 17
  • The expressions for Zi2,k, Zj2,u, and ⟨Zi2Zj2⟩ continue to hold after substituting the new values of Z1.The initial-sign exchange leaves the form of the equations unchanged.Source: §D.2 · p. 17
  • The unequal-initial-spin calculation is symmetric under exchanging which endpoint starts at −1.This identifies the two unequal-sign orientations as equivalent cases.Source: §D.2 · p. 17

D.3 All together

Because the endpoints are equally likely to initially agree or disagree, the overall spin correlation is obtained by combining the equal- and unequal-initial-spin cases.

D.3 All together

  • The initial agreement and disagreement cases occur with equal probability.This equal weighting determines how the case-specific correlations contribute to the overall result.Source: §D.3 · p. 17
  • The section uses these equally likely initial cases to state the resulting spin correlation.The displayed correlation aggregates the preceding case analysis.Source: §D.3 · p. 17
  • The final correlation is therefore an average over the two possible initial relationships between Zi and Zj.The passage frames the correlation as the consequence of combining agreement and disagreement cases.Source: §D.3 · p. 17
Loading 2101.05513v2…