Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Nonlocal pseudopotential energy density functional for orbital-free density functional theory


Orbital-free density functional theory (OF-DFT) is an electronic structure method with a low computational cost that scales linearly with the number of simulated atoms, making it suitable for large-scale material simulations. It is generally considered that OF-DFT strictly requires the use of local pseudopotentials, rather than orbital-dependent nonlocal pseudopotentials, for the calculation of electron-ion interaction energies, as no orbitals are available. This is unfortunate situation since the nonlocal pseudopotentials are known to give much better transferability and calculation accuracy than local ones. We report here the development of a theoretical scheme that allows the direct use of nonlocal pseudopotentials in OF-DFT. In this scheme, a nonlocal pseudopotential energy density functional is derived by the projection of nonlocal pseudopotential onto the non-interacting density matrix (instead of “orbitals”) that can be approximated explicitly as a functional of electron density. Our development defies the belief that nonlocal pseudopotentials are not applicable to OF-DFT, leading to the creation for an alternate theoretical framework of OF-DFT that works superior to the traditional approach.


Ab initio calculations using Kohn-Sham (KS) density functional theory (DFT)1,2 can accurately describe the fundamental properties of various materials. However, its computational cost scales with the cube of the number of electrons in the simulation cell, which poses a major challenge to large-scale simulations. In contrast, orbital-free (OF) DFT is inherent of the lower computational cost that scales linearly with the number of atoms in the system, as it relies only on the electron density and the use of KS orbitals is avoided. As a result, OF-DFT is successfully applied to large-scale simulations of systems with up to millions of atoms3,4,5,6.

The accuracy of OF-DFT simulations depends strongly on the quality of the non-interacting kinetic energy and the electron-ion (or electron-pseudocore) interaction energy employed in the simulations. Many approximate kinetic energy density functionals (KEDFs) have been proposed to evaluate the non-interacting kinetic energy in OF-DFT7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39. Their use in combination with local pseudopotentials40,41,42,43,44 can achieve results that agree reasonably with those derived by KS-DFT, especially for main-group metals, III–V semiconductors24,34,36,45, and even systems with inhomogeneous electron density such as metal clusters and quantum dots37,39.

Unfortunately, the local pseudopotentials28,31,32,40,41,43 used to evaluate the electron-ion interaction energy suffer from a lack of transferability43, as they fail to reproduce the correct scattering behavior of the all-electron potentials46,47,48. Overcoming the transferability problem requires a reliance on either all-electron potential or nonlocal pseudopotentials (NLPPs), which are widely used in orbital-based approaches. However, it is practically unfeasible to use the all-electron potential, as an accurate all-electron KEDF for OF-DFT calculations is not yet available49,50. Furthermore, the use of NLPPs46,51 runs against conventional understanding, as no orbitals are available in the traditional framework of OF-DFT41,42,44,52,53.

A crucial nonlocal energy term with a set of angular-momentum-dependent energies has recently been added to OF-DFT calculations54,55 in an effort to correct errors arising from the use of KEDFs and local pseudopotentials. This approach has successfully reproduced the bulk properties of several standard structures of Ti. However, special care must be taken when applying it to a wide range of practical simulations, as frozen on-site orbitals and empirically directed fitting parameters are part of the model52. There is substantial demand for a general approach to evaluate the electron-ion interaction energy using NLPPs in OF-DFT calculations. In this manuscript, we developed a theoretical scheme that allows the direct use of the NLPPs for the calculation of electron-ion interaction energy in OF-DFT, together with a specially designed theoretical framework of OF-DFT. This development leads to an OF-DFT calculation that gives a better transferability than the existing OF-DFT method based on local pseudopotentials.

Results and discussion

Nonlocal pseudopotential energy density functional

In general, the total energy density functional of OF-DFT can be expressed as:

$$E[\rho ]= \, {T}_{s}[\rho ]+{E}_{H}[\rho ]+{E}_{XC}[\rho ]+{E}_{II}\left(\{{R}_{a}\}\right)\\ +\int \rho ({{{{{{{\bf{r}}}}}}}}){V}_{loc}({{{{{{{\bf{r}}}}}}}}){d}^{3}{{{{{{{\bf{r}}}}}}}},$$

where ρ, Ts, EH, EXC, EII, {Ra}, and Vloc are the electron density, KEDF, Hartree energy, exchange-correlation energy, ion-ion repulsion energy, the set of atomic positions, and local pseudopotential, respectively. To include the nonlocal electron-ion interactions, the total energy density functional of OF-DFT is reformulated as:

$$E[\rho ]= \; {T}_{s}[\rho ]+{E}_{H}[\rho ]+{E}_{XC}[\rho ]+{E}_{II}\left(\{{R}_{a}\}\right)\\ +\underbrace{\int\rho ({{{{{{{\bf{r}}}}}}}){V}_{loc}({{{{{{{\bf{r}}}}}}}}){d}^{3}{{{{{{{\bf{r}}}}}}}}+{E}_{nl}[\rho ]}}_{\begin{array}{c}{E}_{EI}[\rho ]\end{array}},$$

where the total electron-ion interaction energy EEI[ρ] can be separated into two parts: a local part Eloc[ρ] = ∫ρ(r)Vloc(r)d3r and a nonlocal part Enl[ρ]. All of the terms in Eq. (2) except the nonlocal part of pseudopotential (Enl[ρ]) can be evaluated easily.

The exact NLPP energy depends on the KS orbitals or the density matrix:

$${E}_{nl} \equiv \mathop{\sum }_{i}{f}_{i}\int \int {\psi }_{i}^{* }({{{{{{{{\bf{r}}}}}}}}}^{\prime}){V}_{nl}({{{{{{{{\bf{r}}}}}}}}}^{\prime},{{{{{{{\bf{r}}}}}}}}){\psi }_{i}({{{{{{{\bf{r}}}}}}}}){d}^{3}{{{{{{{\bf{r}}}}}}}}{d}^{3}{{{{{{{{\bf{r}}}}}}}}}^{\prime}\\ = \int \int {V}_{nl}({{{{{{{{\bf{r}}}}}}}}}^{\prime},{{{{{{{\bf{r}}}}}}}}){\gamma }_{s}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime}){d}^{3}{{{{{{{\bf{r}}}}}}}}{d}^{3}{{{{{{{{\bf{r}}}}}}}}}^{\prime},$$

where fi, \({V}_{nl}({{{{{{{{\bf{r}}}}}}}}}^{\prime},{{{{{{{\bf{r}}}}}}}})=\langle {{{{{{{{\bf{r}}}}}}}}}^{\prime}| {\hat{V}}_{nl}| {{{{{{{\bf{r}}}}}}}}\rangle\), and \({\gamma }_{s}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})={\sum }_{i}{f}_{i}{\psi }_{i}({{{{{{{\bf{r}}}}}}}}){\psi }_{i}^{* }({{{{{{{{\bf{r}}}}}}}}}^{\prime})\) represent the occupation number of the ith KS orbital ψi, the real-space representation of the nonlocal part pseudopotential, and the non-interacting density matrix, respectively. Considering that the density matrices \({\gamma }_{s}[\rho ]({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})\) can be used to approximate the KEDFs7,56,57, an NLPP energy density functional (NLPPF) relying directly on the density matrix is proposed to evaluate the nonlocal electron-ion interaction energy. The nonlocal electron-ion interaction energy is then rewritten as a function of electron density

$${E}_{nl}[\rho ]=\int \int {V}_{nl}({{{{{{{{\bf{r}}}}}}}}}^{\prime},{{{{{{{\bf{r}}}}}}}}){\gamma }_{s}[\rho ]({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime}){d}^{3}{{{{{{{\bf{r}}}}}}}}{d}^{3}{{{{{{{{\bf{r}}}}}}}}}^{\prime}.$$

By taking the Kleinman-Bylander form58 of norm-conserving NLPPs, the nonlocal part pseudopotential59 can be written as

$${V}_{nl}({{{{{{{{\bf{r}}}}}}}}}^{\prime},{{{{{{{\bf{r}}}}}}}})=\mathop{\sum}\limits_{a,lm}{E}_{KB}^{a,lm}{\chi }_{lm}^{a}({{{{{{{{\bf{r}}}}}}}}}^{\prime}){\chi }_{lm}^{a* }({{{{{{{\bf{r}}}}}}}}),$$

where \({E}_{KB}^{a,lm}={[\int{\phi }_{lm}^{a* }({{{{{{{\bf{r}}}}}}}})\delta {V}_{l}^{a}({{{{{{{\bf{r}}}}}}}}){\phi }_{lm}^{a}({{{{{{{\bf{r}}}}}}}}){d}^{3}{{{{{{{\bf{r}}}}}}}}]}^{-1}\) and \({\chi }_{lm}^{a}({{{{{{{\bf{r}}}}}}}})=\delta {V}_{l}^{a}({{{{{{{\bf{r}}}}}}}}){\phi }_{lm}^{a}({{{{{{{\bf{r}}}}}}}})\). The terms \({\phi }_{lm}^{a}\) and \(\delta {V}_{l}^{a}\) are the atomic pseudo-wave-function and the short-range pseudopotential corresponding to the lmth angular momentum of ath atom, respectively. γs[ρ] denotes the density matrix as a function of electron distribution ρ. Although there is no exact analytic form available for the density matrix functional, a modified Gaussian (MG)60 form derived from the second-order Taylor expansions of the density matrix61 was employed to approximate the density matrix functional:

$${\gamma }_{s}^{MG}[\rho ]({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})=\rho (\bar{{{{{{{{\bf{r}}}}}}}}}){e}^{-\frac{{s}^{2}}{2\beta (\bar{{{{{{{{\bf{r}}}}}}}}})}}\left[1+A{\left(\frac{{s}^{2}}{2\beta (\bar{{{{{{{{\bf{r}}}}}}}}})}\right)}^{2}\right],$$

where \(s=| {{{{{{{\bf{r}}}}}}}}-{{{{{{{{\bf{r}}}}}}}}}^{\prime}|\) and \(\bar{{{{{{{{\bf{r}}}}}}}}}=({{{{{{{\bf{r}}}}}}}}+{{{{{{{{\bf{r}}}}}}}}}^{\prime})/2\). The second term in the square bracket is O(s4) correction60, where A is an adjustable parameter. β(r) denotes the “local temperature” \(\beta ({{{{{{{\bf{r}}}}}}}})=\frac{3}{2}\frac{\rho ({{{{{{{\bf{r}}}}}}}})}{{t}_{s}({{{{{{{\bf{r}}}}}}}})}\)62,63, where ts(r) is the exact kinetic energy density defined as \({t}_{s}({{{{{{{\bf{r}}}}}}}})={t}_{s}^{KS}({{{{{{{\bf{r}}}}}}}})\equiv \mathop{\sum }\nolimits_{i = 1}^{Occ.}\frac{1}{8}| \nabla {\rho }_{i}({{{{{{{\bf{r}}}}}}}}){| }^{2}/{\rho }_{i}({{{{{{{\bf{r}}}}}}}})-\frac{1}{8}{\nabla }^{2}\rho ({{{{{{{\bf{r}}}}}}}})\) and ρi(r) = ψi(r)2 is ith KS orbital’s density (see Refs. 60,61). To remove the orbital-dependent problem in ts(r) and obtain a solely density-dependent form of the density matrix functional, the kinetic energy density is obtained directly from the integrand of KEDFs to replace the exact one: ts(r) ≈ ts[ρ](r). The widely used Wang-Teter (WT) KEDF28 is chosen as an exemplary case, and ts[ρ](r) can be expressed as

$${t}_{s}^{WT}[\rho ]({{{{{{{\bf{r}}}}}}}})= \, \frac{3}{10}{\left(3{\pi }^{2}\right)}^{2/3}{\rho }^{5/3}({{{{{{{\bf{r}}}}}}}})+\frac{1}{8}\frac{{\left|\nabla \rho ({{{{{{{\bf{r}}}}}}}})\right|}^{2}}{\rho ({{{{{{{\bf{r}}}}}}}})}\\ +{\rho }^{5/6}({{{{{{{\bf{r}}}}}}}})\int {\omega }_{WT}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime}){\rho }^{5/6}({{{{{{{{\bf{r}}}}}}}}}^{\prime}){d}^{3}{{{{{{{{\bf{r}}}}}}}}}^{\prime},$$

where \({\omega }_{WT}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})\) is the kernel of WT functional. The Supplementary Notes give the details of the kinetic energy densities obtained from WT and Xu-Wang-Ma38 KEDFs.

The direct numerical evaluations of \(\rho (\bar{{{{{{{{\bf{r}}}}}}}}})\) and \(\beta (\bar{{{{{{{{\bf{r}}}}}}}}})\) at the average position \(\bar{{{{{{{{\bf{r}}}}}}}}}\) are very complicated. They are therefore approximated using q-mean “nonlocal density” \({\rho }_{q}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})={\left[\frac{{\rho }^{q}({{{{{{{\bf{r}}}}}}}})+{\rho }^{q}({{{{{{{{\bf{r}}}}}}}}}^{\prime})}{2}\right]}^{1/q}\) and two-point average temperature \(\beta ({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})=[\beta ({{{{{{{\bf{r}}}}}}}})+\beta ({{{{{{{{\bf{r}}}}}}}}}^{\prime})]/2\) for systems with slowly varying electron densities. The density matrix functional of Eq. (6) can then be reformulated as

$${\tilde{\gamma }}_{s}^{MG}[\rho ]({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})={\rho }_{q}({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime}){e}^{-\frac{{s}^{2}}{2\beta ({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})}}\left[1+A{\left(\frac{{s}^{2}}{2\beta ({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime})}\right)}^{2}\right].$$

Combining Eqs. (4), (5), and (8) gives the NLPPF as

$${E}_{nl}[\rho ]\approx \mathop{\sum }_{a,lm}{E}_{KB}^{a,lm}\int_{{{{\Omega }}}_{a}}\int_{{{{\Omega }}}_{a}}{\chi }_{lm}^{a}({{{{{{{{\bf{r}}}}}}}}}^{\prime}){\chi }_{lm}^{a* }({{{{{{{\bf{r}}}}}}}}){\tilde{\gamma }}_{s}^{MG}[\rho ]({{{{{{{\bf{r}}}}}}}},{{{{{{{{\bf{r}}}}}}}}}^{\prime}){d}^{3}{{{{{{{\bf{r}}}}}}}}{d}^{3}{{{{{{{{\bf{r}}}}}}}}}^{\prime},$$

where the integral domain Ωa is the ath ionic core region. Owing to the short-range nature of \(\{{\chi }_{lm}^{a}({{{{{{{\bf{r}}}}}}}})\}\), the computational cost of Eq. (9) scales linearly \({{{{{{{\mathcal{O}}}}}}}}[c{N}_{a}]\) with the number of atoms (Na), where c can be regarded as a constant derived from the double integral within the near-core region. Within the NLPPF scheme, a new theoretical framework of OF-DFT has been built and implemented in ATLAS5,64. The further computational details are provided in Methods Section. The parameters of pseudopotential and NLPPF are presented in Supplementary Tables 1 and 2, respectively.

Computational accuracy of NLPPF scheme

We first applied this scheme for OF-DFT calculations of Li, Mg, and Cs within hexagonal-close-packed (HCP), face-centered cubic (FCC), body-centered cubic (BCC), simple cubic (SC), and cubic diamond structures. For each structure, 13 energy-volume points were calculated by expanding and compressing the approximate equilibrium volume by up to 20%, and the bulk properties (the equilibrium cell volume V0, bulk modulus B0, and the relative energy ER with respect to HCP structure) were determined by fitting the energy-volume curve against Murnaghan’s equation of state65. The comparison of the results obtained by OF-DFT using both local pseudopotentials (BLPS41 and OEPP43) and NLPPs against those calculated by KS-DFT using the projector augmented-wave (PAW)66 method are presented in Supplementary Table 3. For Li and Mg solids, the OF-DFT calculations within both local pseudopotentials and NLPPs give reasonable predictions of V0, B0, and ER, which are comparable with the KS-DFT results. It is noteworthy that our scheme shows an improvement over the local pseudopotentials of OEPP for bulk Cs. The accurate bulk properties of Li/Mg/Cs obtained by the current scheme demonstrate its valid applicability to simple metallic solids.

Further assessment of the accuracy of our scheme was demonstrated by molecular dynamics calculations for Li-Mg alloy. The calculations used a canonical ensemble (at 1000 K) in a supercell containing 108 atoms (Li54Mg54). The calculated pair distribution functions g(r) for Li-Mg alloy are shown in Fig. 1. Overall, the predicted shapes and peak neighbors of pair distribution functions by OF-DFT within NLPPF match the results calculated by KS-DFT. Especially notable are the resulting contributions of the partial distributions (Fig. 1b–d) calculated by OF-DFT within the NLPPF being almost identical to the KS-DFT calculations, which are superior to those obtained by the local pseudopotentials.

Fig. 1: Pair distribution functions for Li54Mg54 alloy.
figure 1

a Total, b Mg-Mg, c Li-Mg, and d Li-Li pair distribution functions.

Transferability of NLPPF scheme

To demonstrate the transferability of our scheme, we randomly generated 50 structures of Li systems using CALYPSO67,68. The total energies of these structures were calculated by OF-DFT and KS-DFT. The comparisons of total energy relative to the HCP structure (ER) are shown in Fig. 2. The orderings of energy are well captured by OF-DFT within NLPPF. The relative energies of different phases are overall well reproduced and in reasonable agreement with the KS-DFT results. The least-square fitting lines of WT-NLPPF are generally closer to the KS-PAW results than those from the local pseudopotentials. For example, the mean error of ER for Li systems obtained by OF-DFT within the WT-NLPPF is 45 meV/atom, which is lower than that within BLPS (73 meV/atom), or OEPP (201 meV/atom). Therefore, this framework of OF-DFT with improved transferability is superior to the traditional one.

Fig. 2: Relative energies for random structures of elemental Li.
figure 2

The results are calculated by OF-DFT using BLPS, OEPP and NLPPF in comparison with that by KS-DFT using the PAW method. Blue dash-dotted and red dashed lines are the least-square fittings of WT-BLPS and WT-NLPPF results, respectively.

Previous studies have shown that OF-DFT with local pseudopotentials can be applied to most s- and p-block metals. However, OF-DFT simulation using the local pseudopotential OEPP shows unacceptable errors for various crystalline phases of Be (Fig. 3): the curves of energy with respect to volume for HCP and FCC structures show the total energy monotonically decreasing with increasing volume. In contrast, the curves with clear minima predicted by OF-DFT within NLPPF agree well with those produced by KS-DFT. These findings indicate the significant superiority of our proposed framework over the conventional one.

Fig. 3: Relative energy versus volume curves for Be systems.
figure 3

a The calculated energy-volume curves of Be-HCP. b The calculated energy-volume curves of Be-FCC. The total energy shift of WT-OEPP is −33.030 eV/atom.

Note that the bulk properties (e.g., equilibrium volume, bulk modulus, and relative energy) calculated by OF-DFT within NLPPF reproduce the results of KS-DFT for Li and Mg almost exactly (Table 1), considering the maximal deviation of ER is within 32 meV/atom. However, there are some discrepancies for crystalline phases of Be: in particular, the deviation of ER for the SC structure is larger than 400 meV/atom. To explore the causes of these discrepancies, we estimated the errors of the kinetic energy density of the WT-KEDF with respect to the KS kinetic energy density along the [100] and [111] directions in the SC structures of Li, Mg, and Be (Fig. 4). The kinetic energy density of KS-DFT is clearly reproduced accurately by the WT-KEDF for Li and Mg with slow variations of electron densities. However, it is seriously underestimated for Be, in which the electron distribution rapidly varies in the near-core region. Therefore, we believe that errors in the kinetic energy densities for Be lead to the discrepancy in its bulk properties obtained by the framework of OF-DFT within the NLPPF. The findings are fairly consistent with our expectation that the performance of the NLPPF relies strongly on the accuracy of kinetic energy density, as manifested by Eqs. (7) and (8).

Table 1 B0 (GPa), ER (eV/atom), and V03/atom) for bulk Li, Mg, and Be by KS-DFT and OF-DFT.
Fig. 4: Kinetic energy differences in SC structure for Li, Mg, and Be systems.
figure 4

a The calculated differences along [100] direction. b The calculated differences along [111] direction. Note that \({{\Delta }}t({{{{{{{\bf{r}}}}}}}})\equiv {t}_{s}^{WT}[{\rho }^{KS}]({{{{{{{\bf{r}}}}}}}})-{t}_{s}^{KS}({{{{{{{\bf{r}}}}}}}})\).

Due to the existence of significant differences in kinetic energy density between WT and the exact one for Cd systems including localized d-channel electrons (see Supplementary Fig. 1), the NLPPF using WT cannot be applicable to investigate Cd systems with d-channel electrons. Therefore, the NLPP of Cd was constructed without d-channel electrons for the additional calculations. As listed in Table 2, the bulk properties predicted by the OF-DFT within NLPPF framework agree fairly well with the predictions by KS-DFT using the same NLPP, whereas WT-OEPP gives serious discrepancies compared with KS-NLPP results in all bulk properties. Although the calculations using NLPP without d-channel electrons cannot give the accurate bulk properties for Cd systems (Table 2), OF-DFT within NLPPF works superior to that within OEPP. Overall, it can be expected this NLPPF scheme using accurate KEDF and its kinetic energy density can be applied to the systems including localized electrons, such as the transition metals or covalent systems.

Table 2 B0 (GPa), ER (eV/atom), and V03/atom) for bulk Cd by KS-DFT and OF-DFT.

Computational efficiency of NLPPF scheme

To assess the computational efficiency of the current scheme, static simulations of Cs BCC supercells containing 128–16,000 atoms were performed by OF-DFT within NLPPF. The total wall time of the single point energy calculations is plotted with respect to the number of atoms in Supplementary Fig. 2. The computational cost of this framework clearly scales linearly with the number of atoms in the simulation cell, in sharp contrast to the cubic scaling of KS-DFT. This shows that the OF-DFT within NLPPF is potentially applicable to the simulation of large-scale systems containing millions of atoms.

In summary, we proposed an NLPPF scheme that allows the direct use of NLPPs in OF-DFT calculations. The static and dynamic properties of s- and p-block metals calculated within this scheme agree well with KS-DFT predictions and show significant improvements in the computational accuracy and transferability over conventional OF-DFT with local pseudopotentials. With this work, we defy the conventional wisdom of orbital-dependent NLPPs being incompatible with OF-DFT, leading to the creation of an alternative framework of OF-DFT, which opens up new avenues for further development of the theory.


Pseudopotential generations

The Troullier-Martins NLPPs59 are generated by the FHI98PP47 code for all considered systems [see Supplementary Table 1] and the p-channel of the NLPPs is used as the local pseudopotential of Vloc(r) in OF-DFT.

Numerical calculations

The KS-DFT calculations using the PAW66 and NLPP are performed by VASP69,70 and ARES packages71, respectively. The k-point meshes are generated using the Monkhorst-Pack method72 with the k-spacing of 0.10 Å−1. The kinetic energy cutoff is 500 eV for all the simulations using VASP. The OF-DFT calculations are carried out by ATLAS5,64 using WT28 as KEDF, and the corresponding kinetic energy density is used to construct the NLPPF. The generalized gradient approximation with the form of Perdew-Burke-Ernzerhof73 is employed for both OF-DFT and KS-DFT calculations. The grid spacings of 0.18, 0.18, 0.22, 0.10, 0.15, 0.22, 0.12, and 0.15 Å are used in ATLAS/ARES for Li, Mg, Cs, Be, Cd, K, Zn, and Li-Mg alloy, respectively. The parameters of A and q in NLPPFs are presented in Supplementary Table 2 carefully tuned to yield the bulk properties, which agree with the KS-DFT (NLPPs) predictions.

Molecular dynamics

The molecular dynamic simulations of Li-Mg alloy are performed in the canonical ensemble (at 1000 K) applying the Nosé-Hoover thermostat74,75 simulations up to 10 ps (0.5 fs/step), with the first 10,000 steps for equilibrating the system. The data for further analysis were collected from the subsequent 10,000 steps.

Data availability

The authors declare that the main data supporting the findings of this study are contained within the paper and its associated Supplementary Information. All other relevant data are available from the corresponding authors upon reasonable request.


  1. Hohenberg, P. & Kohn, W. Inhomogeneous electron gas. Phys. Rev. 136, B864 (1964).

    ADS  MathSciNet  Google Scholar 

  2. Kohn, W. & Sham, L. J. Self-consistent equations including exchange and correlation effects. Phys. Rev. 140, A1133 (1965).

    ADS  MathSciNet  Google Scholar 

  3. Chen, M. et al. Introducing profess 3.0: an advanced program for orbital-free density functional theory molecular dynamics simulations. Computer Phys. Commun. 190, 228–230 (2015).

    ADS  CAS  MATH  Google Scholar 

  4. Chen, M., Jiang, X.-W., Zhuang, H., Wang, L.-W. & Carter, E. A. Petascale orbital-free density functional theory enabled by small-box algorithms. J. Chem. Theory Comput. 12, 2950–2963 (2016).

    CAS  PubMed  Google Scholar 

  5. Shao, X. et al. Large-scale ab initio simulations for periodic system. Computer Phys. Commun. 233, 78–83 (2018).

    ADS  CAS  Google Scholar 

  6. Shao, X., Jiang, K., Mi, W., Genova, A. & Pavanello, M. Dftpy: an efficient and object-oriented platform for orbital-free DTF simulations. Wiley Interdiscip. Rev.: Computational Mol. Sci. 11, e1482 (2021).

    CAS  Google Scholar 

  7. Wang, Y. A. & Carter, E. A. Orbital-Free Kinetic-Energy Density Functional Theory, 117–184 (Springer Netherlands, Dordrecht, 2002).

  8. Wesolowski, T. A. & Wang, Y. A. Recent Progress in Orbital-free Density Functional Theory (World Scientific, 2013).

  9. Thomas, L. H. The calculation of atomic fields. Math. Proc. Camb. Philos. Soc. 23, 542–548 (1927).

    ADS  CAS  MATH  Google Scholar 

  10. Fermi, E. Statistical method to determine some properties of atoms. Rend. Accad. Naz. Lincei 6, 5 (1927).

    Google Scholar 

  11. Fermi, E. Eine statistische methode zur bestimmung einiger eigenschaften des atoms und ihre anwendung auf die theorie des periodischen systems der elemente. Z. f.ür. Phys. 48, 73–79 (1928).

    ADS  CAS  MATH  Google Scholar 

  12. Weizsäcker, C. V. Zur theorie der kernmassen. Z. f.ür. Phys. 96, 431–458 (1935).

    ADS  MATH  Google Scholar 

  13. Ou-Yang, H. & Levy, M. Theorem for functional derivatives in density-functional theory. Phys. Rev. A 44, 54 (1991).

    ADS  CAS  PubMed  Google Scholar 

  14. Perdew, J. P. Generalized gradient approximation for the fermion kinetic energy as a functional of the density. Phys. Lett. A 165, 79–82 (1992).

    ADS  CAS  Google Scholar 

  15. Thakkar, A. J. Comparison of kinetic-energy density functionals. Phys. Rev. A 46, 6920 (1992).

    ADS  CAS  PubMed  Google Scholar 

  16. Vitos, L., Johansson, B., Kollar, J. & Skriver, H. L. Local kinetic-energy density of the airy gas. Phys. Rev. A 61, 052511 (2000).

    ADS  Google Scholar 

  17. Ernzerhof, M. The role of the kinetic energy density in approximations to the exchange energy. J. Mol. Structure: THEOCHEM 501, 59–64 (2000).

    Google Scholar 

  18. García-Aldea, D. & Alvarellos, J. Kinetic energy density study of some representative semilocal kinetic energy functionals. J. Chem. Phys. 127, 144109 (2007).

    ADS  PubMed  Google Scholar 

  19. Constantin, L. A. & Ruzsinszky, A. Kinetic energy density functionals from the airy gas with an application to the atomization kinetic energies of molecules. Phys. Rev. B 79, 115117 (2009).

    ADS  Google Scholar 

  20. Constantin, L. A., Fabiano, E., Laricchia, S. & Della Sala, F. Semiclassical neutral atom as a reference system in density functional theory. Phys. Rev. Lett. 106, 186406 (2011).

    ADS  PubMed  Google Scholar 

  21. Laricchia, S., Fabiano, E., Constantin, L. & Della Sala, F. Generalized gradient approximations of the noninteracting kinetic energy from the semiclassical atom theory: rationalization of the accuracy of the frozen density embedding theory for nonbonded interactions. J. Chem. Theory Comput. 7, 2439–2451 (2011).

    CAS  PubMed  Google Scholar 

  22. Karasiev, V. V., Chakraborty, D., Shukruto, O. A. & Trickey, S. Nonempirical generalized gradient approximation free-energy functional for orbital-free simulations. Phys. Rev. B 88, 161108 (2013).

    ADS  Google Scholar 

  23. Constantin, L. A., Fabiano, E., Śmiga, S. & Della Sala, F. Jellium-with-gap model applied to semilocal kinetic functionals. Phys. Rev. B 95, 115153 (2017).

    ADS  Google Scholar 

  24. Luo, K., Karasiev, V. V. & Trickey, S. A simple generalized gradient approximation for the noninteracting kinetic energy density functional. Phys. Rev. B 98, 041111 (2018).

    ADS  CAS  Google Scholar 

  25. Constantin, L. A., Fabiano, E. & Della Sala, F. Semilocal Pauli–Gaussian kinetic functionals for orbital-free density functional theory calculations of solids. J. Phys. Chem. Lett. 9, 4385–4390 (2018).

    CAS  PubMed  Google Scholar 

  26. Luo, K., Karasiev, V. V. & Trickey, S. Towards accurate orbital-free simulations: a generalized gradient approximation for the noninteracting free energy density functional. Phys. Rev. B 101, 075116 (2020).

    ADS  CAS  Google Scholar 

  27. Chacón, E., Alvarellos, J. & Tarazona, P. Nonlocal kinetic energy functional for nonhomogeneous electron systems. Phys. Rev. B 32, 7868 (1985).

    ADS  Google Scholar 

  28. Wang, L.-W. & Teter, M. P. Kinetic-energy functional of the electron density. Phys. Rev. B 45, 13196 (1992).

    ADS  CAS  Google Scholar 

  29. Smargiassi, E. & Madden, P. A. Orbital-free kinetic-energy functionals for first-principles molecular dynamics. Phys. Rev. B 49, 5220 (1994).

    ADS  CAS  Google Scholar 

  30. Perrot, F. Hydrogen-hydrogen interaction in an electron gas. J. Phys.: Condens. Matter 6, 431 (1994).

    ADS  CAS  Google Scholar 

  31. Wang, Y. A., Govind, N. & Carter, E. A. Orbital-free kinetic-energy functionals for the nearly free electron gas. Phys. Rev. B 58, 13465 (1998).

    ADS  CAS  Google Scholar 

  32. Wang, Y. A., Govind, N. & Carter, E. A. Orbital-free kinetic-energy density functionals with a density-dependent kernel. Phys. Rev. B 60, 16350 (1999).

    ADS  CAS  Google Scholar 

  33. Garcia-Aldea, D. & Alvarellos, J. Kinetic-energy density functionals with nonlocal terms with the structure of the thomas-fermi functional. Phys. Rev. A 76, 052504 (2007).

    ADS  Google Scholar 

  34. Huang, C. & Carter, E. A. Nonlocal orbital-free kinetic energy density functional for semiconductors. Phys. Rev. B 81, 045206 (2010).

    ADS  Google Scholar 

  35. Constantin, L. A., Fabiano, E. & Della Sala, F. Nonlocal kinetic energy functional from the jellium-with-gap model: applications to orbital-free density functional theory. Phys. Rev. B 97, 205137 (2018).

    ADS  CAS  Google Scholar 

  36. Mi, W., Genova, A. & Pavanello, M. Nonlocal kinetic energy functionals by functional integration. J. Chem. Phys. 148, 184107 (2018).

    ADS  PubMed  Google Scholar 

  37. Mi, W. & Pavanello, M. Orbital-free density functional theory correctly models quantum dots when asymptotics, nonlocality, and nonhomogeneity are accounted for. Phys. Rev. B 100, 041105 (2019).

    ADS  CAS  Google Scholar 

  38. Xu, Q., Wang, Y. & Ma, Y. Nonlocal kinetic energy density functional via line integrals and its application to orbital-free density functional theory. Phys. Rev. B 100, 205132 (2019).

    ADS  CAS  Google Scholar 

  39. Xu, Q., Lv, J., Wang, Y. & Ma, Y. Nonlocal kinetic energy density functionals for isolated systems obtained via local density approximation kernels. Phys. Rev. B 101, 045110 (2020).

    ADS  CAS  Google Scholar 

  40. Zhou, B., Wang, Y. A. & Carter, E. A. Transferable local pseudopotentials derived via inversion of the Kohn-Sham equations in a bulk environment. Phys. Rev. B 69, 125109 (2004).

    ADS  Google Scholar 

  41. Huang, C. & Carter, E. A. Transferable local pseudopotentials for magnesium, aluminum and silicon. Phys. Chem. Chem. Phys. 10, 7109–7120 (2008).

    CAS  PubMed  Google Scholar 

  42. del Rio, B. G. & Gonzalez, L. E. Orbital free ab initio simulations of liquid alkaline earth metals: from pseudopotential construction to structural and dynamic properties. J. Phys.: Condens. Matter 26, 465102 (2014).

    Google Scholar 

  43. Mi, W., Zhang, S., Wang, Y., Ma, Y. & Miao, M. First-principle optimal local pseudopotentials construction via optimized effective potential method. J. Chem. Phys. 144, 134108 (2016).

    ADS  PubMed  Google Scholar 

  44. Del Rio, B. G., Dieterich, J. M. & Carter, E. A. Globally-optimized local pseudopotentials for (orbital-free) density functional theory simulations of liquids and solids. J. Chem. Theory Comput. 13, 3684–3695 (2017).

    PubMed  Google Scholar 

  45. Shao, X., Mi, W. & Pavanello, M. Revised huang-carter nonlocal kinetic energy functional for semiconductors and their surfaces. Phys. Rev. B 104, 045118 (2021).

    ADS  CAS  Google Scholar 

  46. Hamann, D., Schlüter, M. & Chiang, C. Norm-conserving pseudopotentials. Phys. Rev. Lett. 43, 1494 (1979).

    ADS  CAS  Google Scholar 

  47. Fuchs, M. & Scheffler, M. Ab initio pseudopotentials for electronic structure calculations of poly-atomic systems using density-functional theory. Computer Phys. Commun. 119, 67–98 (1999).

    ADS  CAS  MATH  Google Scholar 

  48. Martin, R. M. Electronic Structure: Basic Theory and Practical Methods (Cambridge University Press, 2004).

  49. Lehtomäki, J., Makkonen, I., Caro, M. A., Harju, A. & Lopez-Acevedo, O. Orbital-free density functional theory implementation with the projector augmented-wave method. J. Chem. Phys. 141, 234102 (2014).

    ADS  PubMed  Google Scholar 

  50. Zavodinsky, V. & Gorkusha, O. A. On a possibility to develop a full-potential orbital-free modeling approach. Nanosystems: Phys., Chem., Math. 10, 402–409 (2019).

    CAS  Google Scholar 

  51. Vanderbilt, D. Soft self-consistent pseudopotentials in a generalized eigenvalue formalism. Phys. Rev. B 41, 7892 (1990).

    ADS  CAS  Google Scholar 

  52. Witt, W. C., Del Rio, B. G., Dieterich, J. M. & Carter, E. A. Orbital-free density functional theory for materials research. J. Mater. Res. 33, 777 (2018).

    ADS  CAS  Google Scholar 

  53. Witt, W. C., Shires, B. W., Tan, C. W., Jankowski, W. J. & Pickard, C. J. Random structure searching with orbital-free density functional theory. J. Phys. Chem. A 125, 1650–1660 (2021).

    CAS  PubMed  PubMed Central  Google Scholar 

  54. Ke, Y., Libisch, F., Xia, J., Wang, L.-W. & Carter, E. A. Angular-momentum-dependent orbital-free density functional theory. Phys. Rev. Lett. 111, 066402 (2013).

    ADS  PubMed  Google Scholar 

  55. Ke, Y., Libisch, F., Xia, J. & Carter, E. A. Angular momentum dependent orbital-free density functional theory: formulation and implementation. Phys. Rev. B 89, 155112 (2014).

    ADS  Google Scholar 

  56. Chakraborty, D., Cuevas-Saavedra, R. & Ayers, P. W. Two-point weighted density approximations for the kinetic energy density functional. Theor. Chem. Acc. 136, 1–12 (2017).

    CAS  Google Scholar 

  57. Chakraborty, D., Cuevas-Saavedra, R. & Ayers, P. W. Kinetic Energy Density Functionals from Models for the One-Electron Reduced Density Matrix, 199–208 (Springer International Publishing, Cham, 2018).

  58. Kleinman, L. & Bylander, D. Efficacious form for model pseudopotentials. Phys. Rev. Lett. 48, 1425 (1982).

    ADS  CAS  Google Scholar 

  59. Troullier, N. & Martins, J. L. Efficient pseudopotentials for plane-wave calculations. Phys. Rev. B 43, 1993 (1991).

    ADS  CAS  Google Scholar 

  60. Lee, C. & Parr, R. G. Gaussian and other approximations to the first-order density matrix of electronic systems, and the derivation of various local-density-functional theories. Phys. Rev. A 35, 2377 (1987).

    ADS  CAS  Google Scholar 

  61. Berkowitz, M. Exponential approximation for the density matrix and the Wigner’s distribution. Chem. Phys. Lett. 129, 486–488 (1986).

    ADS  CAS  Google Scholar 

  62. Parr, R. G. & Yang, W. Density-Functional Theory of Atoms and Molecules. (Oxford University Press, New York, 1989).

    Google Scholar 

  63. Ghosh, S. K., Berkowitz, M. & Parr, R. G. Transcription of ground-state density-functional theory into a local thermodynamics. Proc. Natl Acad. Sci. USA. 81, 8028–8031 (1984).

    ADS  MathSciNet  CAS  PubMed  PubMed Central  Google Scholar 

  64. Mi, W. et al. Atlas: a real-space finite-difference implementation of orbital-free density functional theory. Computer Phys. Commun. 200, 87–95 (2016).

    ADS  CAS  MATH  Google Scholar 

  65. Murnaghan, F. The volume changes of five gases under high pressures. J. Frankl. Inst. 197, 98 (1924).

    Google Scholar 

  66. Blöchl, P. E. Projector augmented-wave method. Phys. Rev. B 50, 17953 (1994).

    ADS  Google Scholar 

  67. Wang, Y., Lv, J., Zhu, L. & Ma, Y. Crystal structure prediction via particle-swarm optimization. Phys. Rev. B 82, 094116 (2010).

    ADS  Google Scholar 

  68. Wang, Y., Lv, J., Zhu, L. & Ma, Y. Calypso: a method for crystal structure prediction. Computer Phys. Commun. 183, 2063–2070 (2012).

    ADS  CAS  Google Scholar 

  69. Kresse, G. & Furthmüller, J. Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set. Phys. Rev. B 54, 11169 (1996).

    ADS  CAS  Google Scholar 

  70. Kresse, G. & Furthmüller, J. Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set. Computational Mater. Sci. 6, 15–50 (1996).

    CAS  Google Scholar 

  71. Xu, Q. et al. Ab initio electronic structure calculations using a real-space Chebyshev-filtered subspace iteration method. J. Phys.: Condens. Matter 31, 455901 (2019).

    CAS  Google Scholar 

  72. Monkhorst, H. J. & Pack, J. D. Special points for Brillouin-zone integrations. Phys. Rev. B 13, 5188 (1976).

    ADS  MathSciNet  Google Scholar 

  73. Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett. 77, 3865 (1996).

    ADS  CAS  PubMed  Google Scholar 

  74. Nosé, S. A unified formulation of the constant temperature molecular dynamics methods. J. Chem. Phys. 81, 511–519 (1984).

    ADS  Google Scholar 

  75. Hoover, W. G. Canonical dynamics: equilibrium phase-space distributions. Phys. Rev. A 31, 1695–1697 (1985).

    ADS  CAS  Google Scholar 

Download references


Q.X., Y.W., and Y.M. acknowledge funding support from the National Natural Science Foundation of China under Grants No. 12047530, 12034009, 91961204, 11774127, 12174142, 11404128, 11822404, and 11974134; the Program for JLU Science and Technology Innovative Research Team. Part of the calculation was performed in the high-performance computing center of Jilin University.

Author information

Authors and Affiliations



Q.X., Y.W., and Y.M. conceived and designed the project and theoretical framework. Q.X. and C.M. implemented the computational code for this framework in the ATLAS package and performed the computer simulations. Q.X., W.M., Y.W., and Y.M. analyzed the results and wrote the manuscripts. All authors contributed to the discussion and revision of the manuscript.

Corresponding author

Correspondence to Yanchao Wang.

Ethics declarations

Competing interests

The authors declare no competing interests.

Peer review

Peer review information

Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Xu, Q., Ma, C., Mi, W. et al. Nonlocal pseudopotential energy density functional for orbital-free density functional theory. Nat Commun 13, 1385 (2022).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing