Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Previous task error: I/O error: I/O error: Permission denied (os error 13)
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

distance
int64
basis
string
orientation
string
rounds
int64
decoder
string
model
string
shots
int64
n_errors
int64
ler
float64
ler_per_cycle
float64
decode_seconds
float64
note
null
3
X
q10_7
1
beliefmatching
-
10,000
42
0.0042
0.0042
0.048349
null
3
X
q10_7
10
beliefmatching
-
10,000
572
0.0572
0.006038
7.177917
null
3
X
q10_7
13
beliefmatching
-
10,000
758
0.0758
0.006283
12.333607
null
3
X
q10_7
30
beliefmatching
-
10,000
1,623
0.1623
0.006498
49.637775
null
3
X
q10_7
50
beliefmatching
-
10,000
2,317
0.2317
0.006186
103.814739
null
3
X
q10_7
70
beliefmatching
-
10,000
2,889
0.2889
0.006121
157.548035
null
3
X
q2_7
1
beliefmatching
-
10,000
55
0.0055
0.0055
0.047707
null
3
X
q2_7
10
beliefmatching
-
10,000
600
0.06
0.006351
6.735189
null
3
X
q2_7
13
beliefmatching
-
10,000
808
0.0808
0.006733
10.848277
null
3
X
q2_7
30
beliefmatching
-
10,000
1,586
0.1586
0.006319
45.776521
null
3
X
q2_7
50
beliefmatching
-
10,000
2,380
0.238
0.006421
98.842008
null
3
X
q2_7
70
beliefmatching
-
10,000
3,094
0.3094
0.006842
156.765925
null
3
X
q4_5
1
beliefmatching
-
10,000
62
0.0062
0.0062
0.048464
null
3
X
q4_5
10
beliefmatching
-
10,000
756
0.0756
0.00813
8.034247
null
3
X
q4_5
13
beliefmatching
-
10,000
927
0.0927
0.007825
13.589046
null
3
X
q4_5
30
beliefmatching
-
10,000
1,876
0.1876
0.007778
51.636493
null
3
X
q4_5
50
beliefmatching
-
10,000
2,737
0.2737
0.007865
107.290095
null
3
X
q4_5
70
beliefmatching
-
10,000
3,342
0.3342
0.007823
162.040909
null
3
X
q4_9
1
beliefmatching
-
10,000
49
0.0049
0.0049
0.048903
null
3
X
q4_9
10
beliefmatching
-
10,000
704
0.0704
0.00753
7.09192
null
3
X
q4_9
13
beliefmatching
-
10,000
842
0.0842
0.007042
11.900012
null
3
X
q4_9
30
beliefmatching
-
10,000
1,934
0.1934
0.008085
49.283903
null
3
X
q4_9
50
beliefmatching
-
10,000
2,897
0.2897
0.008586
105.98059
null
3
X
q4_9
70
beliefmatching
-
10,000
3,332
0.3332
0.00778
157.756048
null
3
X
q6_11
1
beliefmatching
-
10,000
48
0.0048
0.0048
0.04687
null
3
X
q6_11
10
beliefmatching
-
10,000
675
0.0675
0.007199
7.659594
null
3
X
q6_11
13
beliefmatching
-
10,000
963
0.0963
0.008161
13.347647
null
3
X
q6_11
30
beliefmatching
-
10,000
1,851
0.1851
0.007647
51.77683
null
3
X
q6_11
50
beliefmatching
-
10,000
2,698
0.2698
0.007697
106.48836
null
3
X
q6_11
70
beliefmatching
-
10,000
3,675
0.3675
0.009396
164.788399
null
3
X
q6_3
1
beliefmatching
-
10,000
49
0.0049
0.0049
0.046353
null
3
X
q6_3
10
beliefmatching
-
10,000
574
0.0574
0.00606
6.464644
null
3
X
q6_3
13
beliefmatching
-
10,000
714
0.0714
0.005891
11.037733
null
3
X
q6_3
30
beliefmatching
-
10,000
1,803
0.1803
0.007398
50.986679
null
3
X
q6_3
50
beliefmatching
-
10,000
2,428
0.2428
0.006604
100.199046
null
3
X
q6_3
70
beliefmatching
-
10,000
3,010
0.301
0.006538
152.515683
null
3
X
q6_7
1
beliefmatching
-
10,000
249
0.0249
0.0249
0.049732
null
3
X
q6_7
10
beliefmatching
-
10,000
1,136
0.1136
0.012722
9.443818
null
3
X
q6_7
13
beliefmatching
-
10,000
1,382
0.1382
0.012289
14.998329
null
3
X
q6_7
30
beliefmatching
-
10,000
2,720
0.272
0.012918
59.962328
null
3
X
q6_7
50
beliefmatching
-
10,000
3,494
0.3494
0.011857
113.961282
null
3
X
q6_7
70
beliefmatching
-
10,000
4,387
0.4387
0.014769
171.257942
null
3
X
q8_5
1
beliefmatching
-
10,000
63
0.0063
0.0063
0.04925
null
3
X
q8_5
10
beliefmatching
-
10,000
690
0.069
0.00737
6.904319
null
3
X
q8_5
13
beliefmatching
-
10,000
908
0.0908
0.007649
11.521311
null
3
X
q8_5
30
beliefmatching
-
10,000
2,307
0.2307
0.010207
55.061408
null
3
X
q8_5
50
beliefmatching
-
10,000
2,640
0.264
0.007452
100.712627
null
3
X
q8_5
70
beliefmatching
-
10,000
3,779
0.3779
0.009969
165.094064
null
3
X
q8_9
1
beliefmatching
-
10,000
176
0.0176
0.0176
0.052693
null
3
X
q8_9
10
beliefmatching
-
10,000
1,149
0.1149
0.012886
9.734289
null
3
X
q8_9
13
beliefmatching
-
10,000
1,385
0.1385
0.012321
14.966303
null
3
X
q8_9
30
beliefmatching
-
10,000
3,173
0.3173
0.016501
65.130069
null
3
X
q8_9
50
beliefmatching
-
10,000
3,553
0.3553
0.012247
112.90552
null
3
X
q8_9
70
beliefmatching
-
10,000
4,147
0.4147
0.012473
166.998208
null
3
Z
q10_7
1
beliefmatching
-
10,000
52
0.0052
0.0052
0.04747
null
3
Z
q10_7
10
beliefmatching
-
10,000
675
0.0675
0.007199
7.396934
null
3
Z
q10_7
13
beliefmatching
-
10,000
793
0.0793
0.006598
12.159958
null
3
Z
q10_7
30
beliefmatching
-
10,000
1,654
0.1654
0.00665
49.198008
null
3
Z
q10_7
50
beliefmatching
-
10,000
2,550
0.255
0.007083
102.603639
null
3
Z
q10_7
70
beliefmatching
-
10,000
3,365
0.3365
0.007921
159.767535
null
3
Z
q2_7
1
beliefmatching
-
10,000
55
0.0055
0.0055
0.0481
null
3
Z
q2_7
10
beliefmatching
-
10,000
578
0.0578
0.006105
6.463011
null
3
Z
q2_7
13
beliefmatching
-
10,000
755
0.0755
0.006257
10.661207
null
3
Z
q2_7
30
beliefmatching
-
10,000
1,578
0.1578
0.00628
46.681727
null
3
Z
q2_7
50
beliefmatching
-
10,000
2,340
0.234
0.006271
96.452605
null
3
Z
q2_7
70
beliefmatching
-
10,000
2,907
0.2907
0.006182
155.694712
null
3
Z
q4_5
1
beliefmatching
-
10,000
46
0.0046
0.0046
0.046779
null
3
Z
q4_5
10
beliefmatching
-
10,000
613
0.0613
0.006497
7.827636
null
3
Z
q4_5
13
beliefmatching
-
10,000
808
0.0808
0.006733
12.689016
null
3
Z
q4_5
30
beliefmatching
-
10,000
1,589
0.1589
0.006333
51.151947
null
3
Z
q4_5
50
beliefmatching
-
10,000
2,440
0.244
0.00665
105.561013
null
3
Z
q4_5
70
beliefmatching
-
10,000
2,984
0.2984
0.006446
161.051599
null
3
Z
q4_9
1
beliefmatching
-
10,000
44
0.0044
0.0044
0.047322
null
3
Z
q4_9
10
beliefmatching
-
10,000
624
0.0624
0.006621
7.196097
null
3
Z
q4_9
13
beliefmatching
-
10,000
811
0.0811
0.006761
11.973564
null
3
Z
q4_9
30
beliefmatching
-
10,000
1,796
0.1796
0.007363
48.15287
null
3
Z
q4_9
50
beliefmatching
-
10,000
2,470
0.247
0.006766
101.54141
null
3
Z
q4_9
70
beliefmatching
-
10,000
3,079
0.3079
0.006786
184.916528
null
3
Z
q6_11
1
beliefmatching
-
10,000
48
0.0048
0.0048
0.047431
null
3
Z
q6_11
10
beliefmatching
-
10,000
758
0.0758
0.008153
8.149337
null
3
Z
q6_11
13
beliefmatching
-
10,000
950
0.095
0.008039
12.911924
null
3
Z
q6_11
30
beliefmatching
-
10,000
2,004
0.2004
0.008464
53.942642
null
3
Z
q6_11
50
beliefmatching
-
10,000
2,937
0.2937
0.008775
109.769095
null
3
Z
q6_11
70
beliefmatching
-
10,000
3,469
0.3469
0.008383
164.141054
null
3
Z
q6_3
1
beliefmatching
-
10,000
27
0.0027
0.0027
0.046108
null
3
Z
q6_3
10
beliefmatching
-
10,000
515
0.0515
0.005406
6.654273
null
3
Z
q6_3
13
beliefmatching
-
10,000
785
0.0785
0.006526
11.232486
null
3
Z
q6_3
30
beliefmatching
-
10,000
1,903
0.1903
0.00792
49.399374
null
3
Z
q6_3
50
beliefmatching
-
10,000
2,244
0.2244
0.005921
99.267166
null
3
Z
q6_3
70
beliefmatching
-
10,000
2,889
0.2889
0.006121
155.041736
null
3
Z
q6_7
1
beliefmatching
-
10,000
70
0.007
0.007
0.049061
null
3
Z
q6_7
10
beliefmatching
-
10,000
872
0.0872
0.009491
8.943501
null
3
Z
q6_7
13
beliefmatching
-
10,000
1,006
0.1006
0.008566
14.555084
null
3
Z
q6_7
30
beliefmatching
-
10,000
2,275
0.2275
0.010015
61.342529
null
3
Z
q6_7
50
beliefmatching
-
10,000
3,027
0.3027
0.009213
115.158752
null
3
Z
q6_7
70
beliefmatching
-
10,000
3,787
0.3787
0.010015
168.889265
null
3
Z
q8_5
1
beliefmatching
-
10,000
25
0.0025
0.0025
0.047048
null
3
Z
q8_5
10
beliefmatching
-
10,000
609
0.0609
0.006452
6.956719
null
3
Z
q8_5
13
beliefmatching
-
10,000
724
0.0724
0.00598
11.614332
null
3
Z
q8_5
30
beliefmatching
-
10,000
2,842
0.2842
0.01381
56.088435
null
End of preview.

Ising sim2real — Decoder Benchmark Results

Evaluation results for a panel of open surface-code decoders run on real Google Willow hardware data and on synthetic circuit-level noise of rising fidelity. The question these results answer: does the cheap synthetic benchmark predict the real-hardware result?

This repo holds the outputs (LERs, per-shot outcomes, fitted noise models, figures). The inputs — ingested Willow detection events, circuits, and shipped DEMs — live in ShayManor/willow-surface-code-detection-events.

The core idea

Decoder papers benchmark on synthetic circuit-level noise, then report a winner. Real hardware carries leakage, crosstalk, drift, soft readout, and rare high-energy events that no Pauli simulator produces. So: rows = data sources, columns = decoders, cell = that decoder's logical error rate (LER). Rows are ordered by how close the synthetic noise is to the device:

rung what it is
uniform uniform depolarizing noise
si1000 the standard SI1000 circuit-level noise model
fit a 25-parameter circuit-level model fitted to the device
syndrome a DEM estimated directly from syndromes (arXiv:2606.11496)
real real Willow data — the reference every synthetic rung is scored against, not a rung

Same circuit on every rung; only the noise model used to simulate detection events changes.

Decoder panel: mwpm (PyMatching), mwpm-rl (real only — uses the shipped RL-optimized DEM), tesseract, bposd, bplsd, beliefmatching, and ising (NVIDIA's Ising pre-decoder in front of PyMatching, model column = fast R=9 or accurate R=13).

Data: rotated surface code, distances 3/5/7, X and Z memory, 14 code patches, round counts r1–r250. Real source: Google Willow below-threshold dataset (10.5281/zenodo.13273331).

Quick start

from datasets import load_dataset

ladder = load_dataset("ShayManor/ising-sim2real-results", "ladder")
real = ladder["real"].to_pandas()

Or straight from the CSVs, which is usually what you want for analysis:

import pandas as pd

rungs = ["willow_real", "willow_synth_uniform", "willow_synth_si1000",
         "willow_synth_fit", "willow_synth_syndrome"]
df = pd.concat([
    pd.read_csv(f"hf://datasets/ShayManor/ising-sim2real-results/results/{r}/eval_all.csv")
      .assign(source=r.replace("willow_", ""))
    for r in rungs
])

# Decoder ranking per source, at matched distance/rounds:
cell = df.query("distance == 7 and rounds == 30")
cell.groupby(["source", "decoder"]).ler_per_cycle.mean().unstack()

Schema

Every eval_all.csv (and every per-config shard) uses one schema, so any two are directly comparable. One row = one (config x decoder).

column meaning
distance code distance d (3, 5, 7)
basis X or Z memory
orientation code patch label on the chip (e.g. q6_7)
rounds number of QEC cycles
decoder mwpm, mwpm-rl, tesseract, bposd, bplsd, beliefmatching, ising
model Ising model variant (fast / accurate), else -
shots shots decoded
n_errors raw logical-error count — makes LER exact and enables binomial bootstrap
ler logical error rate = n_errors / shots
ler_per_cycle LER normalized per QEC cycle — the comparable number across round counts
decode_seconds wall-clock decode time (latency analysis)
note e.g. skipped: rounds<2, or Ising's R=9,rot=XV

ler is nan where a config was skipped (see note). Compare ler_per_cycle, not ler, unless you have matched rounds.

Layout

results/
  willow_real/            REAL Willow row — the reference.  (+ outcomes/, 492 npz)
  willow_synth_uniform/   ladder rung: uniform depolarizing   (+ outcomes/, 446 npz)
  willow_synth_si1000/    ladder rung: SI1000                 (+ outcomes/, 448 npz)
  willow_synth_fit/       ladder rung: 25-param fitted        (+ outcomes/, 448 npz)
  willow_synth_syndrome/  ladder rung: syndrome-estimated DEM (+ outcomes/, 448 npz)
  ladder.png              the central deliverable figure

  willow_real_evalset/       REAL Willow, extended long-round tail (r110-r250)  (+ outcomes/, 178 npz)
  willow_synth_fit_evalset/  FIT rung, extended/held-out run (r1-r250)          (+ outcomes/, 474 npz)

  fitted_noise_models/    the 25-param fits, one JSON per patch (d{D}_q{loc}.json)

  sensitivity/            RQ3: per-parameter sweep, each of 23 params overestimated 2x
    baseline/             unperturbed fitted model, for comparison
    p_<param>/            one dir per perturbed parameter
    models/ models_under/ the perturbed noise models themselves
    sensitivity.png
  sensitivity_under/      same sweep, 0.5x UNDERestimate
  sensitivity_r10/        same sweep at r10
  sensitivity_r50/        same sweep at r50
  twobytwo/               2x2 decomposition: S-<sampled>__P-<prior> separates
                          "wrong noise sampled" from "wrong prior given to decoder"

  bootstrap/              correlated-perturbation eval, 40 refit draws (draw_00..draw_39)
    eval/draw_NN/         each draw's full panel eval
    models/draw_NN/       each draw's refitted noise models
    covariance.png

  t4_checkpoints/         pre-decoder finetune checkpoints (see "negative result" below)
  t4_ladder.png

outcomes/*.npz are bit-packed per-shot logical-error indicators, keyed d{D}|{basis}|{patch}|r{rounds}|{decoder}|n{shots} (Ising's fast/accurate variant is in the filename, not the key). Unpack with np.unpackbits(arr)[:n]; the sum equals that row's n_errors. All five rungs ship outcomes/, so a joint / rank bootstrap against real data is reproducible from this repo — not just a per-cell binomial one. Verified end-to-end: for every rung and every decoder, the unpacked per-shot sum equals the published eval_all.csv n_errors (1790/1790 keys on the real row, 0 mismatches; both *_evalset dirs also 0 mismatches against their own merged CSV).

The *_evalset dirs

willow_real_evalset/ and willow_synth_fit_evalset/ are separate eval campaigns, kept out of the main rungs on purpose — they use different shot counts (5,000 / 20,000, not 50,000) and mostly cover the long-round tail (r110–r250) that the main run doesn't decode. Same 12-column schema, own merged eval_all.csv, own outcomes/. Do not concatenate them into willow_real / willow_synth_fit: willow_real_evalset is entirely new (distance, decoder, round) cells, but willow_synth_fit_evalset overlaps the fit rung on some cells with different shot counts, so a blind merge would put two logical-error counts on one cell. Use them for long-round scaling curves; use the main rungs for the ladder ranking.

What the data shows

Headline numbers, so you know what you're looking at. Kendall tau between each rung's decoder ranking and real Willow's:

rung d3 d5 d7
uniform 0.619 (p=.07) 0.714 (p=.03) 0.733 (p=.06)
si1000 0.905 0.905 1.000
fit 0.905 0.905 0.810
syndrome 1.000 0.905 0.905
  1. Uniform depolarizing noise is a clear, often not-significant outlier. Any circuit-level structure (si1000/fit/syndrome) lifts agreement to tau >= 0.81. The fix is "have a real circuit," not necessarily "fit the noise precisely."
  2. The ladder is not monotonic — the more interesting result. At d7, generic si1000 (tau=1.000) beats both data-calibrated rungs despite being ~70x off in absolute LER. Fit/syndrome get the magnitude right and lose the rank check. Root cause: d7 has only 1 real patch, so fit/syndrome are weakly conditioned — estimation ill-conditioning, not a ladder-design flaw.
  3. The flip is always the same pair: mwpm <-> bposd/bplsd (near-tied mid-pack). tesseract and beliefmatching show zero rank drift anywhere.
  4. RQ3: rankings are robust. Overestimating any single noise parameter 2x causes at most one adjacent swap (tau >= 0.80); 10/23 params cause zero reordering. Only Y-containing / off-diagonal Pauli channels (p_idle_spam_Y, p_idle_cnot_Y, p_cnot_ZY) move anything; diagonal / dephasing channels including p_meas_Z are inert.
  5. RQ4: Ising loses to classical MWPM on real hardware by ~3x per-cycle at d7 (Z: 0.0121 vs 0.0038 at r70), while matching or beating MWPM on synthetic data. A genuine sim2real gap, not a bug — the signature is a round-independent error floor that synthetic data lacks. One caveat remains open: the Willow XZZX -> CSS mapping could produce a similar fixed offset.
  6. Negative result (t4_checkpoints/): a same-size pre-decoder finetuned via device-distillation does not beat stock NVIDIA Ising (0.0184 vs 0.0164). Structural — the observable isn't a function of the syndrome alone.

Caveats — read before drawing conclusions

  • The top-level results/*.csv files are STALE and should not be used. classical_d{3,5}_*.csv, ising_*_d{3,5}_*.csv are from Jun 28 2026, before a pipeline bug was fixed, and report Ising near chance (d3/Z ising_fast LER=0.371 vs the correct 0.128). They also predate the n_errors column (11 cols, not 12). They're kept only for provenance. Use willow_real/ and the willow_synth_*/ rungs, which were all re-run on the fixed pipeline.
  • Shot counts vary by decoder on the real row. Most decoders decode 50,000 shots; beliefmatching decodes 10,000. Both the CSV n_errors and the outcomes/ npz reflect this consistently (the npz key self-encodes n{shots}), but a joint per-shot bootstrap across decoders must align on the common shot count (10,000) or handle beliefmatching separately.
  • bplsd has no shard at uniform/d7 (a 446-vs-448 coverage gap), so that cell's tau is computed over 6 shared decoders rather than 7 and is not strictly comparable to the d3/d5 numbers beside it. This is why uniform's tau appears to improve with distance.
  • The sweep CSVs do not name their own perturbation. Every eval_all.csv under sensitivity*/, twobytwo/, and bootstrap/eval/ uses the same 12 columns with no column identifying which parameter was perturbed (or which draw it is) — the directory name is the only carrier. So don't blind-glob them together; tag as you load:
    import glob, pandas as pd
    sens = pd.concat([
        pd.read_csv(f).assign(param=f.split("/")[-2])
        for f in glob.glob("results/sensitivity/*/eval_all.csv")
    ])   # compare param="baseline" against each perturbed param
    
    This is also why only the ladder config is declared for the dataset viewer: there, the split name carries the rung, so nothing is lost.
  • Match your comparisons. Rungs are only comparable at matched (distance, basis, rounds) and matched-prior decoding (each rung decodes with the DEM it sampled from). The headline table uses rounds 2–30.
  • mwpm-rl exists only on real (no synthetic rung has an RL-optimized DEM), so exclude it from cross-rung comparisons.
  • Always report code distance d alongside the Ising receptive field R (in note). The public Ising models were trained for larger R than d=3/5/7.

Reproducing

Harness: github.com/ShayManor/Ising-sim2real. Jobs produce raw data only; all statistics (Kendall tau, Spearman, bootstrap CIs) are computed locally from these CSVs via scripts/build_ladder.py, scripts/build_sensitivity.py, scripts/build_bootstrap.py, scripts/build_2x2.py, and scripts/build_selection.py.

Downloads last month
1,694

Paper for ShayManor/ising-sim2real-results