Part 4 · Reading results · Chapter 12 · 5 min read
Limits and what next
The simulator has hard limits and one approximate model. You will be able to say which results to trust, which to treat with care, and where the project could go.
What the simulator cannot do
Each limit below comes from a line in the repository, not from a general statement about quantum computers. A backend is the machine or simulator that runs the circuits; the page asks it to measure and reset a single ancilla after each check, many times in one circuit.
IonQ runs one round only. Qollab’s IonQ route has no mid-circuit measurement or reset and takes one circuit per job, so repeated rounds on one reused ancilla cannot run there. On an IonQ backend, _mode in engine/bridge.py switches to the IonQ mode: one round, a fresh ancilla for each of the 12 checks (qubits 14 to 25, 26 in all), every qubit measured at the end, and one circuit with many shots. Nothing is injected (): IonQ’s noise model is the noise. The noise channel and you pick only set the decoders’ prior. It fits IonQ Forte 1 (29 qubits); Aria 1 (25 qubits) is too small and gets a message. 26 qubits is also why the built-in simulator keeps the reused ancilla: Qiskit’s BasicSimulator stops at 24.
IonQ results are judged against the ideal. With real noise nobody knows the error of a shot, so there is no Pauli frame and no optimal-decoder limit. A shot counts as a logical error when its decoded two-bit outcome is one the noiseless circuit never gives: for the Bell pair, anything outside 00 and 11. Errors that land on an allowed outcome go uncounted, so this is a lower bound, and a circuit whose ideal allows all four outcomes shows only the histograms.
Caps on rounds and shots. MAX_ROUNDS is 5 and MAX_SHOTS is 256, and the noise strength must be between 0 and 0.1, or the run is refused with an error. Rounds and shots above the caps are clamped to them. The reason is cost: the simulation is a full statevector, run shot by shot, because the circuits contain mid-circuit measurements. The README gives the defaults, 3 rounds and 48 shots, as taking a few seconds natively and more in the browser.
Logical gates only before encoding. Your gates act on the two input qubits, then each qubit is encoded. Preparation is not fault-tolerant: noise starts after encoding. Gates between rounds would need the decoder model to track errors moving between the two blocks. As built, the two blocks are decoded independently.
Where the model is approximate
The decoders work on a phenomenological model: data errors between rounds and measurement errors, one Pauli type per block. For SI1000 it is a rough fit. The circuit-level noise, the 2-qubit depolarizing after each CX and the hook errors that spread through those gates, is not in the decoders' model. The priors for SI1000 are for data errors and for measurement errors, a fit, not a derivation. That is why Chapter 10 shows no optimal-decoder limit for it. A real decoder with an imperfect noise model faces the same situation.
Idle noise in SI1000 is charged once per round, as if the 12 checks ran in parallel on 12 ancillas. Reusing one ancilla is only a way to stay within the qubit limit.
What next
Three directions follow from what the chapters already showed.
Bigger codes. On the Steane code Relay-BP sits within a few percent of the optimal decoder, so there is little room left to improve it. We expect Relay-BP to pull further ahead of BP on large qLDPC codes, where BP's trapping sets hurt more. The official relay-bp package is written in Rust and cannot be installed in the browser, which is why this project has its own numpy version.
Joint decoding. The page decodes X and Z separately. Chapter 10 explains why a joint decoder that uses Y correlations can beat the separate limit under depolarizing noise.
An exact circuit-level model. A detector error model derived from the circuit itself, hook errors included, would make a limit for SI1000 meaningful. This is the missing piece for an exact SI1000 limit.
To go on from here, Appendix B shows how to run the simulator and python -m engine.selfcheck yourself, and Appendix C lists the papers: the Relay-BP paper (Müller et al., arXiv:2506.01779) and the honeycomb-memory paper that defines the SI1000 noise model.
Try it in the simulator
Run SI1000 at p = 0.01 with the maximum 5 rounds and 256 shots. Look for the Optimal decoder (limit) bar: it is absent. Then switch to depolarizing at the same p and watch it appear.
Open the simulator with this setupCheck yourself
Why does IonQ run only one round?
Repeated rounds reuse one ancilla with mid-circuit measurement and reset, which Qollab’s IonQ route does not offer. With a fresh ancilla per check, one round needs 26 qubits, which fits Forte 1 but not Aria 1.
What are the largest numbers of rounds and shots the page accepts?
5 rounds and 256 shots; larger requests are clamped.
Why can’t the limit be shown for SI1000?
Its decoder priors are approximate and hook errors are not modelled, so an exact limit would describe a different model.
Sources
- IonQ documentation. OpenQASM 3 on IonQ: mid-circuit measurement is supported on some targets and not others. docs.ionq.com/api-reference/v0.4/openqasm3
Supports: mid-circuit measurement support on IonQ targets. - qiskit-ionq README. Mid-circuit measurement and reset are supported, and QPU support is “rolling out”. github.com/qiskit-community/qiskit-ionq
Supports: the state of IonQ mid-circuit measurement through the Qiskit provider. - Qiskit documentation.
BasicSimulator, which limits statevector simulation to 24 qubits. quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.providers.basic_provider.BasicSimulator
Supports: the 24-qubit statevector limit. - T. Müller, T. Alexander, M. E. Beverland, M. Bühler, B. R. Johnson, T. Maurer, D. Vandeth (2025). Improved belief propagation is sufficient for real-time decoding of quantum memory. arXiv:2506.01779. arxiv.org/abs/2506.01779
Supports: Relay-BP on larger codes. relay-bpon PyPI. Python bindings for the Rust implementation of Relay-BP (Apache 2.0). pypi.org/project/relay-bp/
Supports: the Rust implementation.- C. Gidney, M. Newman, A. Fowler, M. Broughton (2021). A fault-tolerant honeycomb memory. Quantum 5, 605. arxiv.org/abs/2108.10457
Supports: the SI1000 noise model.