Choosing a CIDER Functional
CiderPress 0.5.0 packages CIDER23X, CIDER24X, and CIDER26XC model files. Pass the model’s short name to the PySCF or GPAW constructor. The families learn different parts of the functional, and the learned quantity determines the initializer arguments described below.
Family selection
Family |
Learned quantity |
Electronic features |
Main use |
Backend |
|---|---|---|---|---|
CIDER23X |
Exchange |
Semilocal or NLDF |
Surrogate-hybrid molecular and solid calculations |
PySCF and classic GPAW |
CIDER24X |
Exchange |
Semilocal and SDMX |
Molecular energetics and orbital-energy-sensitive applications |
PySCF; PyTorch required |
CIDER26XC |
Full exchange-correlation |
Semilocal and NLDF |
Molecular chemistry, solids, surfaces, and adsorption |
PySCF and classic GPAW, subject to the model-specific restrictions below |
CIDER23X exchange models
All CIDER23X files learn exchange and are normally evaluated in the PBE0/CIDER surrogate-hybrid form. The semilocal models are useful references for separating the value of nonlocality from the regression method; the nonlocal meta-GGA variants are the main application models from that work.
Name |
Feature level |
Distinguishing role |
|---|---|---|
|
Semilocal GGA |
Learned semilocal exchange reference using the reduced gradient |
|
Semilocal meta-GGA |
Adds kinetic-energy-density information |
|
Nonlocal GGA |
Adds three version-j NLDF descriptors |
|
Nonlocal meta-GGA |
Combines meta-GGA and version-j NLDF descriptors |
|
Nonlocal meta-GGA |
Uses a PBE exchange baseline in the learned exchange model |
|
Nonlocal meta-GGA |
The PBE-baseline model retrained on the diverse-training (DTR) partition of GMTKN55 for improved numerical stability |
Initialize one of these models with the exchange fraction and external semilocal terms stated explicitly:
mf = make_cider_calc(
dft.RKS(mol),
"CIDER23X_NL_MGGA_DTR",
xmix=0.25,
xkernel="GGA_X_PBE",
ckernel="GGA_C_PBE",
)
The corresponding GPAW construction uses the same three composition
arguments. Changing xmix defines a different surrogate-hybrid
functional.
CIDER24X SDMX exchange models
The CIDER24X models use smoothed density-matrix exchange descriptors and a mapped neural evaluator. Install their optional PyTorch dependency before loading them:
pip install 'ciderpress[cider24]'
For systems requiring a platform-specific CPU or CUDA build, install PyTorch using its platform instructions before installing CiderPress.
CIDER24XneTrained on energy labels.
CIDER24XeTrained on total-energy and orbital-energy labels.
Both are exchange models. Use the explicit PBE0/CIDER composition shown for CIDER23X. They are supported through the molecular PySCF interface. The periodic PySCF SDMX implementation supports methodological reproduction of the CIDER24X work. Packaged periodic NLDF calculations use GPAW.
CIDER26XC full-XC models
Name |
Intended domain |
Dispersion |
Recommended backend |
|---|---|---|---|
|
Molecular chemistry |
Electronic model |
PySCF |
|
Molecular chemistry where an explicit D4 asymptote is desired |
Post-density D4 |
PySCF only |
|
Molecules, solids, surfaces, and adsorption |
Electronic model |
PySCF and classic GPAW |
These files already contain the full XC energy form and feature vectors described in From Exchange Models to Full XC. PySCF’s defaults are correct:
mf = make_cider_calc(dft.RKS(mol), "CIDER26XCCHEM")
GPAW’s initializer serves both exchange and full-XC models. Its defaults
are xmix=1.0 with the PBE kernel strings "GGA_X_PBE" and
"GGA_C_PBE"; leaving ckernel set would add a second PBE correlation
term to the full XC already stored in CIDER26XC. Supply the full-XC
composition explicitly:
xc = get_cider_functional(
"CIDER26XCSURFSCI",
xmix=1.0,
xkernel=None,
ckernel=None,
)
get_cider_functional validates these arguments against the stored model
composition. Pass all three explicitly for GPAW full-XC models.
PySCF is the intended molecular representation for CIDER26XCCHEM; the
electronic model can also be evaluated in an isolated GPAW PAW box.
CIDER26XCCHEMD4 uses the PySCF D4 energy interface, and selecting it in
GPAW raises an error.
D4 with CIDER26XCCHEMD4
D4 is evaluated from the geometry after the density SCF, so it changes the total energy but not the CIDER potential or density. CiderPress adds the term the model was trained with exactly once, whether or not a dispersion wrapper is already attached to the SCF object. The calculation attributes that record this are documented in Molecular Calculations with PySCF.
The analytical molecular gradient includes the corresponding D4 derivative; the complete gradient interface is documented in Energies and Derivative Properties.
Loading rules and model trust
All packaged names accept an optional .yaml suffix. Explicit paths to
other YAML or joblib models remain supported, and a real file at the supplied
path takes precedence over a packaged name.
Mapped CIDER YAML and joblib files reconstruct Python model objects and therefore require a trusted source. Packaged models have the fixed checksums listed below. The checksum provides an exact identifier for an external model artifact.
Checksums
Model |
SHA-256 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See Citing CIDER and CiderPress for family-specific citations.