← Atlas

Algorithms · QAOA

QAOA-in-QAOA (QAOA²) for large-scale MaxCut

Solve large-scale Maximum Cut (MaxCut) problems on near-term quantum hardware by decomposing the graph into many subgraph problems that can be solved in parallel, and determine how such a decomposition compares to a purely classical alternative for the same task.

Attested & literatureUpdated

View frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

QAOA, p=1, MaxCut on a 4-cycle

4 qubits on a 4-cycle (edges 0-1, 1-2, 2-3, 3-0), one QAOA layer with gamma=pi/8, beta=3*pi/8.

q0q1q2q3Step 1 of 2 · Hadamard layer(4)Hadamard layer(4)Step 2 of 2 · QAOA MaxCut layerQAOA MaxCut layer

Step 1 of 2 · Hadamard layer(4)

Probability of each outcome after this step

  • 00006%
  • 00016%
  • 00106%
  • 00116%
  • 01006%
  • 01016%
  • 01106%
  • 01116%
  • 8 more outcomes50%
  1. Starts from the uniform superposition over all 16 possible cuts.

    Probability spreads from 1 outcome to 16. All 16 are equally likely.

  2. The cost layer (RZZ(2*gamma) on each of the 4 edges) rewards cuts that separate connected qubits, then the mixer (RX(2*beta) on every qubit) lets amplitude move between cuts.

    Probability moves between the same 16 outcomes. Up: 0101 6.3% → 26.6%, 1010 6.3% → 26.6%. Down: 0001 6.3% → 1.6%. This is the step that entangles the qubits: from here on no single qubit has a state of its own, only the register as a whole does.

Readout 0101 and 1010 are the two optimal cuts of a 4-cycle (alternating around the ring); at these angles measuring the register returns one of them clearly more often than any other cut.

Open in Studio
  • Record typeLiterature reference
  • Reference implementationqaoa_in_qaoa
  • Reported costNot stated by the sources read
  • Papers1

Quantum vs classical

Classical baseline

Compare QAOA with the strongest classical method for the same instance, input budget, and output metric.

Quantum claim

This reference exposes a quantum circuit pattern; it does not imply an application-level speedup without a matched benchmark.

How to compare

Report input loading, circuit depth, repetitions, classical preprocessing, post-processing, and wall-clock time together.

References

  • Hybrid Classical-Quantum Simulation of MaxCut using QAOA-in-QAOA

    Aniello Esposito, Tamuz Danzig · 2024

    Primary source: it presents an implementation of QAOA-in-QAOA (QAOA²) for large-scale MaxCut, reports large-scale simulations of up to 33 qubits, and finds that for the graphs it considers, the best choice of sub-graphs does not significantly improve results and is still outperformed by the classical Goemans-Williamson algorithm. Consult it for the decomposition procedure, the graphs and scales tested, and the numerical results the abstract summarizes but does not quote.

Attested & literature
  • Peer-reviewed paper
Method
Curation only. This record documents the algorithm a published reference implementation demonstrates, not the demonstration itself: nothing in Leona runs Qmod. The primary reference's title, authors and submission year were read from its arXiv abs page, and the complexity claim taken from a clause of that paper's abstract (The abstract of arXiv:2406.17383, the only source read for this record, states no complexity expression, no big-O bound and no formal speedup. Its scale and outcome statements are both empirical, from simulation: "Results from large-scale simulations of up to 33 qubits are presented, showing the advantage of QAOA in certain cases and the efficiency of the implementation, as well as the adequacy of the workflow in the preparation of real quantum devices." Its comparison against the classical alternative is stated for the specific graphs studied, not as a general bound: "For the considered graphs, the best choice for the sub-graphs does not significantly improve results and is still outperformed by GW." GW is fixed earlier in the same abstract as "the Goemans-Williamson (GW) algorithm as a purely classical alternative to QAOA". No qubit count is given for any single subgraph, no runtime is quoted for either the quantum or the classical route, and no scaling law is stated in the number of qubits, subgraphs, or graph size. The demonstration this record covers states no complexity bound of its own. The field is left empty on purpose rather than filled with a bound written from memory.). No circuit was constructed, simulated or run.
Result
Pass · the record's problem statement and primary reference agree with the sources named above.
Caveat
This is a literature record. No circuit was built, compiled, simulated or run for it, and no MaxCut instance was solved here; the record documents the method as its paper states it and does not reproduce or verify the demonstration, and nothing about that demonstration's files was read for this record. The paper's own abstract states that its implementation is built on the Classiq platform and run on an HPE-Cray EX supercomputer; that is a fact about the cited paper's reported method, not a description of what the pinned notebook and Qmod file in this directory contain or do, which remains unknown here. Everything the abstract reports was reached by the paper's own large-scale simulations, at whatever configurations the paper used, and none of it was repeated, rerun, or checked for this record. The up to 33 qubits figure is the largest scale the abstract reports reaching in those simulations, not a bound that holds at every scale, and it is not broken down by how many qubits any single subgraph used; the abstract quotes no runtime, no qubit count for a single QAOA call, and no gate or circuit-depth figure for either the quantum or the classical route. Both outcome statements in the abstract are comparisons from the paper's own simulated results, not proven bounds: the advantage of QAOA in certain cases is stated only for cases the paper does not enumerate in the abstract, and the finding that, for the considered graphs, the best choice of sub-graphs does not significantly improve results and is still outperformed by the classical Goemans-Williamson algorithm is a comparison against that specific classical algorithm on those specific graphs, not a general statement about QAOA versus classical MaxCut solvers. Nothing here reruns that comparison, checks which graphs were considered, or extends the finding to any other graph, solver, or scale. The abstract also mentions the adequacy of the workflow in the preparation of real quantum devices; that is preparation, and the abstract does not say the framework was executed on a quantum device, so this record does not either.
Hybrid Classical-Quantum Simulation of MaxCut using QAOA-in-QAOA ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata only; source publication terms apply
QAOAmaxcutdivide-and-conquergoemans-williamsonlarge-scale simulation

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.