← Atlas

Basic circuits · VQE ansatz benchmark

RZ-RY-CZ hardware-efficient ansatz · 16 qubits

A two-axis variational layer followed by a nearest-neighbor CZ entangling pattern.

Strong empiricalUpdated

View frozen graph

q0q1q2q3q4q5q6q7q8q9q10q11q12q13q14q15Step 1 of 47 · RZ · on q0RZStep 2 of 47 · RZ · on q1RZStep 3 of 47 · RZ · on q2RZStep 4 of 47 · RZ · on q3RZStep 5 of 47 · RZ · on q4RZStep 6 of 47 · RZ · on q5RZStep 7 of 47 · RZ · on q6RZStep 8 of 47 · RZ · on q7RZStep 9 of 47 · RZ · on q8RZStep 10 of 47 · RZ · on q9RZStep 11 of 47 · RZ · on q10RZStep 12 of 47 · RZ · on q11RZStep 13 of 47 · RZ · on q12RZStep 14 of 47 · RZ · on q13RZStep 15 of 47 · RZ · on q14RZStep 16 of 47 · RZ · on q15RZStep 17 of 47 · RY · on q0RYStep 18 of 47 · RY · on q1RYStep 19 of 47 · RY · on q2RYStep 20 of 47 · RY · on q3RYStep 21 of 47 · RY · on q4RYStep 22 of 47 · RY · on q5RYStep 23 of 47 · RY · on q6RYStep 24 of 47 · RY · on q7RYStep 25 of 47 · RY · on q8RYStep 26 of 47 · RY · on q9RYStep 27 of 47 · RY · on q10RYStep 28 of 47 · RY · on q11RYStep 29 of 47 · RY · on q12RYStep 30 of 47 · RY · on q13RYStep 31 of 47 · RY · on q14RYStep 32 of 47 · RY · on q15RYStep 33 of 47 · CZ · on q0, q1CZStep 34 of 47 · CZ · on q1, q2CZStep 35 of 47 · CZ · on q2, q3CZStep 36 of 47 · CZ · on q3, q4CZStep 37 of 47 · CZ · on q4, q5CZStep 38 of 47 · CZ · on q5, q6CZStep 39 of 47 · CZ · on q6, q7CZStep 40 of 47 · CZ · on q7, q8CZStep 41 of 47 · CZ · on q8, q9CZStep 42 of 47 · CZ · on q9, q10CZStep 43 of 47 · CZ · on q10, q11CZStep 44 of 47 · CZ · on q11, q12CZStep 45 of 47 · CZ · on q12, q13CZStep 46 of 47 · CZ · on q13, q14CZStep 47 of 47 · CZ · on q14, q15CZ

47 steps across 16 wires. Hover a step, or press play to go through them in order.

  • Steps47
  • Wires16
  • Qubits16
  • Operations47
  • Framework exports7
  • Papers1

Circuit structure

Derived from this entry's published gate sequence on every read, not authored alongside it. Depth is the longest serial run through the circuit, not the gate count: operations on disjoint qubits share a layer, and the terminal measurement is one layer of its own.

Qubits16
Depth18
Gates47
Two-qubit gates15The entangling operations — the ones hardware charges most for.
Measurements16Terminal, over every qubit.

Fault-tolerant cost

Estimated under a stated precision

This circuit's cost is dominated by arbitrary-angle rotations, which have no T-count until a synthesis precision is named. The figures below hold under the precision stated at the bottom of this panel and move with it.

Two machines, not one number

This circuit does not have a cost; it has a cost per machine, and almost all of the difference is magic-state factories — hardware bought for speed, not asked for by the circuit. Neither end below was chosen by anyone: one factory is the fewest the estimator will cost a magic-state circuit on, and the other is the crossover, derived. Only the footprint and the wall-clock move between them; everything else on this page is a property of the circuit and reads the same on both.

Smallest machine
Factories
1
Physical qubits
8,800
Runtime
6.90 ms

The fewest factories this circuit can run on at all.

Fastest useful machine
Factories
346
Physical qubits
836,800
Runtime
20.0 µs

Past this count, the reaction time binds and more factories change nothing.

Magic statesSame on both machines.
1,089

What the algorithm needs

Architecture-independent. Nothing here mentions hardware.

Logical qubits
16
T gates
1,089 (1,080 of which from rotation synthesis)
Toffoli gates
0
Serial non-Clifford depthThe one number no amount of hardware improves.
2
Clifford operations
20

Error correction

Code distanceThe smallest distance whose logical error rate clears the target across every operation in the circuit.
d = 9
Logical operations protected
1,409
Error per operation
1.00e-6 achieved · 7.10e-6 needed

Physical footprint

The layers below cost the fastest useful machine — the right-hand column above. Factories are hardware bought for speed, not for the circuit. Cost them separately from the circuit's own patches — for a small circuit they are nearly the whole figure.

Circuit qubits
6,400
Factory qubits
830,400 (346 × magic-state factories)
Total
836,800

Wall-clock

Distillation throughput
19.9 µs
Reaction-limited floor
20.0 µs — binds
Useful factory ceilingPast this count the control system's feed-forward latency binds instead, and more factories change nothing.
346

Qubits vs runtime, across hardware

Each row is one hardware set with a number of magic-state factories, and none of them is a recommendation. A combination that isn't listed was checked: it needed at least as many qubits and at least as long a runtime as a row that is.

HardwareFactoriesPhysical qubitsRuntime
gidney-2025@v2+eps=1e-0618,8006.90 ms
gidney-2025@v2+eps=1e-06211,2003.45 ms
gidney-2025@v2+eps=1e-06313,6002.30 ms
gidney-2025@v2+eps=1e-06518,4001.38 ms
gidney-2025@v2+eps=1e-06825,600863 µs
gidney-2025@v2+eps=1e-061440,000493 µs
gidney-2025@v2+eps=1e-062464,000288 µs
gidney-2025@v2+eps=1e-0641104,800168 µs
gidney-2025@v2+eps=1e-0670174,40098.6 µs
gidney-2025@v2+eps=1e-06120294,40057.5 µs
gidney-2025@v2+eps=1e-06203493,60034.0 µs
gidney-2025@v2+eps=1e-06346836,80020.0 µs

24 combinations checked

  • gidney-2025@v2+eps=1e-06: Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits (arXiv:2505.15917), which states its hardware assumptions in one place: square nearest-neighbour grid, uniform 0.1% gate error, 1 us surface-code cycle, 10 us reaction time. It also states, in its Physical Costs section, the three values this model used to invent: 2(d+1)^2 physical qubits per logical patch, magic state factories covering a 3x4 area of patches, and 8T-to-CCZ distillation, so eight T states per Toffoli. threshold and logical_error_prefactor: the logical-error form this model uses, p_L = 0.1(100p)^((d+1)/2) with a 1% threshold, is Fowler and Gidney, Low overhead quantum computation using lattice surgery (arXiv:1808.06709) — quoted as equation (10) of Litinski's A Game of Surface Codes and equation (2) of Webber et al. (arXiv:2108.12371). The paper this set is named for does not use it: it picks a distance by reading a target error rate of 1e-15 per logical qubit round off simulated suppression curves (its figure 6), which is a shape this model has no field for. routing_factor: the leading term of Litinski's data blocks in A Game of Surface Codes (Quantum 3, 128, arXiv:1808.02892) — 2n+4 tiles for the intermediate block, 2n+sqrt(8n)+1 for the fast one, both 2n to leading order. arXiv:2505.15917 lays out a fixed 7x18 compute region with three columns of workspace rather than a multiplier on the data block, which is not a shape this field can hold. The constant term is dropped, so this is optimistic by a few patches. factory_cycles_per_state: the paper's own derivation — 14.7 rounds of magic state cultivation plus six lattice-surgery layers at 2d/3 rounds each, which is 14.7 + 4d rounds per CCZ state and reproduces its stated 114.7 at its own d = 25 — divided by the eight T states a CCZ costs here. The paper then rounds 114.7 up to 150 for slack and carries 150 forward, so this model is about 24% faster at distillation than the figure the paper reports. The derivation is taken rather than the rounded figure because it is the one that states how the cost moves with the code distance, which is the whole reason this field is not a constant. One distortion follows from spreading it over eight states and is worth knowing: the paper's factory delivers a CCZ state, not a bare T state, and its two terms are not alike — the 14.7 is cultivating the eight input T states (independently confirmed here: the paper's 30000 physical qubit-rounds per cultivated T state over a 12-patch factory at d = 25 is 1.85 rounds, which is 14.7/8), while the 4d is the 8T-to-CCZ distillation on top. This model has one magic-state currency, so a circuit whose states are plain T gates — every synthesised rotation in this catalogue — is charged a share of a distillation it never performs, and is pessimistic on factory time by roughly 3.4x at d = 9. A circuit of Toffolis is charged exactly the paper's 114.7. Pessimistic is the safe direction for a machine size, and splitting the two terms needs a factory model this record does not have. rotation_t_coefficient: Ross and Selinger, Optimal ancilla-free Clifford+T approximation of z-rotations (arXiv:1403.2975) — the leading term of 3*log2(1/eps) + O(log log 1/eps) for the T-count of an ancilla-free single-qubit z-rotation synthesis, which this field carries as the coefficient in t_per_rotation. Not from arXiv:2505.15917: that paper's circuit is Toffoli-only and states no rotation synthesis convention.

Stated caveats

  • factory_count defaulted to the crossover (346); past it the control-system reaction time binds and more factories change nothing.

Computed under

gidney-2025@v2+eps=1e-06

Rotation synthesis precision
ε = 1e-6
T gates per rotation
60
Magic states per Toffoli
8
Physical error rate
1e-3
Target failure probability
1e-2

Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits (arXiv:2505.15917), which states its hardware assumptions in one place: square nearest-neighbour grid, uniform 0.1% gate error, 1 us surface-code cycle, 10 us reaction time. It also states, in its Physical Costs section, the three values this model used to invent: 2(d+1)^2 physical qubits per logical patch, magic state factories covering a 3x4 area of patches, and 8T-to-CCZ distillation, so eight T states per Toffoli. threshold and logical_error_prefactor: the logical-error form this model uses, p_L = 0.1(100p)^((d+1)/2) with a 1% threshold, is Fowler and Gidney, Low overhead quantum computation using lattice surgery (arXiv:1808.06709) — quoted as equation (10) of Litinski's A Game of Surface Codes and equation (2) of Webber et al. (arXiv:2108.12371). The paper this set is named for does not use it: it picks a distance by reading a target error rate of 1e-15 per logical qubit round off simulated suppression curves (its figure 6), which is a shape this model has no field for. routing_factor: the leading term of Litinski's data blocks in A Game of Surface Codes (Quantum 3, 128, arXiv:1808.02892) — 2n+4 tiles for the intermediate block, 2n+sqrt(8n)+1 for the fast one, both 2n to leading order. arXiv:2505.15917 lays out a fixed 7x18 compute region with three columns of workspace rather than a multiplier on the data block, which is not a shape this field can hold. The constant term is dropped, so this is optimistic by a few patches. factory_cycles_per_state: the paper's own derivation — 14.7 rounds of magic state cultivation plus six lattice-surgery layers at 2d/3 rounds each, which is 14.7 + 4d rounds per CCZ state and reproduces its stated 114.7 at its own d = 25 — divided by the eight T states a CCZ costs here. The paper then rounds 114.7 up to 150 for slack and carries 150 forward, so this model is about 24% faster at distillation than the figure the paper reports. The derivation is taken rather than the rounded figure because it is the one that states how the cost moves with the code distance, which is the whole reason this field is not a constant. One distortion follows from spreading it over eight states and is worth knowing: the paper's factory delivers a CCZ state, not a bare T state, and its two terms are not alike — the 14.7 is cultivating the eight input T states (independently confirmed here: the paper's 30000 physical qubit-rounds per cultivated T state over a 12-patch factory at d = 25 is 1.85 rounds, which is 14.7/8), while the 4d is the 8T-to-CCZ distillation on top. This model has one magic-state currency, so a circuit whose states are plain T gates — every synthesised rotation in this catalogue — is charged a share of a distillation it never performs, and is pessimistic on factory time by roughly 3.4x at d = 9. A circuit of Toffolis is charged exactly the paper's 114.7. Pessimistic is the safe direction for a machine size, and splitting the two terms needs a factory model this record does not have. rotation_t_coefficient: Ross and Selinger, Optimal ancilla-free Clifford+T approximation of z-rotations (arXiv:1403.2975) — the leading term of 3*log2(1/eps) + O(log log 1/eps) for the T-count of an ancilla-free single-qubit z-rotation synthesis, which this field carries as the coefficient in t_per_rotation. Not from arXiv:2505.15917: that paper's circuit is Toffoli-only and states no rotation synthesis convention.

Two estimates may be compared only when this identity matches. Change the precision or the hardware set and every number above is a different claim.

Import resource data

Inspect QREF v1 JSON and keep the original file. This leaves your physical estimate unchanged.

Quantum vs classical

Classical baseline

Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.

Quantum claim

The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.

How to compare

Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.

References

Strong empirical
  • Verified by construction
  • Peer-reviewed paper
Method
Deterministic portable-gate construction plus catalog schema validation
Result
Pass · 16 qubits and 47 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
VQEhardware-efficient ansatzCZ16 qubitsseven-framework export

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