anonymous-dataset commited on
Commit
e4dfc10
·
verified ·
1 Parent(s): 0918705

Upload PRISM dataset and documentation

Browse files
Files changed (4) hide show
  1. LICENSE +22 -0
  2. README.md +112 -0
  3. Real1600-Aug400-Benchmark.zip +3 -0
  4. Train-Dataset.zip +3 -0
LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Train-Dataset
4
+ Copyright (c) 2026 Real1600–Aug400 Dataset Contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
README.md CHANGED
@@ -1,3 +1,115 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ pretty_name: 300-Qubits Register Dataset
4
+ tags:
5
+ - quantum-computing
6
+ - qubit-readout
7
+ - ion-localization
8
+ - fluorescence-imaging
9
  ---
10
+
11
+ # 300-Qubits Register Dataset
12
+
13
+ This dataset contains images and per-ion annotations for a 300-ion register. The annotations provide ion positions and bright/dark state labels. The dataset is organized into a training-data directory and a benchmark directory.
14
+
15
+ ## Download and extraction
16
+
17
+ The repository distributes the dataset in `Train-Dataset.zip` and `Real1600-Aug400-Benchmark.zip`. Extract both archives into the same directory to reproduce the layout below. The benchmark directory inside its archive is named `Real1600–Aug400-Benchmark` (with an en dash).
18
+
19
+ ```python
20
+ from zipfile import ZipFile
21
+
22
+ for archive in ("Train-Dataset.zip", "Real1600-Aug400-Benchmark.zip"):
23
+ with ZipFile(archive) as z:
24
+ z.extractall("300-Qubits-Register-Dataset")
25
+ ```
26
+
27
+ ## Contents
28
+
29
+ | Directory | Group | Images | JSON annotations |
30
+ |---|---|---:|---:|
31
+ | `Train-Dataset` | `150D_150B` | 12,500 | 12,500 |
32
+ | `Train-Dataset` | `300B` | 6,250 | 6,250 |
33
+ | `Train-Dataset` | `300D` | 6,250 | 6,250 |
34
+ | `Real1600–Aug400-Benchmark` | `01_Full_bright_250` | 250 | 250 |
35
+ | `Real1600–Aug400-Benchmark` | `02_Full_dark_250` | 250 | 250 |
36
+ | `Real1600–Aug400-Benchmark` | `03_pi2_binomial_1000` | 1,000 | 1,000 |
37
+ | `Real1600–Aug400-Benchmark` | `04_isotopy_100` | 100 | 100 |
38
+ | `Real1600–Aug400-Benchmark` | `05_Aug400` | 400 | 400 |
39
+ | **Total** | | **27,000** | **27,000** |
40
+
41
+ The group names are directory names. In particular, the `150D_150B` name identifies the mixed-state group; the exact bright and dark counts should be read from each annotation rather than inferred from the name. Images are PNG files with dimensions of 456 × 88 pixels (width × height).
42
+
43
+ ## Directory layout
44
+
45
+ ```text
46
+ 300-Qubits-Register-Dataset/
47
+ ├── LICENSE
48
+ ├── README.md
49
+ ├── Train-Dataset/
50
+ │ ├── 150D_150B/
51
+ │ │ ├── 150D_150B_0001.png
52
+ │ │ └── 150D_150B_label/
53
+ │ │ ├── 150D_150B_0001_label.json
54
+ │ │ └── manifest_labels.csv
55
+ │ ├── 300B/
56
+ │ │ └── 300B_label/
57
+ │ └── 300D/
58
+ │ └── 300D_label/
59
+ └── Real1600–Aug400-Benchmark/
60
+ ├── 01_Full_bright_250/
61
+ ├── 02_Full_dark_250/
62
+ ├── 03_pi2_binomial_1000/
63
+ ├── 04_isotopy_100/
64
+ └── 05_Aug400/
65
+ ```
66
+
67
+ Each group contains its PNG images and a corresponding `<group>_label` directory. The annotation filename is formed by adding `_label` to the image stem. The benchmark directory name contains an en dash (`–`).
68
+
69
+ ## Annotation format
70
+
71
+ Each JSON annotation describes one image. Common fields include:
72
+
73
+ - `image`: image filename.
74
+ - `image_width_px`, `image_height_px`: image dimensions in pixels.
75
+ - `ion_count`: number of annotated ions.
76
+ - `bright_count`, `dark_count`: per-image counts of the two states.
77
+ - `ions`: per-ion records containing `ion_id`, `existence`, `state`, `x`, and `y`.
78
+
79
+ The benchmark annotations define `existence` as 1 for present and 0 for absent, and `state` as 1 for bright and 0 for dark. Their coordinates use zero-based pixel centers: `x` is the column, `y` is the row, and positive `y` points down. Some training annotations also contain `input_x` and `input_y`. Some isotope annotations contain `is_isotope` and `isotope_count`.
80
+
81
+ **Ion ordering varies by benchmark group.** Where present, consult `ion_id_convention` in each JSON file; do not assume that an `ion_id` denotes the same ordering across groups or frames. Fields may differ between groups.
82
+
83
+ ### Training and validation manifest
84
+
85
+ `Train-Dataset/150D_150B/150D_150B_label/manifest_labels.csv` contains one row for each of the 12,500 images in the `150D_150B` group. Its `split` column identifies 10,000 training and 2,500 validation images; it also includes filenames, per-image counts, and SHA-256 values. This manifest applies to that group only and does not define a split for the other groups.
86
+
87
+ ## Loading an example
88
+
89
+ ```python
90
+ import json
91
+ from pathlib import Path
92
+ from PIL import Image
93
+
94
+ root = Path("300-Qubits-Register-Dataset")
95
+ group = root / "Train-Dataset" / "300B"
96
+ label_path = group / "300B_label" / "300B_0001_label.json"
97
+
98
+ with label_path.open(encoding="utf-8") as f:
99
+ annotation = json.load(f)
100
+
101
+ image = Image.open(group / annotation["image"])
102
+ print("Image size:", image.size)
103
+ print("Annotated ions:", annotation["ion_count"])
104
+ print("First ion:", annotation["ions"][0])
105
+ ```
106
+
107
+ The example requires Pillow (`pip install pillow`).
108
+
109
+ ## Intended use and limitations
110
+
111
+ The images and annotations can be used to study per-ion localization and bright/dark state recognition. The benchmark is organized into the five groups listed above; report the group and evaluation protocol when presenting results. The contents of the files alone do not specify all acquisition, augmentation, or annotation procedures, so consult the accompanying paper for the experimental protocol when available.
112
+
113
+ ## License
114
+
115
+ The repository includes an [MIT License](LICENSE). Consult that file for the complete terms.
Real1600-Aug400-Benchmark.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:183fc86548cefb4e8591a4391af8c8a5f8a7ae16a6225459e215df84ed77c11d
3
+ size 53905825
Train-Dataset.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90933e40885ab65f71c2f0ebfe14b54e8c78726f4dc5414e4dbe34817f81acea
3
+ size 690588738