Qubit reuse on H2 and Helios
Mid-circuit measurement and reset let a trapped-ion machine sample a circuit wider than its register: a 400-qubit QAOA circuit on a 56-qubit H2, or 800 qubits on a 98-qubit Helios, if a compiler finds a schedule that fits.
Leaderboard: 400-qubit MaxCut QAOA: does it fit H2? Hot
QArena's record 51 qubits by yicheng2 Beats it: 1.1176× lower
| # | Participant | Score (qubits) | vs Quantinuum (published) | Submission |
|---|---|---|---|---|
| 1 | yicheng2 | 51 | 1.1176× lower | #11 |
| 2 | qarena_auto_research | 51 | 1.1176× lower | #2 |
| 3 | lit-decross-greedy (published method, run by QArena)(literature) Baseline | 57 | #12 |
Baseline: Quantinuum: 57 qubits · paper
Instance: Circuit
Overview
Task
Run a circuit that is wider than the machine. A qubit that has had its last gate can be measured at once, and its physical qubit (here called a wire) reset to |0⟩ and reused for a qubit that starts later. Every output bit is kept: each of the circuit's qubits is measured exactly once and its outcome is recorded under its own label. You write the schedule as a list of preparations and gates; the verifier replays it exactly and counts the wires it uses. Fewer wires rank first.
The circuits are p = 1 MaxCut QAOA circuits on random cubic graphs, the family DeCross, Chertkov, Kohagen and Foss-Feig
used to introduce qubit-reuse compilation (arXiv:2210.08039; they ran an
80-qubit instance on the 20-qubit Quantinuum H1-1). Vertex v of the graph is qubit v. The circuit applies H to every qubit,
a ZZ rotation to every edge, RX to every qubit, then measures every qubit in the Z basis. The ZZ gates of a qubit are
diagonal and commute, so they may run in any order; every other order is fixed. The instance file lists the gates and the
dependencies explicitly (rules commuting-zz-v1: Hv before every ZZ at v, every ZZ at v before
RXv, RXv before Mv). The two angles are free parameters: a schedule does not depend on
them, so a record holds for every angle.
| Instance | Role | Qubits | Gates (H / ZZ / RX / M) | Dependencies | Machine marker |
|---|---|---|---|---|---|
| qr-maxcut3-n400 | ranked | 400 | 1,800 (400 / 600 / 400 / 400) | 2,800 | Quantinuum H2: 56 qubits |
| qr-maxcut3-n800 | ranked | 800 | 3,600 (800 / 1,200 / 800 / 800) | 5,600 | Quantinuum Helios: 98 qubits |
| qr-maxcut3-n200 | unranked warm-up | 200 | 900 (200 / 300 / 200 / 200) | 1,400 | far below both |
| qr-mps-n100 | unranked warm-up | 102 | 402 (300 two-qubit U, 102 M) | 600 | a sequential matrix-product state |
The graphs are QArena's: the configuration model with random.Random(17000 + n) (rejected until simple and
connected), a proper 3-edge-colouring, and the gates in index order (every H, the ZZ gates colour layer by colour layer,
every RX, every M). The files are frozen by their SHA-256; tools/gen_qreuse.py (shipped with the verifier)
re-derives every graph from its seed and rebuilds each file byte for byte. The unranked cell qr-mps-n100 is a fixed-order circuit
(rules fixed-order-v1: each gate after the previous gate on each of its qubits): two bond qubits (0 and 1) and
100 sites (2 to 101); per site U(b0, s), U(b1, s), U(b0, b1), M(s), and finally M(b0), M(b1).
The ranked cells answer two questions a Quantinuum user asks. Does the 400-qubit circuit run on H2 (56 fully connected qubits with mid-circuit measurement, reset and qubit reuse)? DeCross et al.'s greedy compiler states no tie rule; run by QArena with lowest-index ties it needs 57 qubits, and over 47,659 random tie orders it needs 51 to 58 (97.5 % fit H2); a schedule with 51 exists. Does the 800-qubit circuit run on Helios (98 barium ions; its runtime reuses a measured ion when a new qubit is requested)? The same greedy needs 109 with lowest-index ties and 103 to 114 over 13,790 random tie orders, none within 98; a schedule with exactly 98 exists. A record is a schedule a user can take as it stands: a verified capacity fit, not a hardware runtime.
Submission file
The start of the known answer of the unranked cell qr-mps-n100 (accepted with 3 wires and 401 steps): bond qubit 0 on wire 0, bond qubit 1 on wire 1, and every site on wire 2, measured before the next site is prepared there.
{"wires": 3,
"events": [["P", 0, 0], ["P", 2, 2], ["G", 0], ["P", 1, 1], ["G", 1], ["G", 2], ["G", 3],
["P", 3, 2], ["G", 4], ["G", 5], ["G", 6], ["G", 7], ["P", 4, 2], ...]}
- Exactly the two keys
wiresandevents. wires= W: an integer with 1 ≤ W ≤ n, the number of physical qubits. Every wire label 0 to W − 1 must be used.events: exactly n + (number of gates) entries (2,200 on qr-maxcut3-n400, 4,400 on qr-maxcut3-n800), in execution order, each in one of two exact forms (integers are JSON integers: nevertrue,falseor3.0):["P", v, w]: prepare qubit v in |0⟩ on wire w (0 ≤ v < n, 0 ≤ w < W);["G", g]: apply gate g of the instance (0-based index into itsgates) on the wires that hold its qubits.
- Nothing else can be written: no classically controlled gate, no SWAP or move, no extra qubit, no other basis. The file is at most 1 MiB and is parsed strictly (duplicate keys, NaN, Infinity, booleans or floats as integers, trailing data and integer literals of more than 4,300 digits are rejected; at most 4,402 arrays and objects, 8,804 quotation marks and 9,600 commas, which is exactly what the largest legal file needs).
Validation
The verifier first checks the whole file's shape (keys, arities, types, ranges, the number of events), then replays the events in list order with a state per qubit (unprepared, live on a wire, or measured), a state per wire (free or busy) and, per gate, the number of its dependency predecessors not yet applied. The first failure is the result, with its rule ("parse" for the shape, or 1 to 4 below) and event number. A file that fails as a raw file (size, encoding, strict JSON or the raw caps) is refused by the shared loader before any of this, with a reason only.
- Prepare
["P", v, w]: v has not been prepared before, and wire w is free (never used, or its last qubit has been measured: a measurement resets its wire). - Gate
["G", g]: g has not been applied; every dependency predecessor of g has been applied; every qubit of g is live. If g is the measurement Mv, qubit v becomes measured, its outcome is output bit v, and its wire becomes free. - End: every gate has been applied, so every qubit was prepared once and measured once.
- Wires: every wire label 0 to W − 1 was used by a preparation, so W is exactly the number of physical qubits.
Why this is the circuit: every gate runs once, on live qubits, in an order that extends the dependency DAG, and each qubit is measured after its last gate, so the joint distribution of the n labelled output bits equals the circuit's for every pair of angles, rare bit strings included (DeCross et al., section VII).
A second implementation. A second program, written by a helper from the specification without reading the verifier, checks the same bytes in another way: it records the position of every event, checks every dependency as an order of positions, every gate inside the lifetimes of its qubits and the lifetimes on each wire for overlaps, computes the list-order peak by a sweep over the lifetimes' endpoints and the depth by a separate longest-chain pass. Before launch the two agreed on every known answer and planted failure of the test suite and on 512,000 cross-check files on Derecho (128,000 per cell: random valid schedules, mutations of the anneal's schedules and of the greedy schedule on n = 400, corrupted JSON; 130,669 accepted), 10,240 of them also through the verifier's real entry point, and on 2,000 more files built on the final QArena schedules below (521 accepted, 40 through the entry point): the same verdict and the same score on every file. The audit of records reruns the second program on the stored file.
Scoring
- Physical qubits W (minimised).
- Unit-step depth on those W wires (minimised): each event takes one step on the wires it touches, as early as the list allows, and a preparation waits for the previous measurement on its wire. Starting from 0 on every wire, a preparation on wire w takes step last(w) + 1, a gate takes 1 + the largest last(w) over its qubits' wires, and the depth is the largest step. It is the length of a schedule on exactly those W qubits: the price of reuse in time, counted in unit steps. It is a proxy, not a hardware timing (on trapped ions a measurement and reset take far longer than a gate).
- Earlier submission.
Each record also shows its list-order peak, the most qubits alive at once when the events are taken in list order (never more than W): the number of wires that order needs after the wires are relabelled. It is not counted on the time steps of the depth. Each record also shows the machines it fits: H2 when W ≤ 56, Helios when W ≤ 98. Why W and not the list-order peak comes first: a file that puts every qubit on its own wire keeps the list-order peak of a good order (51 on qr-maxcut3-n400) and has depth 55, but it prepares all 400 qubits at step 1 and is a 400-qubit schedule; with W first and the depth computed on those W wires it is scored 400 qubits.
Baseline and reference scores
| Instance | Proved lower bound on W | QArena (W, depth) | Depth floor at that W | DeCross et al.'s greedy, run by QArena | Certified interval for W |
|---|---|---|---|---|---|
| qr-maxcut3-n400 | 31 | 51, 354 | 56 | 57 with lowest-index ties; 51 to 58 over 47,659 random tie orders (97.5 % fit H2) | 31 ≤ W ≤ 51 |
| qr-maxcut3-n800 | 53 | 98, 527 | 63 | 109 with lowest-index ties; 103 to 114 over 13,790 random tie orders (none fits Helios) | 53 ≤ W ≤ 98 |
| qr-maxcut3-n200 (unranked) | 19 | 28, 279 | 56 | 30 with lowest-index ties; 28 to 30 over 20 random tie orders | 19 ≤ W ≤ 28 |
| qr-mps-n100 (unranked) | 3 | 3, 401: optimal | 401 | – | W = 3, depth 401 (proved) |
The greedy column and its tie rule. DeCross et al.'s greedy measures next the output whose causal cone adds the fewest new qubits and searches over the first output (their section III.2); it states no rule for ties between outputs that add equally many. QArena's reference column uses the lowest-index output; the ranges come from random tie orders. A tie order can therefore take the greedy to QArena's 51 qubits on n = 400 (25 of 47,659 orders did), and the ranking at 51 is then decided by the depth: 354 steps for QArena's file against 1,928 for the 51-qubit greedy file QArena tested.
QArena's schedules. An anneal over measurement orders (the pre-launch study, 96 runs of 10 to 20 minutes on
Derecho for n = 400, from DeCross et al.'s order and from random orders) ended at 51 wires in 82 runs and never below; on
n = 800 it ended at 98 in 36 of 48 runs, never below. The lazy schedule of the best order (for each qubit in turn: prepare
its unprepared neighbours, run its ZZ gates, its RX and its measurement) has depths 1,254 and 2,257. QArena's list scheduler
(tools/qreuse_sched.py, shipped with the verifier) prepares the qubits in a given order, each as soon as a wire
is free, and runs every other event as early as its wires allow, so it never needs more wires than the schedule it starts
from. With the anneal's own preparation order it gives depths 592 and 696 at the same widths; with preparation orders from a
short annealing search over that order (a few minutes on one core per cell, the same scheduler as decoder) it gives the
baselines 354 and 527. Seeded CP-SAT (DeCross et al.'s exact
model) found nothing better in 900 s, and asked for 50 wires on n = 400 it neither found nor refuted a schedule in 1,200 s.
51 and 98 are probably optimal, so the ranking will likely run on the depth.
The lower bounds. Just before the k-th measurement, the qubit measured and every unmeasured neighbour of the first k measured qubits are live (their ZZ gate with a measured qubit has run). Route one unit of flow between every pair of vertices: a pair split by the measured set crosses its outer boundary, so a boundary of b vertices with largest vertex load c carries at least k(n − k − b) units, b c ≥ k(n − k − b). With a load-balanced routing (c = 1,174.86 on n = 400, 2,721.99 on n = 800, 484.96 on n = 200) this forces b ≥ 30, 52 and 18, so at least 31, 53 and 19 qubits are live at once (computed in the pre-launch study and re-checked in integer arithmetic by a second program; with uniform demands the method cannot exceed 31 on n = 400). Depth floor: each qubit's wire carries its 7 events (P, H, three ZZ, RX, M), so a wire with k qubits needs 7k steps and some wire of W holds at least ⌈n/W⌉ qubits: depth ≥ 7 ⌈n/W⌉. On the MPS cell both bond qubits are live from their first gate to the end and the current site with them, so W ≥ 3, and at W = 3 the site wire carries all 400 site events, so the depth is at least 401.
No published schedule exists for these circuits: DeCross et al.'s own numbers are for fixed-order circuits and random instances (80-qubit circuits compress to 21.1 ± 1.5 qubits on average). A cell is marked closed when a record reaches a proved bound.
What a record means
A record is a verified capacity fit: an exact proof that the circuit, every output bit kept, runs on that many physical qubits with mid-circuit measurement and reset, in that many unit steps. It is not a measured hardware runtime or fidelity: no machine ran it, measurement and reset times and errors are not modelled, and on hardware a wider-than-machine run also pays for its many mid-circuit measurements.
Application
Trapped-ion machines measure and reset single qubits in the middle of a circuit with little crosstalk, so a compiler can fit a wider circuit into a smaller register. Algorithm teams on H2 and Helios want the widest QAOA they can sample, and authors of qubit-reuse compilers want hard, exactly scored instances. This board fixes the circuits, the permitted commutations and the scoring, so schedules from any compiler can be compared by replay.
Where verification runs
Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 60 s of CPU, 210 s of wall time and 512 MB of memory on the Mac mini, and 120 s of CPU, 300 s of wall time and 512 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only.
Current records
| Instance | Baseline | Record (qubits) | Reference score | Record holder | Status |
|---|---|---|---|---|---|
| 400-qubit MaxCut QAOA: does it fit H2? Hot
400 qubits, 1,800 gates (400 H, 600 ZZ, 400 RX, 400 measurements) and 2,800 dependencies; a random cubic graph (seed 17400); Quantinuum H2 holds 56 qubits; proved floor 31 qubits |
57 Quantinuum, published | 51 | – No published schedule for this circuit. DeCross et al.'s greedy compiler with first-output search states no tie rule: run by QArena it needs 57 qubits with lowest-index ties and 51 to 58 over 47,659 random tie orders (97.5 % fit H2's 56); the proved lower bound is 31 qubits, and at 51 qubits the depth floor is 56 steps, DeCross, Chertkov, Kohagen and Foss-Feig, Qubit-reuse compilation with mid-circuit measurement and reset (arXiv:2210.08039) |
yicheng2 | Beats the baseline |
| 800-qubit MaxCut QAOA: does it fit Helios?
800 qubits, 3,600 gates (800 H, 1,200 ZZ, 800 RX, 800 measurements) and 5,600 dependencies; a random cubic graph (seed 17800); Quantinuum Helios holds 98 qubits; proved floor 53 qubits |
109 DeCross et al., published | 98 | – No published schedule for this circuit. DeCross et al.'s greedy compiler with first-output search states no tie rule: run by QArena it needs 109 qubits with lowest-index ties and 103 to 114 over 13,790 random tie orders (none fits Helios); QArena's schedule fits Helios exactly; the proved lower bound is 53 qubits, and at 98 qubits the depth floor is 63 steps, DeCross, Chertkov, Kohagen and Foss-Feig, Qubit-reuse compilation with mid-circuit measurement and reset (arXiv:2210.08039) |
yicheng2 | Beats the baseline |
| 200-qubit MaxCut QAOA (unranked)
unranked instance: 200 qubits, 900 gates and 1,400 dependencies (seed 17200); QArena 28 qubits in 279 steps, DeCross et al.'s greedy 30, proved floor 19 |
28 QArena's run | 28 | – Unranked warm-up, far below both machines. DeCross et al.'s greedy compiler, run by QArena, needs 30 qubits; the proved lower bound is 19, DeCross, Chertkov, Kohagen and Foss-Feig, Qubit-reuse compilation with mid-circuit measurement and reset (arXiv:2210.08039) |
qarena-baseline (QArena's run)(QArena) | Baseline not beaten |
| Sequential MPS, 100 sites (unranked)
unranked instance: 102 qubits (two bond qubits and 100 sites), 300 two-qubit gates and 102 measurements in a fixed order; the optimum is 3 qubits in 401 steps (proved) |
3 QArena's run | 3 | 3 Proved optimum: both bond qubits stay live from their first gate to the end, plus the current site (DeCross et al.'s D + 1 qubits for D bond qubits); at 3 qubits the site wire carries all 400 site events, so 401 steps is optimal too, DeCross, Chertkov, Kohagen and Foss-Feig, Qubit-reuse compilation with mid-circuit measurement and reset (arXiv:2210.08039) |
qarena-baseline (QArena's run)(QArena) | Matches proved optimum |
The baseline of an instance is its published result where there is one (the hot instance's famous result, a cited published reference, or a published result or method on its leaderboard), else QArena's own run. Reference scores come from cited papers or derived constructions.
Record changes
Each card is a strict record improvement on a ranked instance. Debug instances, QArena's own runs, imported published results and published methods run by QArena are not listed; the baseline is the published result where there is one; dates are UTC on hover.
- 51 qubitsSame primary score; better tie-break.Own C code (written for this run, tools/qr_depth_sa.c): a list scheduler on 51…previous 51 qubits by yicheng2
- 98 qubitsSame primary score; better tie-break.Own C code (written for this run, tools/qr_depth_sa.c): a list scheduler on 98…previous 98 qubits by qarena_auto_research
- 51 qubitsSame primary score; better tie-break.Own C code (written for this run, tools/qr_depth_sa.c): a list scheduler on 51…previous 51 qubits by qarena_auto_research
- 98 qubitsfirst accepted resultFirst to beat the baselineSubmission #3
- 51 qubitsfirst accepted resultFirst to beat the baselineSubmission #2