Archived BB144 results

These three figures reproduce the 22 saved records used by the Beamer results presentation: seven vanilla-BP points, seven Relay-BP points, and eight Relay-BP budget points. No simulation was rerun to create these figures. The circuit and decoding model defines the physical noise, matrix dimensions, failure classification, and plotted units.

The legacy-v1 bundle is a documentation label for these archived records. The original sweep metadata uses schema chipsldpc.bb144.v2; it does not contain a sampler-version field. The bundle retains exact CSV bytes and SHA256 identities, original decoder configurations, selected source metadata, and simulation-run summaries. The schema is written by bb144.prepare. The frozen files below identify the archived experiments; links to implementation symbols refer to the current checkout and do not establish its identity as the original experiment producer.

Saved profiles

Setting

Vanilla BP

Relay-5 probability sweep

Relay-5 budget sweep

Physical \(p\)

.001, .002, …, .007

.001, .002, …, .007

.003

Shots per point

1,000

1,000

20,000

Initial-leg cap \(T_0\)

30

80

60

Later-leg cap \(T_r\)

—

60

60

Additional legs \(R\)

—

600

0, 1, 2, 4, 8, 16, 33, 67

Solution target \(S\)

First convergence

5

5

Message magnitude bits

4, plus sign

4, plus sign

4, plus sign

Signed marginal bits

7

5

5

Root sampling seed

14412

14412

14412

The saved vanilla configuration, Relay configuration, and budget configuration are the authority for this table. RelayDefaults.q, paperQ, and paperFormat define the corresponding arithmetic profiles in the current implementation.

Each BP leg stops at convergence or its iteration cap. Relay returns the lowest-prior-score converged candidate, retaining the earlier candidate on a tie; it stops at \(S\) converged candidates or the leg limit. \(R\) counts legs after the initial leg. The probability-sweep cap is therefore \(80+600\times60=36{,}080\) iterations. The budget sweep uses

\[B=T_0+RT_r=60(R+1),\qquad R\in\{0,1,2,4,8,16,33,67\}.\]

RelayBpExperimentProfile.decoderConfig maps \(R\) to maximumLegs = R + 1; RelayBpConfig.maximumIterations computes the cap above. RelayBpDecoder.candidateWins, legDone, and targetReached implement candidate selection and early stopping. Vanilla’s corresponding stop/result branch is in VanillaBpDecoder.

Both Relay profiles use int4.2.8, coefficient scale 8, initial integer coefficient 7, later coefficients 3 through 10, and seed offset zero. The per-variable 16-bit Galois coefficient generator is deterministic and reseeds each frame. Its quantized effective \(\gamma\) values range from \(-0.25\) to \(0.625\); the configured requested interval is \([-0.24,0.66]\). These settings reference the FPGA study’s parameter profile, not equivalence to its coefficient generator or its full XZ dataset. LfsrRelayCoefficients implements frame reseeding and leg advances; RelayBpExperiment.writeConfig records the integer coefficients and requested/effective \(\gamma\) intervals.

The vanilla and Relay probability sweeps use identical saved physical input bodies, with different iteration headers. They compare complete decoder profiles: arithmetic width, budget, and stopping target also differ. The budget sweep uses a separate physical corpus; every budget within that sweep shares the same 20,000 shots.

Vanilla BP

Vanilla BP equivalent per-cycle failure across seven physical probabilities from 0.1 to 0.7 percent, with Wilson 95 percent intervals.

Vanilla scaled min-sum BP, capped at 30 iterations, with 1,000 shots at each probability. The y-axis is \(q_{\mathrm{equiv}}=1-(1-P_{\mathrm{word}})^{1/12}\). Vertical intervals are the transformed Wilson 95% intervals. All recorded failures in this saved vanilla sweep are nonconvergence failures.

The transform is implemented by report.per_qec_cycle, and the interval by report.wilson.

Relay BP

Relay-5 equivalent per-cycle failure across seven probabilities; the first two points are zero-failure upper bounds, and the five positive estimates have Wilson intervals.

Relay-5 with \(T_0=80\), \(T_r=60\), \(R=600\) and 1,000 shots per point. The y-axis has the same equivalent per-cycle definition as the vanilla figure. At \(p=.001\) and \(.002\), zero observed failures are drawn as separate downward triangles at the upper Wilson 95% bound; they are not positive estimates or connected to the estimate curve. Failure includes both nonconvergence and logical mismatches among converged outputs.

report.plot_rate separates zero counts from positive estimates. The archived documentation renderer uses the same marker rule in publish_bb144.render.

Relay iteration-budget sweep

Eight Relay-5 budget points labeled by additional-leg count R, showing word-failure probability against measured mean executed BP iterations at physical probability 0.3 percent.

Relay-5 on the BB144 Z-check sector at \(p=0.003\), \(T_r=60\), \(S=5\) and 20,000 shots per budget. Point labels give the additional relay legs \(R\). The x-axis is the mean executed iteration count, and the y-axis is word-failure probability.

budget_report.summarize computes the plotted statistics. The harness’s decoderRuntimeLimit converts each total cap to a runtime leg count; checkRelayTiming checks the executed leg/iteration counts and two-clock iteration timing.

Data, provenance, and verification scope

Bundle item

Downloads

Vanilla

CSV, decoder config, run summary

Relay

CSV, decoder config, run summary

Budget

CSV, decoder config, run summary

Dataset identity

Manifest, selected metadata, original presentation provenance

Figure identity

Rendering receipt; PNG alternatives: vanilla, Relay, budget

The saved runs have first-shot verification fixtures, but their summary/raw outputs do not provide an all-shot full-vector audit, producer receipts, a sealed experiment receipt, or a recoverable original producer-source revision. This lightweight bundle does not contain raw shots, benchmark bodies, complete sparse matrices, RTL, or simulator binaries. The manifest records the original summary CSV, decoder configuration, run summary, sweep.json, and benchmark.txt paths and hashes. It does not bind the original raw-shot CSV, RTL, or executable. Those source paths identify local archives; they are not download links or evidence of a complete release.

The historical sampler used numpy.default_rng(seed + probability_index) with sequential array draws. Corpus identity depends on probability ordering and shot count as well as the seed. The original metadata records Stim 1.16.0 but omits NumPy and other numerical-package versions. Rebuilding a current profile is a new experiment unless its actual input corpus and output records are checked against the archive. A figure checksum establishes file identity, not decoder correctness. The corresponding current implementation is bb144.prepare’s seed + index call and bb144.sample_physical’s RNG.

For new runs, bb144.prepare writes z_checks.stim only for the first probability, while writing a DEM per point. That circuit text is not a complete circuit archive for a sweep. Stim’s text serialization can round very close probability values, so retain the saved sample corpus and exact probability arguments rather than treating the printed circuit alone as the sampler’s full specification.

Check and redraw the frozen figures

From the repository root, the checker uses only the Python standard library:

python3 docs/figures/publish_bb144.py --check

It validates all 22 records against the frozen CSV hashes, profile settings, failure fractions, Wilson intervals, per-cycle transformations, R/budget mapping, and saved figure hashes. The horizontal mean intervals are preserved and hash-checked; their raw iteration samples are not in this bundle. publish_bb144.check_inputs validates the inputs and formulas; check_figures validates the renderer and image identities.

To redraw with the benchmark environment’s Matplotlib installation:

MPLCONFIGDIR=/tmp/chipsldpc-mpl .venv/bin/python docs/figures/publish_bb144.py --render
python3 docs/figures/publish_bb144.py --check

publish_bb144.main reads only the checked-in bundle and writes its SVG/PNG figures and rendering receipt. It does not prepare circuits, run decoders, or read a sibling presentation. The ordinary documentation build consumes the committed images.

For new simulations, use the BP-only, Relay-BP, and iteration-budget workflows with fresh output directories and explicit settings. The experiment runner preserves matching runs and rejects changed settings in an existing output directory. Recorded simulation-only wall times were about four minutes for vanilla, eleven hours for Relay, and 4.1 hours for the budget sweep on 16 workers. These are host execution measurements, excluding build time; they are not hardware latency or portable runtime estimates.