Datasets:
row_idx int64 0 359 | kernel_row listlengths 360 360 |
|---|---|
0 | [
1,
0.24970419704914093,
0.3848645091056824,
0.19502206146717072,
0.16151458024978638,
0.24940328299999237,
0.36638903617858887,
0.22774618864059448,
0.08426817506551743,
0.09751695394515991,
0.0012301935348659754,
0.001727982540614903,
0.0033238092437386513,
0.002643472282215953,
0.02670... |
1 | [
0.24970419704914093,
1,
0.2570008337497711,
0.11193672567605972,
0.10309047996997833,
0.12300670146942139,
0.08300473541021347,
0.08520329743623734,
0.03490740805864334,
0.06562896072864532,
0.00038536792271770537,
0.00019103374506812543,
0.0030138830188661814,
0.002543535316362977,
0.00... |
2 | [
0.3848645091056824,
0.2570008337497711,
1,
0.3863440155982971,
0.2261568158864975,
0.4612020254135132,
0.22968892753124237,
0.23133186995983124,
0.3133374750614166,
0.2729088366031647,
0.026446359232068062,
0.021505577489733696,
0.04926474019885063,
0.03710460290312767,
0.096013292670249... |
3 | [
0.19502206146717072,
0.11193672567605972,
0.3863440155982971,
1,
0.28442010283470154,
0.22779686748981476,
0.1415441483259201,
0.15569493174552917,
0.12933200597763062,
0.12953148782253265,
0.0044776806607842445,
0.0026861533988267183,
0.01456911489367485,
0.007362780626863241,
0.0292369... |
4 | [
0.16151458024978638,
0.10309047996997833,
0.2261568158864975,
0.28442010283470154,
1,
0.3144893944263458,
0.23909659683704376,
0.16252253949642181,
0.13745997846126556,
0.1649002879858017,
0.017590409144759178,
0.006032267119735479,
0.008319955319166183,
0.013918074779212475,
0.049384851... |
5 | [
0.24940328299999237,
0.12300670146942139,
0.4612020254135132,
0.22779686748981476,
0.3144893944263458,
1,
0.28331899642944336,
0.4666826128959656,
0.2522849142551422,
0.3915991485118866,
0.013927551917731762,
0.005857138428837061,
0.024413201957941055,
0.028437577188014984,
0.07216727733... |
6 | [
0.36638903617858887,
0.08300473541021347,
0.22968892753124237,
0.1415441483259201,
0.23909659683704376,
0.28331899642944336,
1,
0.37624484300613403,
0.11479403078556061,
0.16035287082195282,
0.026301342993974686,
0.05387549847364426,
0.015305534936487675,
0.021441251039505005,
0.15442475... |
7 | [
0.22774618864059448,
0.08520329743623734,
0.23133186995983124,
0.15569493174552917,
0.16252253949642181,
0.4666826128959656,
0.37624484300613403,
1,
0.21817021071910858,
0.2893018424510956,
0.022008372470736504,
0.007566911168396473,
0.0357881598174572,
0.022164909169077873,
0.0802961811... |
8 | [
0.08426817506551743,
0.03490740805864334,
0.3133374750614166,
0.12933200597763062,
0.13745997846126556,
0.2522849142551422,
0.11479403078556061,
0.21817021071910858,
1,
0.43553078174591064,
0.12691503763198853,
0.06652728468179703,
0.21595099568367004,
0.1329043060541153,
0.2111968100070... |
9 | [
0.09751695394515991,
0.06562896072864532,
0.2729088366031647,
0.12953148782253265,
0.1649002879858017,
0.3915991485118866,
0.16035287082195282,
0.2893018424510956,
0.43553078174591064,
1,
0.1731443852186203,
0.07563906162977219,
0.22163350880146027,
0.20225149393081665,
0.274508774280548... |
10 | [
0.0012301935348659754,
0.00038536792271770537,
0.026446359232068062,
0.0044776806607842445,
0.017590409144759178,
0.013927551917731762,
0.026301342993974686,
0.022008372470736504,
0.12691503763198853,
0.1731443852186203,
1,
0.20876266062259674,
0.1811290830373764,
0.29651549458503723,
0.... |
11 | [
0.001727982540614903,
0.00019103374506812543,
0.021505577489733696,
0.0026861533988267183,
0.006032267119735479,
0.005857138428837061,
0.05387549847364426,
0.007566911168396473,
0.06652728468179703,
0.07563906162977219,
0.20876266062259674,
1,
0.07611618936061859,
0.13727398216724396,
0.... |
12 | [
0.0033238092437386513,
0.0030138830188661814,
0.04926474019885063,
0.01456911489367485,
0.008319955319166183,
0.024413201957941055,
0.015305534936487675,
0.0357881598174572,
0.21595099568367004,
0.22163350880146027,
0.1811290830373764,
0.07611618936061859,
1,
0.1804710328578949,
0.200157... |
13 | [
0.002643472282215953,
0.002543535316362977,
0.03710460290312767,
0.007362780626863241,
0.013918074779212475,
0.028437577188014984,
0.021441251039505005,
0.022164909169077873,
0.1329043060541153,
0.20225149393081665,
0.29651549458503723,
0.13727398216724396,
0.1804710328578949,
1,
0.28928... |
14 | [
0.026703018695116043,
0.009845304302871227,
0.09601329267024994,
0.029236910864710808,
0.04938485100865364,
0.0721672773361206,
0.1544247567653656,
0.08029618114233017,
0.21119681000709534,
0.2745087742805481,
0.3156573176383972,
0.29933804273605347,
0.20015744864940643,
0.2892875373363495... |
15 | [
0.020785117521882057,
0.022753005847334862,
0.11035023629665375,
0.05633137747645378,
0.03682733699679375,
0.12363149970769882,
0.04287412390112877,
0.10252974182367325,
0.31051284074783325,
0.5239810347557068,
0.1888861209154129,
0.0524599589407444,
0.2938790023326874,
0.19616679847240448... |
16 | [
0.0019643385894596577,
0.00042147317435592413,
0.04317216947674751,
0.013907291926443577,
0.005993939470499754,
0.009363528341054916,
0.004642846062779427,
0.001437808619812131,
0.08495619893074036,
0.04436285048723221,
0.1545736938714981,
0.0698215514421463,
0.0888684019446373,
0.43071335... |
17 | [
0.007407687604427338,
0.004706668667495251,
0.08423515409231186,
0.03309667482972145,
0.016349414363503456,
0.05068056657910347,
0.033050909638404846,
0.04153544455766678,
0.2316463440656662,
0.2233027219772339,
0.2095687836408615,
0.1445230394601822,
0.2519479990005493,
0.2045396119356155... |
18 | [
0.02012471668422222,
0.017088601365685463,
0.024558397009968758,
0.013786197640001774,
0.02097976580262184,
0.027328792959451675,
0.06340958178043365,
0.05224351957440376,
0.04105701297521591,
0.049970876425504684,
0.027899833396077156,
0.020615337416529655,
0.01210455596446991,
0.06520911... |
19 | [
0.03921038657426834,
0.010554828681051731,
0.07196139544248581,
0.03408625349402428,
0.01779990643262863,
0.08437734097242355,
0.06685656309127808,
0.08706381171941757,
0.04505692422389984,
0.04896702244877815,
0.01621330715715885,
0.012080139480531216,
0.01454372238367796,
0.0282317493110... |
20 | [
0.028001410886645317,
0.011591965332627296,
0.11641177535057068,
0.08491382002830505,
0.026888221502304077,
0.061620861291885376,
0.06264612078666687,
0.0643233135342598,
0.08848550915718079,
0.07692728191614151,
0.024559469893574715,
0.010570527985692024,
0.03540879487991333,
0.0564524829... |
21 | [
0.05636180192232132,
0.026413362473249435,
0.2617591917514801,
0.1542493849992752,
0.04798942431807518,
0.17825868725776672,
0.09518682956695557,
0.12503571808338165,
0.19991406798362732,
0.1608351469039917,
0.03269375115633011,
0.02127395011484623,
0.04563763737678528,
0.0729689747095108,... |
22 | [
0.06829630583524704,
0.03899736329913139,
0.21161392331123352,
0.15014785528182983,
0.050994064658880234,
0.17521372437477112,
0.07914245873689651,
0.14908188581466675,
0.12623147666454315,
0.1968737095594406,
0.017669960856437683,
0.006766111124306917,
0.039262253791093826,
0.053321376442... |
23 | [
0.031134773045778275,
0.023146163672208786,
0.12302928417921066,
0.07675062119960785,
0.024894654750823975,
0.07973748445510864,
0.04761578142642975,
0.12445779144763947,
0.07052230834960938,
0.1311667561531067,
0.03238891810178757,
0.007145676761865616,
0.029344361275434494,
0.05330726131... |
24 | [
0.04401925206184387,
0.02343398705124855,
0.1572294682264328,
0.09410213679075241,
0.026317205280065536,
0.11380268633365631,
0.05517645180225372,
0.11180326342582703,
0.06253267824649811,
0.101836659014225,
0.02124175801873207,
0.004291889723390341,
0.02016964554786682,
0.0472581274807453... |
micro-mass-amplitude-kernel
Amplitude quantum kernel Gram matrix for the micro-mass mass spectrometry dataset, produced by Sirius Quantum.
K[i,j] = |⟨ψ(x_i)|ψ(x_j)⟩|² — Hilbert-Schmidt fidelity in quantum feature space.
Compression Benchmark
At 162x fewer dimensions, the amplitude kernel achieves 92.2% accuracy versus 93.6% with full features. Qualifies under the oracle sketching criterion (Zhao et al. 2026, arXiv:2604.07639): compression ratio > 10x with comparable accuracy.
| Method | Features | Accuracy | |
|---|---|---|---|
| Classical baseline | SVM-linear | 1300 | 93.6% |
| Quantum kernel | SVM-amplitude | 8 qubits | 92.2% |
| Delta | 162x compression | -1.4% |
Claim: 8-qubit amplitude kernel 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 to 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 Schema
Each row i contains the full kernel row K[i, :] as a list of floats.
Reconstruct the full (360, 360) Gram matrix as shown below.
| Column | Type | Description |
|---|---|---|
row_idx |
int | Sample index i |
kernel_row |
list[float] | K[i, j] for j = 0..359 |
Usage
from datasets import load_dataset
import numpy as np
from sklearn.svm import SVC
ds = load_dataset("SiriusQuantum/micro-mass-amplitude-kernel", split="train")
# Reconstruct kernel matrix
K = np.array(ds["kernel_row"]) # shape (360, 360)
# Train SVM on precomputed kernel
svm = SVC(kernel="precomputed", C=1.0)
svm.fit(K[train_idx][:, train_idx], y[train_idx])
preds = svm.predict(K[test_idx][:, train_idx])
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.
Reproduce
Kernel matrix was produced with the ReLab engine, a quantum-native data layer for physical AI.
import relab
# One call. Quantum kernel matrix from 1300 features compressed to 8 qubits.
K = relab.kernel(X, n_qubits=8, encoding="amplitude")
SDK not yet public. Contact Sirius Quantum for early access.
Citation
If you use this kernel, cite Sirius Quantum:
@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
- 13