xnn.common.data.hub.qm9#
QM9 dataset builder.
QM9 (Ramakrishnan et al., Sci. Data 1, 140022 (2014)) holds 133,885 small organic molecules of up to nine heavy atoms (C, N, O, F) with B3LYP/6-31G(2df,p) geometries and 15 properties each, the benchmark of the TorchMD-Net models (ET: Table 1 of Thoelke & De Fabritiis 2022; TensorNet: Table 1 of Pelaez et al. 2024).
Data: https://doi.org/10.6084/m9.figshare.978904 (dsgdb9nsd.xyz.tar.bz2
and uncharacterized.txt).
Notes
The 3054 molecules that failed the authors’ consistency check are excluded by default (
exclude_uncharacterized), leaving the 130,831 molecules of the usual benchmark splits (110,000 / 10,000 / 10,831).Energies (
U0,U,H,G,zpve,homo,lumo,gap) are Hartree upstream and converted to eV by default (units="eV"); the other properties keep their units. The per-element reference energies of the energies (atomref.txt) are available asatomic_energies().The archive of 133,885 xyz files is parsed once and cached as an
.npz.
Module Attributes
The 15 properties of every molecule, in file order. |
|
The properties given in Hartree upstream. |
Functions
|
The per-element reference energies of an energy label. |
|
Parse one QM9 xyz file into |
Classes
Builder for QM9 (133,885 molecules, 15 properties, random benchmark splits). |