Abstract
The quest for accurate exchange-correlation functionals has long remained a grand challenge in density functional theory (DFT), as it describes the many-electron quantum mechanical behavior through a computationally tractable quantity—the electron density—without resorting to multi-electron wave functions. The inverse DFT problem of mapping the ground-state density to its exchange-correlation potential is instrumental in aiding functional development in DFT. However, the lack of an accurate and systematically convergent approach has left the problem unresolved, heretofore. This work presents a numerically robust and accurate scheme to evaluate the exact exchange-correlation potentials from correlated ab-initio densities. We cast the inverse DFT problem as a constrained optimization problem and employ a finite-element basis—a systematically convergent and complete basis—to discretize the problem. We demonstrate the accuracy and efficacy of our approach for both weakly and strongly correlated molecular systems, including up to 58 electrons, showing relevance to realistic polyatomic molecules.
Subject terms: Density functional theory, Quantum chemistry, Electronic properties and materials, Computational science
The inverse DFT problem of mapping the ground-state density to its exchange correlation potential has been numerically challenging so far. Here, the authors propose an approach for an accurate solution to the inverse DFT problem, enabling the evaluation of exact exchange and correlation potential from an ab initio density.
Introduction
Density functional theory (DFT)1,2 is an essential method for describing electronic states in all manner of nanoscale phenomena, including chemical bonds in molecules, band structures of materials, electron transfer, and reactive metal clusters of proteins. In principle, an exact theory, DFT in practice3–8, has remained far from exact due to the unavailability of exact exchange-correlation (xc) potentials (), which are responsible for describing the quantum mechanical behavior of electrons. Fortunately, is a unique functional of the electron density (), so there exists a one-to-one relationship from to and vice versa. This observation presents a possible route forward to construct accurate xc functionals via the transformation of the electron density into through the so-called inverse DFT problem9–13 (refer to the schematic in Fig. 1). The inverse problem not only provides a route for finding the sole unknown quantity in DFT, it is also central for describing quantum mechanics without resorting to complicated multi-electron wave functions.
Fig. 1.
Schematic of the inverse DFT problem. The exact ground-state many-body wavefunction () and, hence, the ground-state electron density () is obtained from configuration interaction calculation. The inverse DFT calculation evaluates the exact exchange-correlation potential () that yields the given . The ability to accurately solve the inverse DFT problem, presented in this work, presents a powerful tool to construct accurate density functionals (), either through conventional approaches or via machine learning. The schematic shows the ground-state density and the exact exchange-correlation potential for obtained in this work
Given the large importance of this problem, there have been several attempts to solve the inverse DFT problem, employing either iterative updates10,11,14–16 or constrained optimization approaches9,12,17,18. However, these approaches have suffered from ill-conditioning, thereby resulting in non-unique solutions or causing spurious oscillations in the resultant . This ill-conditioning has been largely attributed to the incompleteness of the Gaussian basis sets that were employed to solve the inverse DFT problem18–20. Recent efforts21–23 have presented a different approach, which utilizes the two-electron reduced density matrix to remedy the non-uniqueness and the spurious oscillations in the obtained . However, this does not represent the solution of the inverse DFT problem, i.e., the obtained from this approach is not guaranteed to yield the input electron density23. Thus, the inverse DFT problem has, heretofore, remained an open challenge.
In this work, we present an advance that provides an accurate solution to the inverse DFT problem, enabling the evaluation of the exact from an ab-initio density. Specifically, the approach uses a finite-element (FE) basis that is systematically convergent and complete, thereby eliminating ill-conditioning in the discrete solution of the inverse DFT problem. Our approach is tested on a range of molecular systems, both weakly and strongly correlated, showing robustness and efficacy in treating realistic polyatomic molecules. The proposed approach therefore unlocks the door to constructing accurate xc functionals that provide precise energies and electronic properties of a huge range of chemical, materials, and biological systems. To elaborate, we envisage the inverse DFT problem to be instrumental in generating pairs, using ’s from correlated ab-initio calculations. Subsequently, these can be used as training data to model through machine-learning algorithms24,25, which are designed to preserve the functional derivative requirement on 26. Furthermore, the xc energy () can be directly evaluated through line integration on .
Results
Constrained optimization for inverse DFT
We cast the inverse DFT problem of finding the that yields a given density as the following partial differential equation (PDE)-constrained optimization:
| 1 |
subject to
| 2 |
| 3 |
In the above equation, is an appropriately chosen weight to expedite convergence, represents the nuclear potential, is the Hartree potential corresponding to , and and denote the Kohn–Sham orbitals and eigenvalues, respectively. For simplicity, we restrict ourselves to only closed-shell systems and, hence, the Kohn–Sham density . Equivalently, the above PDE-constrained optimization can be solved by minimizing the following Lagrangian,
| 4 |
with respect to all its constituent variables—, , , and . In the above equation, is the Kohn–Sham Hamiltonian, is the adjoint function that enforces the Kohn–Sham eigenvalue equation corresponding to , and is the Lagrange multiplier corresponding to the normality condition of . The optimality of with respect to , , , and are given by:
| 5 |
| 6 |
| 7 |
| 8 |
where . We remark that the operator in Eq. 7 is singular with as its null vector. However, the orthogonality of and (consequence of Eq. 7) along with the orthogonality of and (Eq. 8) guarantee a unique solution for . Having solved the above optimality conditions in Eqs. 5–8, the variation (gradient) of with respect to is given by
| 9 |
This constitutes the central equation for updating via any gradient-based optimization technique.
Summing up, the proposed approach involves: (i) obtaining from correlated ab-initio calculations (i.e., configuration interaction (CI) calculations); (ii) using an initial guess for ; (iii) solving Eqs. 5–8 using the current iterate of ; (iv) updating using Eq. 9 as the gradient; (v) repeating (iii)–(iv) until converges to . We note that the general idea of PDE-constrained optimization has been explored recently in ref. 13. However, its utility had only been demonstrated on non-interacting model systems in one dimension.
Verification with LDA-based densities
To assess the accuracy and robustness of the proposed approach, we use obtained from local density approximation (LDA)27,28-based DFT calculations, discretized using the FE basis—a systematically improvable and complete basis constructed from piecewise polynomials. This verification test allows us to compare the obtained from the inverse DFT calculation against . As remarked earlier, most of the previous attempts at this verification test have suffered from either non-unique solutions or had resulted in unphysical oscillations in , owing to the incompleteness of the Gaussian basis employed in these works. Figure 2 presents the comparison of against the obtained from the inverse calculation, for various atomic systems (also see Supplementary Fig. 2). We also provide, in Fig. 3, the for 1,3-dimethylbenzene () obtained from the inverse calculation with LDA-based (cf. Supplementary Fig. 3 for the error in ), highlighting the efficacy of our approach in accurately treating large systems. We note that all the inverse DFT calculations have been performed in three dimensions and the norm error in the density, , is driven below . As evident from these figures, the determined from the inverse DFT calculation is devoid of any spurious oscillations and is in excellent agreement with . In addition, the Kohn–Sham eigenvalues computed using the inverted are in excellent agreement (i.e., mHa), further validating the accuracy of the method. Although we have reported the verification of our method for LDA-based densities, similar accuracy was obtained using generalized gradient approximation (GGA)-based densities. We refer to the Supplementary Discussion for a comparison of these verification results against similar studies conducted using existing methods.
Fig. 2.
Verification study on atomic systems using LDA-based density. The density () is obtained from a ground-state DFT calculation using an LDA functional. The solid line corresponds to the direct evaluation of the LDA exchange-correlation potential corresponding to , i.e., . The dashed line corresponds to the exchange-correlation potential obtained from the inverse DFT calculation using as the input. The atomic systems considered are as follows: (a) He; (b) Be; (c) Ne
Fig. 3.

Inverse DFT calculation on . The exchange-correlation potential (in a.u.) determined from the inverse DFT algorithm, using an LDA-based density, is displayed on the plane of the benzene ring. Refer to Supplementary Table 3 for the coordinates
Removing Gaussian basis-set artifacts
We next turn to employing the proposed method with input densities generated from CI calculations. All the CI calculations reported in this work are performed using the incremental full-CI approach presented in ref. 29 and discretized using the universal Gaussian basis set (UGBS)30 or polarized triple zeta (cc-PVTZ) Gaussian basis set31. It is known that Gaussian basis-set densities, owing to their lack of cusp at the nuclei as well as incorrect far-field decay, induce highly unphysical features in the s obtained from inverse calculations. To this end, we provide two numerical strategies, which, for all practical purposes, remedy the Gaussian basis-set artifacts and thereby allow for accurate evaluation of the exact s from CI densities. It is to be noted that the following numerical strategies are only necessitated due to the unphysical asymptotics in the Gaussian basis-set densities and not due to any inadequacy of the proposed inverse DFT algorithm.
To begin with, the CI density obtained from a Gaussian basis has wrong decay characteristics away from the nuclei (i.e., Gaussian decay instead of exponential decay). This, in turn, results in incorrect asymptotics in the obtained from an inverse DFT calculation. Thus, to ensure the correct asymptotics in , we employ the following approach. First, we use an initial guess for that satisfies the correct decay. In particular, we use the Fermi–Amaldi potential ()32. Next, we enforce homogeneous Dirichlet boundary condition on the adjoint function () in the low-density region (i.e., ), while solving Eq. 7. In effect, this fixes the to its initial value in the low-density region, thereby ensuring correct far-field asymptotics in the . This approach is also crucial to obtaining an agreement between the highest occupied Kohn–Sham eigenvalue () and the negative of the ionization potential (), as mandated by the Koopmans’ theorem33,34.
Furthermore, the Gaussian basis-set-based CI densities lack the cusp at the nuclei, which, in turn, leads to undesirable oscillations in the near the nuclei in any inverse DFT calculation35–37. We demonstrate this in the case of equilibrium molecule (bond-length a.u.), henceforth denoted as . Figure 4 shows the profile for corresponding to the obtained from a CI calculation, discretized using UGBS. As evident, we observe large unphysical oscillations in the near the nuclei. We remedy these oscillations by adding a small correction, to , so as to correct for the missing cusp at the nuclei. The is given by
| 10 |
where is the ground-state density obtained from a forward DFT calculation using a known xc functional (e.g., LDA and GGA) and discretized using the FE basis, and denotes the same, albeit obtained using the Gaussian basis employed in the CI calculation. The key idea here is that , obtained from the FE basis, contains the cusp. Thus, one can expect to reasonably capture the Gaussian basis-set error near the nuclei. In addition, , preserving the number of electrons. A conceptually similar approach has been explored in ref. 37, wherein one post-processes the instead of pre-processing the , to remove the oscillations arising from the lack of cusp in . We illustrate the efficacy of the correction with the molecule as an example. Figure 5 presents the corresponding to the cusp-corrected density (i.e., ) for , with two different : evaluated using an LDA functional27,28 and evaluated using a GGA functional38. As evident, both - and -based cusp correction generate smooth profiles. More importantly, both the profiles are nearly identical, except for small differences in the bonding region between the H atoms. Further, a comparison of both these s against the LDA-based xc potential () elucidates the significant difference between the exact and even for a simple system that is not strongly correlated. Lastly, for both the s, we obtain the same of Ha, which, in turn, is in excellent agreement with the (listed in Table 1). We remark that the agreement of with is a stringent test of the accuracy of the inversion and is particularly sensitive to the in the far field.
Fig. 4.

Artifact of Gaussian basis-set-based density. The exchange-correlation potential () is evaluated from inverse DFT, using obtained from a Gaussian basis-set-based configuration interaction (CI) calculation for the equilibrium hydrogen molecule (). The lack of cusp in at the nuclei induces wild oscillations in the obtained through inversion. The two atoms are located at a.u
Fig. 5.

Exchange-correlation potentials () for equilibrium . A comparison is provided between the exact and the LDA-based potential. The exact exchange-correlation potential is evaluated using the cusp-corrected configuration interaction (CI) density. The effect of the choice of the functional used in evaluating the cusp correction is demonstrated using two different functionals—LDA () and GGA ()
Table 1.
Comparison of the highest occupied Kohn–Sham eigenvalue () and the negative of the ionization potential () (all in Ha)
Exact from CI densities for molecules
We now combine the above numerical strategies to evaluate the exact for four other benchmark systems—two stretched molecules and two polyatomic systems (water and ortho-benzyne molecules). The CI calculations for all the molecules, excepting ortho-benzyne, are performed using the UGBS. For ortho-benzyne, we used the cc-PVTZ basis. Given the weak sensitivity of the inverted to the choice of xc functional used in , we employ for performing the cusp correction in all our calculations. Further, for all the systems, the inverse problem is deemed to have converged when . We remark that the error norm is a natural convergence criterion, given the form of the objective function in Eq. 1. However, given that previous works on this inverse problem have reported the error, we provide the same in the Supplementary Table 2, for all the benchmark systems considered. Figure 6 compares the for two stretched molecules— ( a.u., roughly twice the equilibrium bond length) and ( a.u., at dissociation). We emphasize that these are prototypical systems where all existing xc approximations perform poorly, owing to their failure in handling strong correlations. We could successfully solve the inverse DFT problem for these systems (), thereby suggesting that our approach works equally well for strongly correlated systems. As indicated in Table 1, we get remarkable agreement between and for . However, for , we obtain within 19 mHa of . We attribute this larger difference between and (as compared with and ) to the use of as the boundary condition for in the low-density region. To elaborate, for a single-orbital system, is the exact (exchange-only potential) and, hence, represents the exact in regions where the correlations are negligible. Although for the and molecules the correlations are short-ranged, they are relatively longer-ranged for . We highlight this in Fig. 7 by comparing the against for , , and . As evident, has strong correlations extending to a significantly larger domain (in the far-field) in comparison with and . Thus, for , the use of is warranted only in regions of much lower density (i.e., ) than considered here. However, at such low densities, the wrong far-field asymptotics of a Gaussian basis-set density produces spurious oscillations in the far-field . Thus, for the want of more accurate densities, we are restricted to using in regions where , at the cost of incurring some error in .
Fig. 6.

Exact for stretched molecules. The exact is provided for two stretched hydrogen molecules: one at twice the equilibrium bond length () and the other at dissociation (). The H atoms for and are located at a.u. and a.u., respectively
Fig. 7.
Nature and extent of electronic correlations in molecules. A comparison of the exact exchange-correlation () and the exchange-only () potentials is provided for molecules at three different bond lengths: (a) equilibrium bond length (); (b) twice the equilibrium bond length (); (c) at dissociation (). The relative difference between and indicates the nature and extent of electronic correlations. The correlations become stronger with bond stretching
We now turn to a polyatomic system—the molecule. Figure 8 compares the exact against , on the plane of the molecule. In particular, Fig. 8c provides the comparison along the O–H bond. For the exact , we observe an atomic inter-shell structure—marked by a yellow ring around the O atom in Fig. 8b (as well as the local maxima and minima at around a.u. in Fig. 8c). This atomic inter-shell structure is a distinctive feature of the exact 39,40 and is absent in the standard xc approximations, as evident from . Further, we observe a deeper potential around the O atom, as compared with , thereby suggesting a higher electronegativity on the O atom than that predicted by LDA. Moreover, we observe a distinct local maximum at the H atom, as opposed to a local minimum in . Lastly, as indicated in Table 1, we obtain striking agreement between and for this polyatomic system.
Fig. 8.

Comparison of exchange-correlation potentials () for . a LDA-based exchange-correlation potential. b Exact exchange-correlation potential. c Comparison of the LDA-based and the exact exchange-correlation potential along the O–H bond. In a and b, the (in a.u.) is presented on the plane of the molecule. Refer to Supplementary Table 3 for the coordinates
Finally, we evaluate the exact for the singlet state of the ortho-benzyne radical ()—a strongly correlated species that has previously served as a test for accurate wavefunction theories41. Figure 9 compares the exact against , on the plane of the benzyne molecule. This example underscores the efficacy of our approach in handling both large and strongly correlated systems. As expected for the exact , we observe an atomic inter-shell structure—marked by a yellow ring around the C atoms, which, on the other hand, are absent in the case of . As is the case with , we observe a deeper potential around the C atom, as compared with , suggesting a higher electronegativity on the C atom than that predicted by LDA. Furthermore, as indicated in Table 1, we obtain remarkable agreement between and .
Fig. 9.

Comparison of exchange-correlation potentials () for . a LDA-based exchange-correlation potential. b Exact exchange-correlation potential. In both the cases, the (in a.u.) is presented on the plane of the molecule. Refer to Supplementary Table 3 for the coordinates
Discussion
We have presented an accurate and robust method to evaluate the exact , solely from the ground-state electron density. The key ingredients in our approach are—(a) the effective use of FE basis, which is a systematically convergent and complete basis, and, in turn, results in a well-posed inverse DFT problem; (b) the use of correction and appropriate far-field boundary conditions to alleviate the unphysical artifacts associated with Gaussian basis-set densities. We emphasize that the proposed approach can easily drive the error in the target densities, i.e., , to tight tolerances of —which represents a stringent accuracy (see the Supplementary Discussion for a comparison with existing methods). Notably, as demonstrated through the 1,3-dimethylbenzene and the ortho-benzyne molecules, our approach can competently handle system sizes, which have, heretofore, remained challenging for other inverse DFT methods. Furthermore, for all the exact s obtained from CI densities, we obtain excellent agreement between and (excepting in the case of ), further validating the accuracy and robustness of the approach. We remark that the larger discrepancy between and in the case of is a consequence of long-range (static) correlations in this system coupled with incorrect far-field asymptotics of Gaussian basis-set densities and can be remedied with the availability of more accurate densities. The ability to evaluate the exact xc potentials from ground-state electron densities, enabled by this method, will provide a powerful tool in the future testing and development of approximate xc functionals. Further, it paves the way for using machine learning to construct the functional dependence of on , i.e., , providing another avenue to develop density functionals24,42,43 that can systematically improve both ground-state densities and energies44 as well as satisfy the known conditions on the exact functional45–47.
Methods
Discretization
We employ spectral FE basis to discretize all the spatial fields—, , . The FE basis is constructed from piecewise polynomials on non-overlapping subdomains called elements. The basis, thus constructed, can be systematically improved to completeness by reducing the element size and/or increasing the polynomial order48. We remark that the spectral FE basis are not orthogonal and, hence, result in a generalized eigenvalue problem as opposed to the more desirable case of standard eigenvalue problem. To this end, we use special reduced-order quadrature (Gauss–Legendre–Lobatto quadrature rule) to render the overlap matrix diagonal and, thereby, trivially transform the generalized eigenvalue problem into a standard one. For all the molecules, we used adaptively refined quadratic FEs to discretize the and , whereas for all other systems we used adaptively refined fourth-order FEs. The , in all the calculations, is discretized using linear FEs. Most importantly, the form of the FE basis is chosen carefully, so as to guarantee the cusp in s (and hence in ) at the nuclei, which in turn is critical to obtaining accurate s near the nuclei (refer to the Supplementary Note 1 for more information).
Solvers
In order to efficiently solve the Kohn–Sham eigenvalue problem in Eq. 5, we employ the Chebyshev polynomial-based filtering technique48–50. We remark that, compared with a forward ground-state DFT calculation, the inverse DFT calculation warrants much tighter accuracy in solving the Kohn–Sham eigenvalue equation(s). However, the use of a very high polynomial degree Chebyshev filter can generate an ill-conditioned subspace, akin to any power iteration-based eigen solver. To circumvent the ill conditioning and attain higher accuracy, we employ multiple passes of a low polynomial degree Chebyshev filter (polynomial order ) and orthonormalize the Chebyshev-filtered vectors between two successive passes. The number of passes is determined adaptively so as to guarantee an accuracy of in .
The discrete adjoint function () is solved by, first, projecting Eq. 7 onto a space orthogonal to the corresponding (or degenerate s) and then employing the conjugate-gradient method to compute the solution. The discrete adjoint problem is solved to an accuracy of in .
The update for is computed using limited-memory Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm, a memory-efficient quasi-Newton solver, which constructs approximate Hessian matrices using the history of the gradients51. In all the calculations, we used a history of size to construct the approximate Hessian. We refer to Supplementary Discussion for details on the rate of convergence and the factors affecting it.
Weights
To expedite the convergence of the nonlinear solver, we make use of two different weights, and (), in sequence. The latter penalizes the objective function in the low-density region.
Ab initio densities
Accurate electron densities were generated using the incremental full CI (iFCI) method29 in the Q-Chem software package52. This method solves the electronic Schrödinger equation via a many-body expansion and asymptotically produces the exact electronic energy and density as the number of bodies in the expansion approaches the all-electron limit. For this study, electron densities were provided in the all-valence-electron limit of iFCI, i.e., where the full valence set is fully correlated and the core orbitals of and are treated as uncorrelated electron pairs. Reference ionization energies were obtained at the same level of theory, for each system with one less electron.
Supplementary information
Acknowledgements
We thank O. Ghattas for fruitful discussions. We are grateful for the support of Toyota Research Institute under the auspices of which this work was conducted. We also acknowledge the support of Department of Energy, Office of Science, under grant number DE-SC0017380, which supported the development of all-electron DFT calculations using the finite-element basis that was instrumental in this work. V.G. also acknowledges the support of Air Force Office of Scientific Research under grant number FA-9550-17-1-0172, which supported the development of some aspects of the computational framework used in this work. This research used resources of the National Energy Research Scientific Computing Center, a DOE Office of Science User Facility supported by the Office of Science of the US Department of Energy under Contract Number DE-AC02-05CH11231. This work used the Extreme Science and Engineering Discovery Environment (XSEDE), which is supported by National Science Foundation Grant number ACI-1053575. V.G. also gratefully acknowledges the support of the Army Research Office through the DURIP grant W911NF1810242, which also provided computational resources for this work.
Author contributions
V.G. designed the research. B.K. performed the inverse DFT calculations. P.M.Z. performed the CI calculations. B.K. and V.G. analyzed the data. All authors contributed to the manuscript.
Data availability
The authors declare that all the data supporting the results of this study are available upon reasonable request to the corresponding author.
Code availability
The code used to perform inverse DFT calculations is available upon reasonable request to the corresponding author.
Competing interests
The authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks Jason D. Goodpaster and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Supplementary information is available for this paper at 10.1038/s41467-019-12467-0.
References
- 1.Hohenberg P, Kohn W. Inhomogeneous electron gas. Phys. Rev. 1964;136:B864–B871. doi: 10.1103/PhysRev.136.B864. [DOI] [Google Scholar]
- 2.Kohn W, Sham LJ. Self-consistent equations including exchange and correlation effects. Phys. Rev. 1965;140:A1133–A1138. doi: 10.1103/PhysRev.140.A1133. [DOI] [Google Scholar]
- 3.Kohn W, Becke AD, Parr RG. Density functional theory of electronic structure. J. Phys. Chem. 1996;100:12974–12980. doi: 10.1021/jp960669l. [DOI] [Google Scholar]
- 4.Cohen AJ, Mori-Sánchez P, Yang W. Challenges for density functional theory. Chem. Rev. 2012;112:289–320. doi: 10.1021/cr200107z. [DOI] [PubMed] [Google Scholar]
- 5.Burke K. Perspective on density functional theory. J. Chem. Phys. 2012;136:150901. doi: 10.1063/1.4704546. [DOI] [PubMed] [Google Scholar]
- 6.Becke AD. Perspective: fifty years of density-functional theory in chemical physics. J. Chem. Phys. 2014;140:18A301. doi: 10.1063/1.4869598. [DOI] [PubMed] [Google Scholar]
- 7.Jones RO. Density functional theory: Its origins, rise to prominence, and future. Rev. Mod. Phys. 2015;87:897–923. doi: 10.1103/RevModPhys.87.897. [DOI] [Google Scholar]
- 8.Mardirossian N, Head-Gordon M. Thirty years of density functional theory in computational chemistry: an overview and extensive assessment of 200 density functionals. Mol. Phys. 2017;115:2315–2372. doi: 10.1080/00268976.2017.1333644. [DOI] [Google Scholar]
- 9.Zhao Q, Morrison RC, Parr RG. From electron densities to Kohn-Sham kinetic energies, orbital energies, exchange-correlation potentials, and exchange-correlation energies. Phys. Rev. A. 1994;50:2138–2142. doi: 10.1103/PhysRevA.50.2138. [DOI] [PubMed] [Google Scholar]
- 10.van Leeuwen R, Baerends EJ. Exchange-correlation potential with correct asymptotic behavior. Phys. Rev. A. 1994;49:2421–2431. doi: 10.1103/PhysRevA.49.2421. [DOI] [PubMed] [Google Scholar]
- 11.Peirs K, VanNeck D, Waroquier M. Algorithm to derive exact exchange-correlation potentials from correlated densities in atoms. Phys. Rev. A. 2003;67:012505. doi: 10.1103/PhysRevA.67.012505. [DOI] [Google Scholar]
- 12.Wu Q, Yang W. A direct optimization method for calculating density functionals and exchange-correlation potentials from electron densities. J. Chem. Phys. 2003;118:2498–2509. doi: 10.1063/1.1535422. [DOI] [Google Scholar]
- 13.Jensen DS, Wasserman A. Numerical methods for the inverse problem of density functional theory. Int. J. Quant. Chem. 2018;118:e25425. doi: 10.1002/qua.25425. [DOI] [Google Scholar]
- 14.Wang Y, Parr RG. Construction of exact Kohn-Sham orbitals from a given electron density. Phys. Rev. A. 1993;47:R1591–R1593. doi: 10.1103/PhysRevA.47.R1591. [DOI] [PubMed] [Google Scholar]
- 15.Gritsenko OV, van Leeuwen R, Baerends EJ. Molecular Kohn-Sham exchange-correlation potential from the correlated ab initio electron density. Phys. Rev. A. 1995;52:1870–1874. doi: 10.1103/PhysRevA.52.1870. [DOI] [PubMed] [Google Scholar]
- 16.Ryabinkin IG, Staroverov VN. Determination of Kohn-Sham effective potentials from electron densities using the differential virial theorem. J. Chem. Phys. 2012;137:164113. doi: 10.1063/1.4763481. [DOI] [PubMed] [Google Scholar]
- 17.Tozer DJ, Ingamells VE, Handy NC. Exchange-correlation potentials. J. Chem. Phys. 1996;105:9200–9213. doi: 10.1063/1.472753. [DOI] [Google Scholar]
- 18.Jacob CR. Unambiguous optimization of effective potentials in finite basis sets. J. Chem. Phys. 2011;135:244102. doi: 10.1063/1.3670414. [DOI] [PubMed] [Google Scholar]
- 19.Heaton-Burgess T, Bulat FA, Yang W. Optimized effective potentials in finite basis sets. Phys. Rev. Lett. 2007;98:256401. doi: 10.1103/PhysRevLett.98.256401. [DOI] [PubMed] [Google Scholar]
- 20.Bulat FA, Heaton-Burgess T, Cohen AJ, Yang W. Optimized effective potentials from electron densities in finite basis sets. J. Chem. Phys. 2007;127:174101. doi: 10.1063/1.2800021. [DOI] [PubMed] [Google Scholar]
- 21.Ryabinkin IG, Kohut SV, Staroverov VN. Reduction of electronic wave functions to Kohn-Sham effective potentials. Phys. Rev. Lett. 2015;115:083001. doi: 10.1103/PhysRevLett.115.083001. [DOI] [PubMed] [Google Scholar]
- 22.Cuevas-Saavedra R, Ayers PW, Staroverov VN. Kohn-Sham exchange-correlation potentials from second-order reduced density matrices. J. Chem. Phys. 2015;143:244116. doi: 10.1063/1.4937943. [DOI] [PubMed] [Google Scholar]
- 23.Ospadov E, Ryabinkin IG, Staroverov VN. Improved method for generating exchange-correlation potentials from electronic wave functions. J. Chem. Phys. 2017;146:084103. doi: 10.1063/1.4975990. [DOI] [PubMed] [Google Scholar]
- 24.Brockherde F, et al. Bypassing the Kohn-Sham equations with machine learning. Nat. Commun. 2017;8:872. doi: 10.1038/s41467-017-00839-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Nagai R, Akashi R, Sasaki S, Tsuneyuki S. Neural-network Kohn-Sham exchange-correlation potential and its out-of-training transferability. J. Chem. Phys. 2018;148:241737. doi: 10.1063/1.5029279. [DOI] [PubMed] [Google Scholar]
- 26.vanLeeuwen R, Baerends EJ. Energy expressions in density-functional theory using line integrals. Phys. Rev. A. 1995;51:170–178. doi: 10.1103/PhysRevA.51.170. [DOI] [PubMed] [Google Scholar]
- 27.Slater JC, Johnson KH. Self-consistent-field cluster method for polyatomic molecules and solids. Phys. Rev. B. 1972;5:844–853. doi: 10.1103/PhysRevB.5.844. [DOI] [Google Scholar]
- 28.Perdew JP, Wang Y. Accurate and simple analytic representation of the electron-gas correlation energy. Phys. Rev. B. 1992;45:13244–13249. doi: 10.1103/PhysRevB.45.13244. [DOI] [PubMed] [Google Scholar]
- 29.Zimmerman PM. Incremental full configuration interaction. J. Chem. Phys. 2017;146:104102. doi: 10.1063/1.4977727. [DOI] [PubMed] [Google Scholar]
- 30.de Castro EVR, Jorge FE. Accurate universal Gaussian basis set for all atoms of the Periodic Table. J. Chem. Phys. 1998;108:5225–5229. doi: 10.1063/1.475959. [DOI] [Google Scholar]
- 31.Dunning TH. Gaussian basis sets for use in correlated molecular calculations. I. The atoms boron through neon and hydrogen. J. Chem. Phys. 1989;90:1007–1023. doi: 10.1063/1.456153. [DOI] [Google Scholar]
- 32.Ayers PW, Morrison RC, Parr RG. Fermi-Amaldi model for exchange-correlation: atomic excitation energies from orbital energy differences. Mol. Phys. 2005;103:2061–2072. doi: 10.1080/00268970500130183. [DOI] [Google Scholar]
- 33.Perdew JP, Levy M. Comment on “significance of the highest occupied Kohn-Sham eigenvalue”. Phys. Rev. B. 1997;56:16021–16028. doi: 10.1103/PhysRevB.56.16021. [DOI] [Google Scholar]
- 34.Casida ME. Correlated optimized effective-potential treatment of the derivative discontinuity and of the highest occupied Kohn-Sham eigenvalue: a Janak-type theorem for the optimized effective-potential model. Phys. Rev. B. 1999;59:4694–4698. doi: 10.1103/PhysRevB.59.4694. [DOI] [Google Scholar]
- 35.Mura ME, Knowles PJ, Reynolds CA. Accurate numerical determination of Kohn-Sham potentials from electronic densities: I. Two-electron systems. J. Chem. Phys. 1997;106:9659–9667. doi: 10.1063/1.473838. [DOI] [Google Scholar]
- 36.Schipper PRT, Gritsenko OV, Baerends EJ. Kohn-Sham potentials corresponding to Slater and Gaussian basis set densities. Theor. Chem. Acc. 1997;98:16–24. doi: 10.1007/s002140050273. [DOI] [Google Scholar]
- 37.Gaiduk AP, Ryabinkin IG, Staroverov VN. Removal of basis-set artifacts in Kohn-Sham potentials recovered from electron densities. J. Chem. Theory Comput. 2013;9:3959–3964. doi: 10.1021/ct4004146. [DOI] [PubMed] [Google Scholar]
- 38.Perdew JP, Burke K, Ernzerhof M. Generalized gradient approximation made simple. Phys. Rev. Lett. 1996;77:3865–3868. doi: 10.1103/PhysRevLett.77.3865. [DOI] [PubMed] [Google Scholar]
- 39.Gritsenko O, vanLeeuwen R, Baerends EJ. Analysis of electron interaction and atomic shell structure in terms of local potentials. J. Chem. Phys. 1994;101:8955–8963. doi: 10.1063/1.468024. [DOI] [Google Scholar]
- 40.Gritsenko OV, Leeuwen Rv, Baerends EJ. Molecular exchange-correlation Kohn-Sham potential and energy density from ab initio first- and second-order density matrices: Examples for XH (X=Li, B, F) J. Chem. Phys. 1996;104:8535–8545. doi: 10.1063/1.471602. [DOI] [Google Scholar]
- 41.Zimmerman PM. Singlet-triplet gaps through incremental full configuration interaction. J. Phys. Chem. A. 2017;121:4712–4720. doi: 10.1021/acs.jpca.7b03998. [DOI] [PubMed] [Google Scholar]
- 42.Snyder JC, Rupp M, Hansen K, Müller K-R, Burke K. Finding density functionals with machine learning. Phys. Rev. Lett. 2012;108:253002. doi: 10.1103/PhysRevLett.108.253002. [DOI] [PubMed] [Google Scholar]
- 43.Li L, Baker TE, White SR, Burke K. Pure density functional for strong correlation and the thermodynamic limit from machine learning. Phys. Rev. B. 2016;94:245129. doi: 10.1103/PhysRevB.94.245129. [DOI] [Google Scholar]
- 44.Medvedev MG, Bushmarinov IS, Sun J, Perdew JP, Lyssenko KA. Density functional theory is straying from the path toward the exact functional. Science. 2017;355:49–52. doi: 10.1126/science.aah5975. [DOI] [PubMed] [Google Scholar]
- 45.Sun J, Ruzsinszky A, Perdew JP. Strongly constrained and appropriately normed semilocal density functional. Phys. Rev. Lett. 2015;115:036402. doi: 10.1103/PhysRevLett.115.036402. [DOI] [PubMed] [Google Scholar]
- 46.Li C, Zheng X, Su NQ, Yang W. Localized orbital scaling correction for systematic elimination of delocalization error in density functional approximations. Natl Sci. Rev. 2017;5:203–215. doi: 10.1093/nsr/nwx111. [DOI] [Google Scholar]
- 47.Su NQ, Li C, Yang W. Describing strong correlation with fractional-spin correction in density functional theory. Proc. Natl Acad. Sci. USA. 2018;115:9678–9683. doi: 10.1073/pnas.1807095115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Motamarri, P., et al. DFT-FE - A massively parallel adaptive finite-element code for large-scale density functional theory calculations. Comput. Phys. Commun. (in press).
- 49.Zhou Y, Saad Y, Tiago ML, Chelikowsky JR. Parallel self-consistent-field calculations via Chebyshev-filtered subspace acceleration. Phys. Rev. E. 2006;74:066704. doi: 10.1103/PhysRevE.74.066704. [DOI] [PubMed] [Google Scholar]
- 50.Motamarri P, Nowak M, Leiter K, Knap J, Gavini V. Higher-order adaptive finite-element methods for Kohn-Sham density functional theory. J. Comput. Phys. 2013;253:308–343. doi: 10.1016/j.jcp.2013.06.042. [DOI] [Google Scholar]
- 51.Nocedal J. Updating quasi-Newton matrices with limited storage. Math. Comput. 1980;35:773–782. doi: 10.1090/S0025-5718-1980-0572855-7. [DOI] [Google Scholar]
- 52.Shao Y, et al. Advances in molecular quantum chemistry contained in the Q-Chem 4 program package. Mol. Phys. 2015;113:184–215. doi: 10.1080/00268976.2014.952696. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The authors declare that all the data supporting the results of this study are available upon reasonable request to the corresponding author.
The code used to perform inverse DFT calculations is available upon reasonable request to the corresponding author.



