← Atlas

Basic circuits · QAOA / MaxCut

QAOA ring layer benchmark · 16 qubits

A fixed-angle p=1 MaxCut-style QAOA layer on a cycle graph, including cost and mixer blocks.

Strong empiricalUpdated

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
  • Steps80
  • Wires16
  • Qubits16
  • Operations80
  • Framework exports7
  • Papers1
Takes16 qubitsassumed |0…0⟩What joins here

Takes a 16-qubit register, and this entry's published behaviour was measured from |0…0⟩. Putting another stage in front is a defined circuit and is no longer the thing this entry measured — the results on this page were not produced that way.

Nothing in the Atlas meets this end.

Returns16 classical bitsWhat joins here

Returns 16 classical bits. Nothing in this catalogue takes classical bits, so this end closes a pipeline rather than continuing one — what is worth having here is the measurement, not a register to pass on.

Nothing in the Atlas meets this end.

A whole program rather than a stage: it begins on |0…0⟩ and ends by measuring every qubit, so what it returns is classical bits. Nothing in this catalogue takes classical bits, so nothing follows it. See all 30 →

References

Strong empirical
  • Verified by construction
  • Peer-reviewed paper
Method
Deterministic portable-gate construction plus catalog schema validation
Result
Pass · 16 qubits and 80 pre-measurement operations emit non-empty Qiskit, PennyLane, Cirq, CUDA-Q, Amazon Braket, OpenQASM 3.0, and PyQuil source.
Caveat
This is a parameterized Leona Quantum benchmark scaffold informed by the cited suite, not an upstream benchmark file or a hardware result.
MQT Bench: Benchmarking Software and Design Automation Tools for Quantum Computing ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata; Leona Quantum-authored scaffold
QAOAMaxCutcycle graph16 qubitsseven-framework export

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