Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label PRISM@c8e4d3655103ee8a9eb3825583b1f1430357dd0b
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2572, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2489, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2244, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1518, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1541, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1210, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label PRISM@c8e4d3655103ee8a9eb3825583b1f1430357dd0b

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.

300-Qubits Register Dataset

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.

Download and extraction

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).

from zipfile import ZipFile

for archive in ("Train-Dataset.zip", "Real1600-Aug400-Benchmark.zip"):
    with ZipFile(archive) as z:
        z.extractall("300-Qubits-Register-Dataset")

Contents

Directory Group Images JSON annotations
Train-Dataset 150D_150B 12,500 12,500
Train-Dataset 300B 6,250 6,250
Train-Dataset 300D 6,250 6,250
Real1600–Aug400-Benchmark 01_Full_bright_250 250 250
Real1600–Aug400-Benchmark 02_Full_dark_250 250 250
Real1600–Aug400-Benchmark 03_pi2_binomial_1000 1,000 1,000
Real1600–Aug400-Benchmark 04_isotopy_100 100 100
Real1600–Aug400-Benchmark 05_Aug400 400 400
Total 27,000 27,000

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).

Directory layout

300-Qubits-Register-Dataset/
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ Train-Dataset/
β”‚   β”œβ”€β”€ 150D_150B/
β”‚   β”‚   β”œβ”€β”€ 150D_150B_0001.png
β”‚   β”‚   └── 150D_150B_label/
β”‚   β”‚       β”œβ”€β”€ 150D_150B_0001_label.json
β”‚   β”‚       └── manifest_labels.csv
β”‚   β”œβ”€β”€ 300B/
β”‚   β”‚   └── 300B_label/
β”‚   └── 300D/
β”‚       └── 300D_label/
└── Real1600–Aug400-Benchmark/
    β”œβ”€β”€ 01_Full_bright_250/
    β”œβ”€β”€ 02_Full_dark_250/
    β”œβ”€β”€ 03_pi2_binomial_1000/
    β”œβ”€β”€ 04_isotopy_100/
    └── 05_Aug400/

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 (–).

Annotation format

Each JSON annotation describes one image. Common fields include:

  • image: image filename.
  • image_width_px, image_height_px: image dimensions in pixels.
  • ion_count: number of annotated ions.
  • bright_count, dark_count: per-image counts of the two states.
  • ions: per-ion records containing ion_id, existence, state, x, and y.

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.

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.

Training and validation manifest

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.

Loading an example

import json
from pathlib import Path
from PIL import Image

root = Path("300-Qubits-Register-Dataset")
group = root / "Train-Dataset" / "300B"
label_path = group / "300B_label" / "300B_0001_label.json"

with label_path.open(encoding="utf-8") as f:
    annotation = json.load(f)

image = Image.open(group / annotation["image"])
print("Image size:", image.size)
print("Annotated ions:", annotation["ion_count"])
print("First ion:", annotation["ions"][0])

The example requires Pillow (pip install pillow).

Intended use and limitations

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.

License

The repository includes an MIT License. Consult that file for the complete terms.

Downloads last month
62