sunweiwei commited on
Commit
0329286
·
verified ·
1 Parent(s): 672bb32

Sycamore surface-code decoding release v1.1 (development without trained weights)

Browse files
Files changed (5) hide show
  1. NOTICE.md +24 -0
  2. README.md +103 -0
  3. development.tar.gz +3 -0
  4. release-manifest.json +31 -0
  5. verifier-inputs.tar.gz +3 -0
NOTICE.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Attribution and provenance
2
+
3
+ Experimental measurements, ideal circuit descriptions and published calibrated
4
+ detector error models derive from Google Quantum AI's Sycamore surface-code
5
+ memory experiments, Zenodo record 6804040:
6
+ https://zenodo.org/records/6804040
7
+
8
+ The source data is distributed under Creative Commons Attribution 4.0
9
+ International (CC-BY-4.0): https://creativecommons.org/licenses/by/4.0/
10
+ Changes: the benchmark selects surface-code d3/d5 experiments, partitions
11
+ source rows into train/validation/test, replaces row indices with stable opaque
12
+ identifiers, converts detector/label arrays to NumPy NPZ, and separates
13
+ inference inputs from grader labels. Original data provenance is preserved in
14
+ release metadata and content hashes. The release does not alter the experiment.
15
+
16
+ The scientific AlphaQubit reference is Bausch et al., “Learning high-accuracy
17
+ error decoding for quantum processors,” Nature 635, 834–840 (2024),
18
+ https://doi.org/10.1038/s41586-024-08148-8 . The bundled decoder implementation
19
+ and weights are independent benchmark reproductions, not official Google code
20
+ or weights. Code/dependency notices and licenses remain applicable; this dataset
21
+ card's CC-BY-4.0 metadata describes the experimental data and does not relicense
22
+ third-party libraries. Consult the linked code repository and retained upstream
23
+ notices for software licensing. No endorsement by Google Quantum AI or Google
24
+ DeepMind is implied.
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
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:
9
+ - tabular-classification
10
+ tags:
11
+ - quantum-error-correction
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.
development.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9ce836eb1b142c6f96ec088d32031759ff54ae0913884567a6b3c291f06e2b
3
+ size 77424105
release-manifest.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "files": {
3
+ "development.tar.gz": {
4
+ "bytes": 77424105,
5
+ "expanded_bytes": 124842724,
6
+ "role": "development",
7
+ "sha256": "0e9ce836eb1b142c6f96ec088d32031759ff54ae0913884567a6b3c291f06e2b"
8
+ },
9
+ "grader-labels.tar.gz": {
10
+ "bytes": 26738048,
11
+ "expanded_bytes": 29372924,
12
+ "role": "grader",
13
+ "sha256": "32d02dd2083b2dd89d48a0ace680ec8b92a45e00388d1cb9c1df9287b0486876"
14
+ },
15
+ "reference-model.tar.gz": {
16
+ "bytes": 313866583,
17
+ "expanded_bytes": 339321840,
18
+ "role": "reference-model",
19
+ "sha256": "16df96c11d826eaf88b4dbd8c2010558171b958512cb221135303a4551b46db2"
20
+ },
21
+ "verifier-inputs.tar.gz": {
22
+ "bytes": 64789453,
23
+ "expanded_bytes": 87166817,
24
+ "role": "verifier",
25
+ "sha256": "e3be733f50de3dfb798d95661c5a9d7128787c2eee57f85b60c7abc004fab636"
26
+ }
27
+ },
28
+ "release": "sycamore-hard-v1",
29
+ "revision": "v1.1",
30
+ "schema": "surface-code-decoding-release/v1"
31
+ }
verifier-inputs.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3be733f50de3dfb798d95661c5a9d7128787c2eee57f85b60c7abc004fab636
3
+ size 64789453