Dataset Viewer
Auto-converted to Parquet Duplicate
row_idx
int64
0
399
kernel_row
listlengths
400
400
input_id
stringlengths
16
16
observables_1rdm
listlengths
27
27
labels_quantum
listlengths
1
1
0
[ 0.9999452829360962, 0.006474681664258242, 0.006880427245050669, 0.0012209233827888966, 0.0009406502940692008, 0.000042256575397914276, 0.000882261258084327, 0.0011624324833974242, 0.0050399466417729855, 0.0010460761841386557, 0.0014140160055831075, 0.0016443131025880575, 0.005096130538731813...
8e3ac26f27529263
[ 0.004857368301600218, -5.0364679538006385e-8, 2.2163602508840086e-8, 0.00036122967139817774, -2.4918739072177232e-8, -9.709518167255737e-8, 0.06575838476419449, 9.265582079365231e-9, -4.211810633591995e-8, 0.03482494875788689, -1.1543124145418915e-7, 3.800908476847553e-9, 0.18073831498622894...
[ 1 ]
1
[ 0.006474681664258242, 0.9999411106109619, 0.00010941465006908402, 0.0003949006204493344, 0.00028421799652278423, 0.0011970968917012215, 0.00006124969513621181, 0.005748793017119169, 0.000004264869858161546, 0.005751257762312889, 0.0011566756293177605, 0.0038041798397898674, 0.001579869887791...
1c9895431a0b9fa4
[ 0.0031703177373856306, -4.666089381544225e-8, -6.816717501578751e-8, -0.0639495700597763, 4.1930363181563735e-8, -5.8596853591552645e-8, 0.042755674570798874, 2.8740492652445937e-8, -6.317611678241519e-8, 0.09026075154542923, -8.765300663071685e-8, -1.1862402971019037e-7, -0.0179959442466497...
[ 1 ]
2
[ 0.006880427245050669, 0.00010941465006908402, 0.9999427795410156, 0.012227693572640419, 0.0006231131847016513, 0.0049477447755634785, 0.00006875860708532855, 0.0022200248204171658, 0.001990564865991473, 0.0008455949136987329, 0.004300919361412525, 0.0022246420849114656, 0.0034861252643167973...
38ac3d5a7f46f3d2
[ 0.000416405382566154, 2.4133994802610914e-9, 1.7012028763474518e-7, -0.0002846475690603256, -1.344076281384332e-7, 2.1006322015182377e-8, 0.04184938222169876, -0.030312564224004745, 9.617700413855346e-9, 0.034484636038541794, -2.699801493477594e-9, 6.118450102121642e-8, -0.15401099622249603,...
[ -1 ]
3
[ 0.0012209233827888966, 0.0003949006204493344, 0.012227693572640419, 0.9999418258666992, 0.003994863014668226, 0.00008973004878498614, 0.00008554849773645401, 0.00015110174717847258, 0.0041648815385997295, 0.0006433789967559278, 0.0012462179875001311, 0.000906931352801621, 0.00185643264558166...
d3164694f45c919b
[ -6.91282707521168e-7, 1.184670406217947e-8, 6.14369213280952e-8, -0.04999174922704697, 1.5493167637714578e-8, 7.473523133683102e-9, 0.005730616394430399, 5.7039759582266925e-8, 8.625520742100434e-9, -0.0006259952206164598, -1.9944000229088488e-8, -4.7893827570533176e-8, 0.15164127945899963, ...
[ 1 ]
4
[ 0.0009406502940692008, 0.00028421799652278423, 0.0006231131847016513, 0.003994863014668226, 0.9999454021453857, 0.0039586559869349, 0.0019589487928897142, 0.00020137804676778615, 0.000900264538358897, 0.0007726880721747875, 0.001665920135565102, 0.0034604279790073633, 0.0031767485197633505, ...
26eb5b21c9100bbc
[ 0.0007569257286377251, -0.000548212556168437, -7.783567212982234e-8, 0.0005740495980717242, 5.959905990948755e-8, 6.419709563942888e-8, 0.032136816531419754, 1.349430966968157e-8, 6.624992465731339e-8, -0.010674028657376766, 0.007731366436928511, -3.8122752954450334e-8, 0.012002306059002876,...
[ -1 ]
5
[ 0.000042256575397914276, 0.0011970968917012215, 0.0049477447755634785, 0.00008973004878498614, 0.0039586559869349, 0.9999393224716187, 0.009083526208996773, 0.0004534302279353142, 0.0005351089057512581, 0.004568859934806824, 0.00022193459153641015, 0.00032224791357293725, 0.00006273530743783...
b1cb1d05faa5b950
[ -0.011426822282373905, -1.6329303775819426e-7, 9.711938275813736e-8, 0.06782980263233185, -1.2106178814974555e-7, 8.280150609607517e-8, -0.179161936044693, 0.12977182865142822, 9.808972123437343e-8, -0.09901091456413269, -7.68623635849508e-8, -2.700908297015303e-8, -0.05701405182480812, 2....
[ 1 ]
6
[ 0.000882261258084327, 0.00006124969513621181, 0.00006875860708532855, 0.00008554849773645401, 0.0019589487928897142, 0.009083526208996773, 0.999943733215332, 0.0016942019574344158, 0.00011206566705368459, 0.0006235764012672007, 0.0001780994498403743, 0.007098793517798185, 0.00608828850090503...
04aedb5f28c56733
[ -0.00013492345169652253, -7.241199995178249e-8, -2.7646162692462894e-8, 0.19417887926101685, -0.14064867794513702, -9.254445387796295e-8, 0.05308030918240547, -8.013332575274035e-8, 1.2803802462713065e-7, 0.06491057574748993, -9.346686979938568e-9, 1.1086230955470455e-7, -0.10073625296354294...
[ 1 ]
7
[ 0.0011624324833974242, 0.005748793017119169, 0.0022200248204171658, 0.00015110174717847258, 0.00020137804676778615, 0.0004534302279353142, 0.0016942019574344158, 0.9999418258666992, 0.0006242764065973461, 0.0007691182545386255, 0.0017314658034592867, 0.0006024877075105906, 0.0015007156180217...
163a626c6ba3f06b
[ -0.006224721670150757, -5.5059356185438446e-8, -4.771089834321174e-8, 0.0019358345307409763, -0.0014021736569702625, -1.3245616514723224e-7, -0.00020112017227802426, -2.611470206748123e-10, 2.0065114370027004e-7, -0.02054882049560547, 1.7557314890837006e-7, -1.2196188947655173e-7, 0.00456420...
[ 1 ]
8
[ 0.0050399466417729855, 0.000004264869858161546, 0.001990564865991473, 0.0041648815385997295, 0.000900264538358897, 0.0005351089057512581, 0.00011206566705368459, 0.0006242764065973461, 0.9999421834945679, 0.0023088986054062843, 0.0019010744290426373, 0.0000943038467084989, 0.0001858371251728...
d725f46e56aaec1c
[ 0.00017457512149121612, -1.1496985052872333e-7, 1.8598998963170743e-7, 0.33730632066726685, 8.837247378323809e-8, -1.700234548707158e-7, 0.012428387999534607, -6.630263271745207e-8, 1.517936283335075e-7, -0.010990011505782604, -1.3410510035782863e-8, -6.481859315954352e-8, -0.015044521540403...
[ 1 ]
9
[ 0.0010460761841386557, 0.005751257762312889, 0.0008455949136987329, 0.0006433789967559278, 0.0007726880721747875, 0.004568859934806824, 0.0006235764012672007, 0.0007691182545386255, 0.0023088986054062843, 0.999942421913147, 0.001075283158570528, 0.005492199677973986, 0.0006090642418712378, ...
92aa0133108ec6d9
[ 0.04742401838302612, -1.3563137279959392e-8, -7.505423127440736e-8, -0.0022710200864821672, -3.599901177153697e-8, -3.3400500143443423e-8, 0.08852235972881317, -3.022697470100866e-8, 5.1950323154414946e-8, 0.004074295051395893, -1.6053709472885203e-8, -3.1949433321187826e-8, -0.0081931101158...
[ -1 ]
10
[ 0.0014140160055831075, 0.0011566756293177605, 0.004300919361412525, 0.0012462179875001311, 0.001665920135565102, 0.00022193459153641015, 0.0001780994498403743, 0.0017314658034592867, 0.0019010744290426373, 0.001075283158570528, 0.9999406337738037, 0.0009164147195406258, 0.0004183755954727530...
354522e4781825b7
[ 0.012003949843347073, -0.008694738149642944, -1.265711757625354e-9, -0.014683995395898819, 1.6928918711300867e-8, 1.370025302094291e-7, 0.08554845303297043, 5.6809916770816926e-8, -9.818843693665258e-8, -0.028489230200648308, -4.7895905908035274e-8, -9.626708674659312e-8, 0.00555951474234461...
[ -1 ]
11
[ 0.0016443131025880575, 0.0038041798397898674, 0.0022246420849114656, 0.000906931352801621, 0.0034604279790073633, 0.00032224791357293725, 0.007098793517798185, 0.0006024877075105906, 0.0000943038467084989, 0.005492199677973986, 0.0009164147195406258, 0.9999418258666992, 0.0005991630023345351...
8b32dc95893ffde8
[ -0.08655787259340286, 0.06269613653421402, 5.224848464990828e-8, 0.006296065635979176, -1.2979998409434756e-8, 6.55340173238983e-8, 0.016827428713440895, 6.967736965179938e-8, -1.4752361998660035e-8, -0.00752986827865243, -5.630897348396502e-8, 1.4784120594413253e-7, -0.11034836620092392, ...
[ 1 ]
12
[ 0.005096130538731813, 0.001579869887791574, 0.0034861252643167973, 0.0018564326455816627, 0.0031767485197633505, 0.0000627353074378334, 0.006088288500905037, 0.0015007156180217862, 0.00018583712517283857, 0.0006090642418712378, 0.00041837559547275305, 0.0005991630023345351, 0.999943494796752...
a0965f4418584b47
[ -0.3319261372089386, 5.8623832899229456e-8, 5.6451689545156114e-8, -0.017965758219361305, 9.965298808367606e-9, -1.0040733400273893e-7, -0.04388468340039253, 6.375643124556518e-8, -2.4618730165570923e-8, -0.026992106810212135, -1.0009802053900785e-7, -9.0204945735195e-9, 0.043103866279125214...
[ 1 ]
13
[ 0.005621940828859806, 0.00015426969912368804, 0.002244736533612013, 0.000031896353902993724, 0.00014695939898956567, 0.00048006224096752703, 0.0008317056344822049, 0.001810539746657014, 0.0009676303598098457, 0.0003074141568504274, 0.00034536380553618073, 0.005115744657814503, 0.003875703085...
34853ec7cf05a54f
[ -0.006481855176389217, -2.6995154556175294e-8, 1.2782432179392345e-7, -0.0002174896071664989, -2.0443845727413645e-8, 4.2181582671219076e-8, -0.007204510271549225, 0.005218523554503918, -1.446943276306456e-8, -0.013225319795310497, 1.1821260637034925e-9, -1.2208184330120275e-7, 0.10652640461...
[ -1 ]
14
[ 0.0013003175845369697, 0.00125466613098979, 0.003439121413975954, 0.0006044446490705013, 0.0007881210185587406, 0.00012563883501570672, 0.0023630051873624325, 0.0007603525300510228, 0.00027153288829140365, 0.000495865591801703, 0.0013455887092277408, 0.00474786339327693, 0.000390632572816684...
d7fb30c66d990c5b
[ 0.0009670101571828127, -2.480373595403762e-8, 9.209490059447489e-8, -0.004135877825319767, 5.190970497892522e-8, 8.163506493019668e-8, 0.2735825777053833, 8.498889592090109e-9, 1.6289355642129522e-7, -0.07223379611968994, -3.6381166523824504e-8, -1.1469441396627644e-8, 0.10162302106618881, ...
[ 1 ]
15
[ 0.0008339949999935925, 0.006897201761603355, 0.0008882054244168103, 0.0019530468853190541, 0.00018861865100916475, 0.005162861663848162, 0.00048656814033165574, 0.0007571763708256185, 0.003207661211490631, 0.00034653180046007037, 0.004553249571472406, 0.0004538468492683023, 0.002639540471136...
eae8ae46d29d56d0
[ -0.0025111217983067036, -1.4313928931031228e-9, 6.600517821198082e-8, 0.03659292683005333, 7.464331730488993e-8, 8.722746258627012e-8, 0.10074933618307114, -8.796582307013523e-8, -2.987669489584732e-8, 0.01679152064025402, -0.012162555009126663, -9.400289968652942e-8, 0.3026478886604309, 0...
[ 1 ]
16
[ 0.0021318774670362473, 0.0004021968925371766, 0.0015527211362496018, 0.00023230267106555402, 0.0018904502503573895, 0.002161408308893442, 0.004386500455439091, 0.0010004714131355286, 0.009129462763667107, 0.0003033702669199556, 0.0006756242946721613, 0.0021131241228431463, 0.0039720772765576...
b99624006faf9053
[ 0.00009306034917244688, -1.9977829168738026e-8, -1.8959106284910376e-7, -0.00001163833076134324, -4.0065742723527364e-8, -7.782009703305448e-8, 0.029819870367646217, 2.923256481324188e-8, 1.0248204773688485e-7, 0.0021054348908364773, 4.276093790167579e-8, 7.370245924676055e-8, -0.03317589312...
[ 1 ]
17
[ 0.00012537711882032454, 0.0030858381651341915, 0.0051285987719893456, 0.0018593774875625968, 0.0012254607863724232, 0.0007455500890500844, 0.00017161604773718864, 0.0031227392610162497, 0.0011298595927655697, 0.00005786303518107161, 0.0006159014883451164, 0.004072273150086403, 0.003395982552...
e142d86d41b2de67
[ -0.4195842742919922, -3.232536585073831e-7, 2.1256443005768233e-7, 0.012885845266282558, 2.950155675307542e-8, 5.3318780501854235e-9, 0.01622483879327774, 2.3120124481579296e-8, -1.9626538616535072e-8, 0.04478657245635986, 7.781273403395517e-9, 5.644014322570001e-8, 0.039200205355882645, -...
[ 1 ]
18
[ 0.0010809783125296235, 0.000561774242669344, 0.0013446289813145995, 0.0013699912233278155, 0.001200457918457687, 0.0010394171113148332, 0.005822091829031706, 0.0018609128892421722, 0.0029135681688785553, 0.0010388190858066082, 0.0011213480029255152, 0.002159827621653676, 0.003790198359638452...
2a4068c960c1fe90
[ 0.01463632844388485, 2.091760187283853e-8, 1.413374945968826e-7, 0.003861483884975314, -0.0027970075607299805, -7.478787011905297e-8, -0.10499836504459381, 9.11181814444717e-8, 7.36768441811364e-8, 0.08761614561080933, 1.0647883463832386e-8, -6.679682940102794e-8, -0.029454832896590233, -2...
[ 1 ]
19
[ 0.002772465581074357, 0.0008870309102348983, 0.0020494433119893074, 0.01711214706301689, 0.00016486230015289038, 0.001404114649631083, 0.0005181236192584038, 0.0020896790083497763, 0.002091430826112628, 0.0013887498062103987, 0.004655801225453615, 0.0014957590028643608, 0.0033977667335420847...
2bdba1aebffcab42
[ 0.583020031452179, 1.0145961226726286e-7, -1.5058533620049275e-7, -0.0022903061471879482, 8.5551668860262e-8, -1.1020679124840171e-7, 0.07980306446552277, -0.05780339613556862, 3.15448041021682e-8, 0.06932364404201508, 8.682063423748332e-8, 1.6537613589662215e-7, 0.09801261872053146, -1.62...
[ 1 ]
20
[ 0.002206380246207118, 0.0037214322946965694, 0.0022992354352027178, 0.000469218532089144, 0.0008876539068296552, 0.00532552832737565, 0.0019501892384141684, 0.0029134403448551893, 0.0013337297132238746, 0.0006118049495853484, 0.0009289951412938535, 0.000044896238250657916, 0.0008321848581545...
f2ad84e04ad4d7bb
[ -0.011777863837778568, -1.4662596470316203e-7, -2.0371988540546226e-8, 0.0019874079152941704, 4.092610339512248e-8, 8.830679298910127e-9, 0.08384743332862854, 2.512725316705655e-8, -3.823164362870557e-8, -0.09305105358362198, -3.376621648953915e-8, 6.741828428857843e-8, -0.15638461709022522,...
[ 1 ]
End of preview. Expand in Data Studio

QM9 — Quantum-Relabeled Dataset

A quantum-relabeled edition of QM9 (Ramakrishnan et al. 2014, arXiv:1406.7144 / Scientific Data 1) — the canonical small-molecule quantum-chemistry benchmark: 133,885 stable organic molecules built from H, C, N, O, F, with seventeen quantum-mechanical properties per molecule (HOMO, LUMO, gap, dipole moment, polarizability, internal energy at 0 K and 298 K, enthalpy, free energy, heat capacity, zero-point vibrational energy, spatial extent, …) computed at the B3LYP/6-31G(2df,p) level.

Each molecule carries its full atomic-coordinate representation, the seventeen original DFT property targets, and a quantum-native label y_q produced by a Heisenberg-model quantum kernel on a 9-qubit simulator — one qubit per heavy atom for the 9-heavy headline subset. The precomputed quantum kernel matrix K_q, the per-sample 1-RDM observables, and the QIR provenance circuit are shipped alongside, so downstream consumers train against quantum-geometric structure without running any quantum circuit themselves.

Produced by ReLab (Sirius Quantum), shipped in QParquet v1.0.


Headline result

On the 9-heavy-atom subset of QM9 (the namesake of the dataset — molecules with exactly nine non-hydrogen atoms in C / N / O / F), training/test split N_train = 300 / N_test = 100 stratified by HOMO–LUMO-gap quartile, the quantum kernel exposes a structural label channel that classical kernels on the same atomic-coordinate features cannot represent at all.

Quantum-kernel separation on a structural label channel — verified across four independent RNG seeds:

measurement mean ± std (4 seeds) range interpretation
accuracy of quantum-kernel SVC on the quantum-native label channel 0.97 ± 0.03 0.93 – 1.00 quantum kernel fits its own geometric label direction
accuracy of classical-RBF SVC on the same labels 0.49 ± 0.03 0.44 – 0.51 at chance — classical RBF has no signal in this direction
prediction-accuracy advantage of quantum kernel over classical RBF on the label channel +0.48 ± 0.02 +0.46 – +0.51 head-to-head separation on a structural label channel (Huang et al. 2021)
kernel-space geometric difference g(K_Q, K_RBF) 75 ± 26 52 – 117 quantum and classical kernels are structurally distinct — every seed 3-6× above the sample-size reference √N = 17.32 (Schuld 2024; Huang 2021 Fig. 1)
sample-complexity ratio s_classical / s_quantum from kernel-target alignment ~3,000× ± 700 2,293 – 4,150 quantum kernel needs roughly three orders of magnitude less data to reach the same alignment

Shuffled-label null — 30 random permutations of training labels per seed, with the fixed real test labels held out:

measurement mean z-score (4 seeds) range
quantum SVC accuracy vs shuffled chance +8.9 σ +7.8 σ – +10.7 σ
advantage vs shuffled chance +7.7 σ +7.1 σ – +8.2 σ

The structural label channel signal is seven to eight standard deviations above the shuffled-label null distribution at every seed tested, with intra-seed std small relative to the mean. The classical SVC sits at chance whether training labels are real or shuffled — confirming that y_q is genuinely quantum-geometric, not a memorization or class-imbalance artifact.

Reproduction across four RNG seeds (experiments/diagnose_qm9_seed_sweep.py):

seed acc_quantum acc_classical advantage g(K_Q, K_RBF) s_c / s_q z(advantage) structural signals
42 0.97 0.51 +0.46 57 2,293× +7.14 σ 3 / 3
43 0.98 0.51 +0.47 52 2,997× +7.56 σ 3 / 3
44 1.00 0.49 +0.51 73 2,575× +8.02 σ 3 / 3
45 0.93 0.44 +0.49 117 4,150× +8.23 σ 3 / 3

The three structural signals — accuracy advantage on y_q, geometric difference exceeding √N, and lower sample complexity for the quantum kernel — are the conditions Huang 2021 §IV names for a potential large advantage of a quantum kernel over the classical RBF baseline. QM9 9-qubit clears all three at every seed tested.


Context — original-task regression (not the dataset's claim)

The dataset's value is the quantum-native label channel and the precomputed quantum kernel matrix. Original-task regression is included for context only and is not the dataset's claim: classical SoTA on QM9 properties uses learned representations (sGDML, SchNet, PaiNN, MACE) at MAE around 0.05 eV for HOMO–LUMO gap with the full 134k training set, far beyond what kernel ridge regression on Coulomb features can reach. The kernel matrix shipped here is built for quantum-geometric structure, not for absolute-property regression.

For honesty, twelve original DFT properties + the derived HOMO–LUMO gap, kernel ridge regression test-set MAE, quantum kernel K_q vs classical RBF on the same 45-dimensional packed Coulomb features (45 = 9 × 10 / 2; 9-qubit encoding gives 5× feature compression):

target observed range classical-RBF MAE quantum-kernel MAE
gap (HOMO–LUMO) 0.05 – 0.36 Ha 0.021 0.134
homo −0.30 – −0.20 Ha 0.014 0.141
lumo −0.10 – +0.10 Ha 0.019 0.028
mu (dipole moment) 0 – 18 D 1.58 1.95
alpha (polarizability) 50 – 200 Bohr³ 2.25 47
u0 (internal E at 0 K) −1100 – −300 Ha 4.1 269
u (internal E at 298 K) similar 4.1 269
h (enthalpy) similar 4.1 269
g (Gibbs free energy) similar 4.1 269
cv (heat capacity, 298 K) 6 – 50 cal/mol·K 0.78 18.6
zpve (zero-point vibrational E) 0.02 – 0.30 Ha 0.008 0.081
r2 (electronic spatial extent) 100 – 1500 Bohr² 38 724

Classical wins all twelve, consistent with Schuld 2024's observation that classical baselines beat quantum kernels on arbitrary regression tasks out of the box. The dataset's quantum-relabeled value lives in the structural label channel above, not in absolute-property regression.


What this dataset adds over a classical QM9

field classical QM9 this dataset
atomic coordinates + 17 DFT property targets
packed heavy-atom Coulomb features (45-D)
K_q — precomputed quantum kernel matrix (N × N float32)
y_q — quantum-native labels in {−1, +1}
observables_1rdm — per-sample 1-RDM Pauli expectations
QIR provenance circuit per sample
validated schema + reproducibility metadata

The added columns express geometric structure in a 9-qubit Hilbert space (a Heisenberg model on the complete-graph molecular bond network) that classical kernels on the same Coulomb features have no representation for — quantified by the four-seed head-to-head accuracy gap and shuffled-null z-scores above.


Schema (QParquet v1.0)

QParquet v1.0 ships a kernel-centric schema; classical features and 17 DFT targets stay joinable from the upstream Ramakrishnan 2014 QM9 source by input_id (SHA-1 of the packed Coulomb sub-vector, first 16 hex chars).

column type shape description
row_idx int64 (N,) row index 0 … N − 1, sorted on read
input_id string (N,) stable per-sample identifier (SHA-1 of features_packed[i])
kernel_row list (N,) per row → (N, N) total row of K_q — the quantum fidelity kernel matrix
labels_quantum int8 (N, 1) y_q ∈ {−1, +1} — quantum-native labels
observables_1rdm list (N, 27) per-sample 1-RDM Pauli ⟨X_j⟩, ⟨Y_j⟩, ⟨Z_j⟩ for j ∈ [0, 9)
file-level qparquet_metadata JSON (parquet key-value metadata) encoding, n_qubits, backend, four-seed evaluation report, shuffled-null table, citations

Validation at write time: K_q square, symmetric within atol = 1e-6, diagonal ≈ 1.0 within atol = 1e-3, input_ids unique, observables_1rdm shape (N, 3 · n_qubits) = (N, 27).

To recover the seventeen DFT property targets, join by input_id against the upstream Ramakrishnan 2014 QM9 source (e.g. via datasets.load_dataset("yairschiff/qm9") — same data as the figshare DOI 10.6084/m9.figshare.978904, parsed). The classical view is not duplicated in this artifact; its value is the quantum-relabeled columns.


Loading

import numpy as np
import pyarrow.parquet as pq
from sklearn.svm import SVC
from sklearn.kernel_ridge import KernelRidge

# QParquet v1.0 — read the kernel matrix and quantum labels
table = pq.read_table("qm9_quantum.parquet")
df    = table.to_pandas()
K_q   = np.vstack(df["kernel_row"].to_numpy()).astype(np.float32)   # (N, N)
y_q   = np.vstack(df["labels_quantum"].to_numpy()).ravel().astype(np.int8)
input_ids = df["input_id"].tolist()

# File-level qparquet_metadata
import json
meta = json.loads(table.schema.metadata[b"qparquet_metadata"].decode())

# Train against the quantum-native label channel
clf = SVC(kernel="precomputed", C=1.0).fit(K_q[:300], y_q[:300])
print(clf.score(K_q[300:, :300], y_q[300:]))   # ~0.97

Drop-in for scikit-learn precomputed-kernel pipelines. No quantum hardware or simulator required at inference time.

To produce K_q and y_q for new molecules with the ReLab SDK:

import relab

K_q = relab.kernel(features_scaled, domain="molecular", n_qubits=9)
y_q = relab.fit(features_scaled, domain="molecular", n_qubits=9)

Methodology

  • Encoding: a Heisenberg model on the molecular bond graph (XX + YY + ZZ couplings, one qubit per heavy atom). For each pair of heavy atoms (i, j) the off-diagonal Coulomb element J_ij = Z_i Z_j / |R_i − R_j| becomes a bond coupling angle; the diagonal h_i = ½ Z_i^2.4 becomes a local field on qubit i. Reference: arXiv:2407.14055 (Heisenberg encoding for graph-structured data).
  • Why this encoding for molecular data: Coulomb-matrix entries are physics-native pairwise couplings — encoding them as quantum entanglement preserves the topological inductive bias that sorted-eigenspectrum representations (Rupp et al. 2012) destroy. Validated on QM7 atomization-energy and QM7b multi-property benchmarks prior to this release.
  • Feature scaling: MinMaxScaler to [−π, π] per Schuld, Sweke, Meyer 2021 Fourier-bandwidth constraint.
  • Quantum-label construction: generalized Rayleigh quotient on K_q against the classical-RBF kernel K_c, threshold at the median back-projection (Huang et al. 2021 §IV). Test-set extension via quantum-kernel interpolation — K_q is the only kernel that can faithfully generalize the quantum label direction.
  • Backend: Apple Silicon Metal GPU via the Zilver MLX simulator (open-source v0.3.2). Statevector-exact at 9 qubits. Cross-verified against a pure-NumPy reference at atol = 1e-4.

What this kernel is, in plain language

The kernel compresses the 45-dimensional packed Coulomb-matrix representation of every 9-heavy-atom molecule into a 9-qubit Hilbert space and measures molecular similarity as the fidelity of two Heisenberg-evolved states. At nine qubits, the Hilbert space is 512-dimensional — large enough for the kernel to resolve fine structural differences between molecules with similar Coulomb features, small enough to be classically simulable on a laptop in tens of seconds. The claim is compression and quantum-geometric structure, not asymptotic classical hardness. The geometry the kernel measures is not reproduced by RBF, polynomial, or cosine kernels on the same Coulomb features; the four-seed head-to-head and shuffled-null numbers above quantify by how much.

For the asymptotic-hardness question see Tang's body of work on dequantization (arXiv:1807.04271; arXiv:1910.06151) and the QSVT framework (Gilyén, Su, Low, Wiebe 2019). The plain Heisenberg fidelity kernel is BQP-complete worst-case (Janzing & Wocjan 2007) but admits no published Tang-style classical sampling algorithm; we do not make an asymptotic-hardness claim at nine qubits. The QSVT spectral-filter upgrade — block-encoding the molecular bond Hamiltonian and applying a HOMO–LUMO gap-midpoint projector polynomial — is provably not dequantizable (Lin & Tong 2020; Martyn et al. 2021) and is on the ReLab roadmap; it is not the kernel shipped in this dataset.


Reproduction

Headline run, single seed:

  • N_train = 300, N_test = 100, stratified across HOMO–LUMO-gap quartiles
  • RNG seed = 42 (and replicated at seeds 43, 44, 45)
  • Backend: Apple Silicon (Zilver MLX/Metal simulator; cross-verified against a NumPy reference at atol = 1e-4)
  • K_q for the full N = 400 Gram matrix computed in 13 s on a MacBook (Apple M-series, Zilver MLX/Metal).

Seed-sweep robustness (experiments/diagnose_qm9_seed_sweep.py):

  • 3,200-molecule 9-heavy candidate pool drawn from QM9
  • four independent train/test splits (seeds 42 – 45)
  • per-seed shuffled-null at n = 30 permutations

All shipped artifacts are precomputed; consumers can train against K_q and y_q without re-simulating.


Citation

@dataset{relab_qm9_quantum_2026,
  title  = {QM9 — Quantum-Relabeled (QParquet v1.0)},
  author = {ReLab (Sirius Quantum)},
  year   = {2026},
  source = {derived from Ramakrishnan et al. 2014, arXiv:1406.7144 / Scientific Data 1},
  note   = {Quantum kernel matrix and quantum-native labels via a Heisenberg model on the molecular bond graph (9 qubits, one per heavy atom). Four-seed verified result.}
}

If you build on this dataset, please also cite the upstream QM9 source (Ramakrishnan 2014) and the ReLab engine that generated the quantum-relabeled columns.

References

  • Ramakrishnan, Dral, Rupp, von Lilienfeld 2014 — arXiv:1406.7144 / Scientific Data 1, 140022 — QM9 dataset
  • Rupp, Tkatchenko, Müller, von Lilienfeld 2012 — arXiv:1109.2618 — Coulomb-matrix representation
  • Huang et al. 2021 — arXiv:2011.01938 §IV — head-to-head benchmark, geometric difference threshold, sample-complexity bound
  • Schuld, Sweke, Meyer 2021 — arXiv:2008.08605 — Fourier-bandwidth scaling
  • Schuld 2024 — arXiv:2403.07059 — geometric advantage g(K_Q, K_C)
  • Gilyén, Su, Low, Wiebe 2019 — arXiv:1806.01838 — QSVT
  • Janzing & Wocjan 2007 — arXiv:quant-ph/0610203 — BQP-completeness of Hamiltonian overlap
  • arXiv:2407.14055 — graph-Hamiltonian encoding for structured data
Downloads last month
51

Papers for SiriusQuantum/qm9-quantum-relabeled