Deep-Learning DFT Software

Electronic structure,
at O(N).

Advance/OF-DFT is electronic structure software powered by AdvanceSoft26, a deep-learned kinetic energy functional. It simulates the electronic structure of materials faster than Kohn-Sham DFT, and with higher accuracy and broader applicability than conventional orbital-free DFT.

What is Advance/OF-DFT

DFT without orbitals, at practical accuracy.

Kohn-Sham DFT, the standard method of density functional theory (DFT), works with orbitals that extend over the entire system, so its computational cost grows as the cube of the number of atoms N. Orbital-free DFT, which optimizes the electron density directly without orbitals, runs in O(N), but the accuracy of the kinetic energy functional and the small number of usable pseudopotentials have been long-standing challenges.

Advance/OF-DFT resolves both challenges with AdvanceSoft26, a deep-learned kinetic energy functional based on AdvanceSoft's proprietary patented technology, and Atomic Orbital Facilitated DFT (AOF-DFT), a new method that makes norm-conserving pseudopotentials usable.

O(N)

Cost proportional to the number of atoms

Kohn-Sham DFT scales as O(N³), so the gap widens as the system grows.

68 elements

Supports H through Bi

Uses norm-conserving pseudopotentials (v1.0 excludes the lanthanides).

GPU

Runs on both CPU and GPU

PyTorch implementation with OpenMP thread parallelism and CUDA support.

ASE

Run from Python in a few lines

Provided as an ASE Calculator. Combine it directly with structure optimization and MD.

Product Videos

Advance/OF-DFT on video

Two videos of about three minutes each: an overview of Advance/OF-DFT, and a closer look at the technology behind it.

01 / Overview about 3 min

Advance/OF-DFT in three minutes

The ideas behind Advance/OF-DFT and what it can do.

02 / Technology about 3 min

The technology behind Advance/OF-DFT

A closer look at the deep-learned kinetic energy functional and AOF-DFT.

Features

Key features of Advance/OF-DFT

01 / KINETIC ENERGY FUNCTIONAL

AdvanceSoft26, a deep-learned kinetic energy functional

The kinetic energy functional is built on the Graphical, AdvanceSoft's proprietary extension of graph theory to continuous multivariable space. It is pre-trained on a wide variety of electronic states, including metals, insulators, oxides, surfaces, defects, and organic molecules.

  • Learns the features themselves, so a single framework represents a wide range of materials
  • A model representation independent of the computational mesh, for high transferability
  • Ships with Crystal26 for crystals and Molecule26 for molecules

How the Graphical works →

Architecture of AdvanceSoft26, the deep-learned kinetic energy functional built on the Graphical
Architecture of AdvanceSoft26. It takes the gradient and Laplacian of the electron density as input and outputs enhancement factors for the TF and vW models.

02 / AOF-DFT

O(N) DFT with norm-conserving pseudopotentials

Conventional orbital-free DFT carries no orbital information, so only local pseudopotentials could be used. AOF-DFT uses atomic orbitals to retain a density matrix only inside each atom. This keeps the amount of electron-density information at O(N) while making available the norm-conserving pseudopotentials proven in Kohn-Sham DFT.

  • Adopts the pseudo-atomic orbitals and pseudopotentials of OpenMX, covering 68 elements
  • Atomic orbitals also enable analysis of Mulliken charges and orbital populations
  • Forces and stress computed by PyTorch automatic differentiation

Read the theory behind AOF-DFT →

P₁P₂P₃P₄ ρ(r): electron density — defined system-wide, evaluated by functionals P: density matrix — kept only inside each atom (dashed circles)

Instead of orbitals that extend over the entire system, the electronic structure is represented by per-atom density matrices and functionals of the electron density.

03 / ELECTRONIC STRUCTURE

Electronic structure, beyond the reach of machine-learning interatomic potentials

Because the electron density is solved for explicitly, you can directly evaluate not only energies and atomic forces but also physical quantities that originate from the electrons. The computational cost is O(N), the same as for machine-learning interatomic potentials.

  • Output and visualization of the electron density and spin density (CUBE files)
  • Electron and hole doping, Fermi level, work function
  • Spin-polarized calculations and per-atom magnetic moments
  • Mulliken charges and orbital populations

See the analysis examples →

Deformation density map of crystalline Si: electrons accumulate on the Si-Si bonds
Deformation density of crystalline Si (computed with AdvanceSoft26). Regions where electrons accumulate as bonds form are shown in red (Example).

04 / PYTHON & PYTORCH

An ASE Calculator, from the Python you already use

The computational functionality is implemented as AOFDFTCalculator, which inherits from the Calculator class of ASE (Atomic Simulation Environment). You can use the ASE ecosystem as is: building structures, structure optimization, molecular dynamics, and visualization.

  • Source code and pre-trained models provided
  • Runs on Windows, Linux, and macOS
  • No limits on concurrent runs or on the machines used

See the software specifications →

python
from ase.build import bulk
from aofdft.calculator import AOFDFTCalculator

# build a Si crystal with ASE
atoms = bulk("Si", crystalstructure="diamond", a=5.43)

# attach the AOF-DFT calculator
atoms.calc = AOFDFTCalculator(
    kin_type  = "AS26",       # AdvanceSoft26
    kin_model = "Crystal26",  # pre-trained model for crystals
    vps_dir   = "path/to/DFT_DATA19_AS/VPS",
    pao_dir   = "path/to/DFT_DATA19_AS/PAO",
    device    = "cuda",       # or "cpu"
)

energy  = atoms.get_potential_energy()        # eV
forces  = atoms.get_forces()                  # eV/Angstrom
density = atoms.calc.rho                      # electron density
charges = atoms.arrays["charge"]              # Mulliken charges

Positioning

Filling the gap between Kohn-Sham DFT and machine-learning interatomic potentials

Advance/OF-DFT handles the electron density just as Kohn-Sham DFT does, at the same O(N) computational cost as machine-learning interatomic potentials.

Kohn-Sham DFTAdvance/OF-DFT
(AOF-DFT)
ML interatomic potentials
Computational costO(N³)O(N)O(N)
Electron densityYesYesNo
OrbitalsOrbitals extending over the entire systemDensity matrices within atoms onlyNone
AccuracyHighDepends on the kinetic energy functional
(AdvanceSoft26)
Depends on the potential and training data
Electron and hole dopingYesYesNo
Fermi level and work functionYesYesNo
Spin and atomic chargesYesYesNo, or approximate

Accuracy depends on the system under study. See the case studies for benchmark details.

Ready to adopt Advance/OF-DFT?

Advance/OF-DFT is provided under a perpetual license that includes the source code and pre-trained models. Feel free to contact us about product details, pricing, model fine-tuning, and more.