Skip to content
Tushar Pandey

Paper companion

Fair Decoder Baselines and Rigorous Finite-Size Scaling for Bivariate Bicycle Codes on the Quantum Erasure Channel

Tushar Pandey

arXiv preprint, 2026 · arXiv:2603.19062

Read

This preprint asks two things about one family of quantum codes on one kind of noise: how to compare them fairly with a standard code, and where their threshold lies once the size of the codes is taken into account. A threshold is the noise level below which a larger code fails less often. This page explains the paper and lets you work its scaling fit with its own data.

The codes and the noise

Bivariate bicycle (BB) codes are quantum low-density parity-check codes introduced by Bravyi and colleagues. Each code in the family is built from two polynomials, A = x3 + y + y2 and B = y3 + x + x2, on an L × M grid, and uses N = 2LM physical qubits. The smallest code studied, at L = 12 and M = 6, is the [[144,12,12]] Gross code.

The noise is the quantum erasure channel: each qubit is erased independently with probability p, the erasure rate, and the decoder knows which qubits were erased. An erased qubit then carries an X error and a Z error, each with probability 0.5. The word error rate (WER) is the fraction of trials in which a logical error remains in either the X or the Z sector after decoding.

For one code size the paper uses the pseudo-threshold p*, the erasure rate at which the WER equals 0.10. The pseudo-threshold depends on the size; the asymptotic threshold p*∞ is what the paper extrapolates for codes of unbounded size.

What makes a baseline fair

The comparison code is the toric code, decoded by minimum-weight perfect matching (MWPM). One way to run matching on erasure noise converts p to a depolarizing rate p/2 and gives every edge the same weight, so the decoder never uses the erasure locations. The paper finds that this uninformed decoder sits at a WER of about 0.75 across p = 0.30 to 0.60 (0.65 to 0.76 in the data plotted below), which is what random guessing gives for a code with two logical qubits: 1 − (1/2)2 = 0.75. Beating that baseline says something about the decoders, not the codes.

The fair baseline gives erased qubits weight 0 and the others a large weight, so matching is forced through the known erasure locations. Both sides then use the erasure locations, and that is what the paper calls the fair comparison.

What was measured

The BB codes are decoded by BP-OSD, belief propagation followed by ordered-statistics decoding, from the bposd package, with OSD order 10, at most 50 iterations, and the erasures given to the decoder as priors. Five sizes were simulated, from N = 144 to N = 1296, with 200,000 shots per point. Each pseudo-threshold was located by an adaptive search and given a 95% confidence interval by 5,000 bootstrap resamples. The erasure-aware toric baseline used 50,000 shots per point, and its largest size was confirmed with 200,000.

Finite-size scaling (FSS) extrapolates to unbounded size from the way the curves of different sizes change near the threshold. The paper assumes WER(p, N) ≈ f[(p − p*∞) N1/ν], where ν is a critical exponent and f an unknown function. It approximates f by a cubic polynomial and fits p*∞ and ν by least squares to the data within 0.06 of each size’s pseudo-threshold. In Fig. 1(b) you can do that fit by hand.

This figure needs JavaScript. It shows the word error rate of the five BB codes against erasure rate, and how their curves fall onto one curve when the erasure rate is rescaled with the paper’s fit, p*∞ = 0.488 and ν = 1.18.

(a) Word error rate against erasure rate

(b) Scaling collapse of the points the fit uses

This figure needs JavaScript.

Fig. 1(a) Word error rate against erasure rate p for the five BB codes under BP-OSD, 200,000 shots per point, with the toric code under erasure-aware MWPM (50,000 shots per point) or uninformed MWPM (20,000 shots per point). Bars are 95% Wilson intervals; points with no failures cannot be drawn on the log axis and are left out; the dotted line marks WER = 0.10, where each pseudo-threshold is read. (b) The points within 0.06 of each size’s pseudo-threshold against (p − p*∞) N1/ν for the slider values, with the cubic polynomial fitted to them by least squares (dashed). Its residual sum of squares is the quantity the paper minimizes over p*∞ and ν; lower means a better collapse. At the unrounded values of the fit recorded in the repository this page reproduces the recorded residual. Data: results/scaling_20260115T*.csv, results/fss_prelim/fss_results.json, results/ci/threshold_ci_table.json and two results/baseline_surface_*.csv files of the paper’s repository.

Results

The pseudo-thresholds rise with size, from 0.370 at N = 144 to 0.471 at N = 1296, and the gain from N = 900 to N = 1296 is only 0.004. The FSS fit to all five sizes gives p*∞ = 0.488 ± 0.001 and ν = 1.18 ± 0.01, both 95% bootstrap intervals. The paper says the systematic errors from the ansatz and from finite-size corrections are not fully controlled; refitting with windows of 0.04 and 0.08 shifts p*∞ by ≲ 0.004, consistent with its stated systematic uncertainty of ≲ 0.005. An independent linear fit of p*(N) against N−1/ν gives 0.490 ± 0.003. The paper takes the zero-rate bound p = 0.5 as the benchmark, and 0.488 is 97.6% of it, reached with BP-OSD and without maximum-likelihood decoding.

On the fair baseline, the BB code with N = 1296 reaches p* = 0.471 against 0.460 for the toric code with N = 2592, a modest gap of about 0.011. The larger difference is overhead: the BB code uses 108 physical qubits per logical qubit and that toric code 1296, a 12× reduction in normalized overhead.

The paper also adds a mixed channel in which every qubit suffers depolarizing errors at a rate δ/ε times p on top of the erasures. There the pseudo-threshold at N = 1296 falls to about 0.247 at δ/ε = 0.1 and to about 0.072 at equal mixing (these runs use OSD order 5 and 50,000 shots).

What the paper does not claim

All results are for code capacity: there are no measurement errors and no syndrome-extraction circuits, and the paper notes that circuit-level thresholds are typically lower. The decoder settings are fixed, and other decoders may reach higher thresholds. Only one polynomial pair is studied, and other BB families may behave differently. BB codes are non-local and the toric code has periodic boundaries, so the 12× figure is a difference in code efficiency in this setting, not a universal hardware advantage. The paper does not claim universality for its scaling function, and it calls the comparison of ν ≈ 1.18 with the random-bond Ising value 4/3 suggestive, not definitive. For the mixed channel it calls the asymptotic extrapolation indicative at small δ/ε, where finite-size effects remain strong.

What you could do next

The paper leaves the value of ν and the size of corrections to scaling open, and says that settling them needs larger N. It names other polynomial families as an important direction, and says hardware-specific overhead claims would need circuit-level simulations. Every run records its seeds and package versions, and the data and scripts are in the repository, so a new decoder or code family can be tested against these numbers directly.

Cite this paper

@misc{pandey2026fair,
  author        = {Pandey, Tushar},
  title         = {Fair Decoder Baselines and Rigorous Finite-Size Scaling for Bivariate Bicycle Codes on the Quantum Erasure Channel},
  year          = {2026},
  eprint        = {2603.19062},
  archivePrefix = {arXiv},
  primaryClass  = {quant-ph},
  url           = {https://arxiv.org/abs/2603.19062}
}

T. Pandey, “Fair Decoder Baselines and Rigorous Finite-Size Scaling for Bivariate Bicycle Codes on the Quantum Erasure Channel,” arXiv:2603.19062 (2026).