sunweiwei commited on
Commit
8f5690c
·
verified ·
1 Parent(s): 5854e88

Update the dataset card

Browse files
Files changed (1) hide show
  1. README.md +47 -88
README.md CHANGED
@@ -2,7 +2,7 @@
2
  language:
3
  - en
4
  license: cc-by-4.0
5
- pretty_name: Sycamore Surface-code Decoding — AI4Sci Materialized Release
6
  size_categories:
7
  - 1M<n<10M
8
  task_categories:
@@ -12,92 +12,51 @@ tags:
12
  - surface-code
13
  - sycamore
14
  - alphaqubit
15
- - ai4science
16
  ---
17
 
18
- # Sycamore surface-code decoding: materialized benchmark
19
-
20
- Predict a logical observable flip from repeated stabilizer detection events in
21
- a noisy quantum memory. The benchmark trains decoders that improve the
22
- reliability of encoded quantum information. It uses real Sycamore hard-readout
23
- experiments at code distances 3 and 5, not simulated soft-readout d11 data.
24
-
25
- ![Scientific problem, real validation example and output](science-introduction.png)
26
-
27
- Source: [Google Quantum AI Sycamore memory experiments, Zenodo 6804040](https://zenodo.org/records/6804040),
28
- CC-BY-4.0. Scientific model reference:
29
- [Bausch et al., Learning high-accuracy error decoding for quantum processors,
30
- Nature 635, 834–840 (2024)](https://www.nature.com/articles/s41586-024-08148-8).
31
- The reference AlphaQubit implementation is an independent reproduction, not
32
- official Google code or weights, and does not reproduce the paper's headline
33
- ensemble accuracy. Its trained weights are not distributed to agents.
34
-
35
- ## Contents and splits
36
-
37
- - `development.tar.gz`: physically separate train and validation arrays,
38
- ideal circuits, published even-fitted detector error models, and `reference/`:
39
- the reference model's validation predictions, validation metrics, aggregate test
40
- score and training cost, plus a submission template without weights.
41
- - `verifier-inputs.tar.gz`: input-only test arrays and ideal circuits. No logical
42
- labels, raw measurement records, historical decoder predictions, or odd-fit
43
- noise models are in this archive.
44
- - `release-manifest.json`: archive sizes, expanded sizes and SHA-256 identities.
45
- - `NOTICE.md`: attribution and source/licensing notes.
46
-
47
- Each of 130 conditions contains 50,000 original shots: four d3 patches and one
48
- d5 patch, X/Z bases, and 13 odd round counts 1..25. Original zero-based rows are
49
- split into first 19,880 even rows for train, last 5,120 even rows for validation,
50
- and all 25,000 odd rows for test. Totals are 2,584,400 / 665,600 / 3,250,000.
51
- There is no geometry or acquisition-session holdout. IDs are opaque uint64
52
- values; the inference interface does not expose original source row numbers.
53
-
54
- Training/validation NPZs contain `sample_ids:uint64[N]`, packed
55
- `detectors:uint8[N,ceil(D/8)]` (little-endian bit order), and `labels:uint8[N]`.
56
- Verifier inputs contain only the first two. A split manifest specifies geometry,
57
- array paths, ideal circuits, shot counts and hashes. Targets are the official
58
- logical-path observable flips, not raw final-data-qubit parity. Noise DEMs are
59
- calibrated using all even syndromes, including validation syndromes, but no
60
- logical labels or odd test data. This is a declared calibration exception.
61
-
62
- The original dataset and historical test are public. A separate private
63
- `Corning/ai4sci-surface-code-decoding-evaluation` repository supplies labels to
64
- trusted benchmark operators; this runtime separation does not make the source
65
- historically secret. Never expose test roles to an agent's development runtime.
66
-
67
- ## Model and score
68
-
69
- The reference model has a recurrent Transformer core with width 320, three
70
- blocks per round, four attention heads, and geometry/event-dependent bias.
71
- Eight d3 specialists have 8,449,990 parameters each; two d5 specialists have
72
- 8,456,070 each; total 84,512,060. Exactly one specialist serves each shot.
73
- Weights are plain FP32 NumPy arrays, with BF16 compute in the frozen configuration.
74
-
75
- Overall P = 1 minus balanced logical failure: average durations in each
76
- geometry/basis group, groups within distance, and give d3/d5 equal weight.
77
- Normalized score = clip((P-L)/(U-L),0,1), with fixed L=0.7160463461538461 from
78
- MWPM and U=0.7615159615384615 from the strongest same-test released
79
- tensor-network predictions. TN is a rescored historical reference, not a
80
- newly reimplemented decoder. The reference AlphaQubit gives P=0.7550607692307693
81
- and normalized score=0.8580328368056459. Raw/unclipped scores and scientific LER,
82
- error suppression and calibration metrics remain available.
83
-
84
- The original accepted neural training/replay cost was about 200.3 allocated
85
- GPU-hours on RTX PRO 6000 Blackwell Max-Q 96 GB hardware; this is not an H100
86
- throughput claim. Agents train from scratch; the agent budget is under review.
87
-
88
- ## Reproduce
89
-
90
- See the [GitHub task](https://github.com/T0-RSI/ai4sci-tasks/tree/main/surface-code-decoding)
91
- for `environment/data/materialize.py`, the immutable HF lock, Harbor environments,
92
- strict submission schema and trusted verifier. Normal deployment downloads
93
- these pre-materialized archives; it does not regenerate experimental data.
94
- Use the full commit revision and archive hashes pinned in GitHub. Agent data,
95
- inference inputs and trusted labels must be mounted separately. The verifier
96
- runs without network, replays a relocated trained model, seals outputs, and
97
- scores them in a separate label-holding service.
98
-
99
- Do not compare the normalized scalar as a universal measure of scientific
100
- difficulty across tasks. It measures progress between declared task-specific
101
- references and saturates beyond the upper reference; raw metrics preserve
102
- further progress. The scientific evaluation is limited to this historical
103
- hard-readout d3/d5 distribution.
 
2
  language:
3
  - en
4
  license: cc-by-4.0
5
+ pretty_name: 'FrontierAI4S Quantum Error Correction: Sycamore development data and verifier inputs'
6
  size_categories:
7
  - 1M<n<10M
8
  task_categories:
 
12
  - surface-code
13
  - sycamore
14
  - alphaqubit
15
+ - frontierai4s
16
  ---
17
 
18
+ # FrontierAI4S Quantum Error Correction: Sycamore development data and verifier inputs
19
+
20
+ The FrontierAI4S Quantum Error Correction task trains a surface-code decoder to predict whether a logical observable flipped, using detection events from repeated stabilizer measurements. [Task on GitHub](https://github.com/openssi-dev/FrontierAI4S/tree/main/tasks/surface-code-decoding)
21
+
22
+ This repository holds labeled training and validation data and unlabeled test inputs from hard-readout experiments on Google's Sycamore quantum processor.
23
+
24
+ ## Contents
25
+
26
+ | File | Contents |
27
+ | --- | --- |
28
+ | `development.tar.gz` (77.4 MB) | Extracts to `development/` with 2,584,400 labeled training shots, 665,600 labeled validation shots, ideal circuits and detector error models for simulation. The `reference/` directory contains validation predictions and metrics, an aggregate test score, and a submission template without trained weights. |
29
+ | `verifier-inputs.tar.gz` (64.8 MB) | Extracts to `verifier/` with 3,250,000 test shots containing opaque shot IDs and detection events, plus ideal circuits. Test labels are held out for the grader. |
30
+ | [release-manifest.json](release-manifest.json) | Compressed and expanded archive sizes and SHA-256 checksums. |
31
+ | [NOTICE.md](NOTICE.md) | Source attribution and license notices. |
32
+ | `README.md` | This dataset card. |
33
+ | `.gitattributes` | Git file handling settings. |
34
+
35
+ The data cover 130 conditions across four distance-3 patches, one distance-5 patch, X and Z bases, and odd round counts from 1 to 25. Within each condition, training uses the first 19,880 even-numbered source rows, validation uses the last 5,120 even-numbered rows, and test uses all 25,000 odd-numbered rows, with zero-based indexing.
36
+
37
+ Each condition's NumPy `.npz` file contains `sample_ids` (`uint64`) and `detectors` (bit-packed `uint8`, little-endian bit order). Training and validation files also contain `labels` (`uint8`) for logical observable flips. Each split's `manifest.json` lists conditions, file paths, shot counts and hashes. The published detector error models were fitted to training and validation detection events only, without logical labels.
38
+
39
+ ## Use
40
+
41
+ Run this command from the FrontierAI4S repository root.
42
+
43
+ ```bash
44
+ runner/prepare.sh surface-code-decoding DIR
45
+ ```
46
+
47
+ The runner downloads the two public archives at revision `5854e88feabf953882d6eb7f7839f2be881756b6`, checks their sizes and SHA-256 hashes, and verifies every extracted file against the archive's `inventory.json`. For full benchmark preparation, set `HF_TOKEN` to a Hugging Face token authorized to read the private grader archive. To fetch the public development data alone, use the materializer with `--roles development`. [Materialization guide](https://github.com/openssi-dev/FrontierAI4S/blob/main/tasks/surface-code-decoding/environment/data/MATERIALIZE.md)
48
+
49
+ Use the training data to train decoders and the validation data for model selection. The verifier inputs and held-out test labels are for scoring only and must not be used for training or model selection. This also applies to the historical test shots available from the public upstream source.
50
+
51
+ ## Sources and licenses
52
+
53
+ - The measurements, ideal circuits and detector error models come from Google Quantum AI's Sycamore surface-code memory experiments. The experimental data are licensed under Creative Commons Attribution 4.0 International. [Zenodo record 6804040](https://zenodo.org/records/6804040) · [CC BY 4.0 license](https://creativecommons.org/licenses/by/4.0/)
54
+ - The benchmark's AlphaQubit reference is an independently implemented and trained decoder based on the method described by Bausch et al. [AlphaQubit paper](https://www.nature.com/articles/s41586-024-08148-8)
55
+ - The task code uses PyMatching for matching comparisons and includes a secondary recurrent decoder from QRENND. Both are licensed under Apache 2.0. [PyMatching](https://github.com/oscarhiggott/PyMatching) · [PyMatching license](https://github.com/oscarhiggott/PyMatching/blob/master/LICENSE) · [QRENND](https://github.com/BorisVarbanov/qrennd) · [QRENND license in the task code](https://github.com/openssi-dev/FrontierAI4S/blob/main/tasks/surface-code-decoding/environment/baseline/alphaqubit/baselines/reference/LICENSE)
56
+
57
+ ## Citation
58
+
59
+ - Google Quantum AI. “Suppressing quantum errors by scaling a surface code logical qubit.” *Nature* 614, 676–681 (2023). [Paper](https://www.nature.com/articles/s41586-022-05434-1) · [Dataset](https://zenodo.org/records/6804040)
60
+ - Bausch et al. “Learning high-accuracy error decoding for quantum processors.” *Nature* 635, 834–840 (2024). [Paper](https://www.nature.com/articles/s41586-024-08148-8)
61
+ - Varbanov et al. “Neural network decoder for near-term surface-code experiments.” *Physical Review Research* 7, 013029 (2025). [Paper](https://doi.org/10.1103/PhysRevResearch.7.013029)
62
+ - FrontierAI4S benchmark. [Leaderboard](https://openssi.dev/frontier-ai4s/)