Datasets:
features listlengths 1.3k 1.3k | label int64 0 9 | class_name stringclasses 10
values | quantum_label int64 -1 1 |
|---|---|---|---|
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
19786.865234,
0,
0,
0,
0,
0,
0,
0,
0,
0,
25747.035156,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4006.005371,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
10162.613281,
0,
0,
0,
2660.252197,
0,
0,
0,
0,
0,
0,
0,
0,
0,
66068.625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
22495.619141,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
15585.383789,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
61347.328125,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1127.497681,
0,
0,
72814.648438,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
23316.847656,
0,
0,
0,
18899.628906,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
15409.125977,
0,
1038.309082,
0,
0,
9884.796875,
0,
0,
0,
0,
0,
0,
0,
48069.210938,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2829.078613,
0,
0,
0,
0,
0,
0,
0,
0,
26250.113281,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
28551.310547,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7332... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
42839.390625,
0,
0,
0,
0,
0,
0,
0,
0,
33386.101563,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
44205.714844,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
23104.953125,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
271583,
22039.496094,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
15579.755859,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
20126.228516,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
13693.645508,
0,
0,
0,
0,
73962.554687,
0,
0,
0,
0,
0,
0,
0,
29585.353516,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
25152.943359,
0,
0,
0,
0,
0,... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
27383.988281,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
13902.376953,
0,
0,
4453.606934,
0,
0,
0,
0,
68677.992188,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
18514.769531,
17430.296875,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
13341.835938,
0,
0,
0,
0,
0,
43388.644531,
0,
0,
38957.238281,
0,
0,
0,
0,
110316.828125,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
119017.726563,
21292.271484,
0,
0,
0,
0,
0,
0,
10459.415039,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4084.960449,
0,
0,
0,
0,
0,
0,
0,
43323.519531,
0,
0,
0... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
44305.496094,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
99046.289063,
0,
0,
0,
0,
0,
0,
0,
37910.621094,
0,
0,
0,
0,
0,
0,
0,
223392.15625,
0,
0,
0,
0,
0,... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
19678.074219,
0,
0,
0,
0,
2585.164551,
0,
20809.775391,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
86847.78125,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
77799.164063,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
89908.84375,
0,
0,
0,
0,
0,
0,
8594.472656,
29843.453125,
9017.114258,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
18865.904297,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
34654.222656,
0,
8227.183594,
0,
0,
0,
0,
44782.390625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
322571.1875,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
57428.984375,
0,
0,
0,
0,
0,
0,
0,
6075.958496,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
3044.2771,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
14294.507813,
0,
0,
0,
114757.414063,
0,
10573.144531,
0,
0,
0,
48510.378906,
0,
0,
238608.765625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
144351.6875,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
34530.804688,
0,
0,
0,
0,
0,
13791.575195,
0,
0,
131633.3125,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
94791.59375,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
6905.80127,
0,
0,
0,
7000.719238,
0,
0,
0,
0,
0,
2006.202026,
0,
0,
97794.304687,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
42944.238281,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4068.404297,
7672.259277,
0,
0,
0,
0,
2171.106689,
0,
0,
126061.90625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
39270.851563,
0,
0,
0,
0,
0,
0,
0,
9252.673828,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
115695.039063,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
47047.105469,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2380.55957,
0,
0,
0,
0,
0,
446.456543,
0,
0,
187239.484375,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
64423.773437,
0,
0,
0,
0,
0,
8004.910645,
0,
11410.52832,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
6496.398438,
0,
0,
0,
0,
0,
0,
0,
0,
191896.453125,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
71878.335938,
0,
0,
0,
0,
0,
3797.170654,
0,
19356.466797,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
79872.328125,
0,
0,
0,
0,
0,
26650.78125,
0,
0,
307645.40625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
169718.65625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | -1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
93299.171875,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
12717.419922,
0,
0,
0,
0,
0,
0,
0,
23430.523438,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
41659.128906,
9270.985352,
0,
0,
0,
0,
0,
0,
54962.140625,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
18946.261719,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
79043.757813,
0,
0,
0,
0,
0,
0,
68012.5625,
0,
0,
0,
0,
0,
0,
4369.76709,
32918.074219,
4390.986328,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
62812.035156,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 1 | 1 |
[
0,
0,
0,
0,
0,
0,
0,
56736.71875,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2325.931885,
0,
29416.146484,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
97056,
0,
4440.651855,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | 0 | 1 | 1 |
micro-mass-quantum
Quantum-native labels and amplitude kernel for the micro-mass mass spectrometry dataset, produced by Sirius Quantum.
Compression Benchmark
At 162x fewer dimensions, ReLab achieves 92.2% accuracy versus 93.6% with full features. 1.4% accuracy loss qualifies under the oracle sketching criterion (Zhao et al. 2026, arXiv:2604.07639): compression ratio > 10x with comparable accuracy (≤5% loss).
| Method | Features | Accuracy | |
|---|---|---|---|
| Classical baseline | SVM-linear | 1300 | 93.6% |
| ReLab quantum kernel | SVM-amplitude | 8 qubits | 92.2% |
| Delta | 162x compression | -1.4% |
Claim: 8-qubit amplitude encoding achieves 92.2% on 10-class mass spectrometry identification at 162x compression, within 1.4% of SVM-linear on all 1300 features.
QQ Benchmark: Quantum Community Baseline
First published quantum kernel benchmark on micro-mass. Future quantum methods (QAOA, VQE, variational circuits, tensor networks) compare against this baseline.
| Property | Value |
|---|---|
| Method | amplitude / 8q / SVM / oracle-sketching |
| Encoding | Amplitude (Hilbert-Schmidt fidelity) |
| Qubits | 8 |
| Compression | 162x (1300 features → 8 qubits) |
| Kernel | K(x,x') = |⟨ψ(x)|ψ(x')⟩|² |
| CV protocol | StratifiedKFold(n_splits=5, shuffle=True, seed=42) |
| QQ score | 92.2% accuracy (10-class) |
Dataset
Source: micro-mass, OpenML ID 1515. 360 samples, 1300 mass spectrometry features, 10 bacterial species classes.
| Column | Type | Description |
|---|---|---|
features |
list[float] | Raw mass spectrometry features (1300-dim, unscaled) |
label |
int | Integer class label (0–9) |
class_name |
str | Bacterial species name |
quantum_label |
int | Quantum-native label ∈ {-1, +1} derived from amplitude kernel geometry |
Quantum label balance: +1=180 / -1=180 (perfectly balanced — amplitude kernel eigenvector split).
Usage
from datasets import load_dataset
import numpy as np
ds = load_dataset("SiriusQuantum/micro-mass-quantum", split="train")
X = np.array(ds["features"]) # (n, 1300) raw features
y = np.array(ds["label"]) # (n,) class labels 0-9
q = np.array(ds["quantum_label"]) # (n,) quantum labels {-1, +1}
# Train on quantum-labeled partition
from sklearn.svm import SVC
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler()
X_std = scaler.fit_transform(X)
# Quantum label as geometric prior
svm = SVC(kernel="rbf")
svm.fit(X_std, q) # train on quantum partition signal
Reproduce
Quantum labels and kernel matrix were produced with the ReLab engine, a quantum-native data layer for physical AI.
import relab
# One call. Quantum-native labels from 1300 features compressed to 8 qubits.
labels = relab.fit(X, n_qubits=8, encoding="amplitude")
SDK not yet public. Contact Sirius Quantum for early access.
Scientific Basis
Encoding: Amplitude (Lloyd, Schuld 2020, arXiv:2001.03622)
- K(x,x') = |⟨ψ(x)|ψ(x')⟩|² (Hilbert-Schmidt fidelity kernel)
- Theoretically optimal when classes are separated in Hilbert space
- Scale-invariant: StandardScaler output feeds directly, no aliasing
Compression claim basis: Oracle Sketching (Zhao et al. 2026, arXiv:2604.07639)
- Polylogarithmic quantum machines match exponentially larger classical machines
- Criterion: compression ratio > 10x with comparable accuracy (≤5% loss)
- micro-mass: 162x compression, 1.4% accuracy loss. Both criteria satisfied.
Citation
If you use this dataset or kernel, cite ReLab:
@software{relab2026,
title = {ReLab: Quantum-Native Data Relabeling Engine},
author = {Sirius Quantum Solutions LTD},
year = {2026},
url = {https://github.com/Sirius-Quantum}
}
Key references:
@article{lloyd2020quantum,
title = {Quantum embeddings for machine learning},
author = {Lloyd, Seth and Schuld, Maria and others},
journal = {arXiv:2001.03622},
year = {2020}
}
@article{zhao2026sketching,
title = {Quantum oracle sketching},
author = {Zhao et al.},
journal = {arXiv:2604.07639},
year = {2026}
}
- Downloads last month
- 27