SearcharxivSearch

arXiv subjects

Bikash Kanungo

Publications and source records attributed to Bikash Kanungo.

17 recordsLinked to original sources

Exchange-Correlation Potentials and Energies from Inverse Generalized Kohn-Sham Calculations

The Kohn-Sham (KS) formulation of density functional theory (DFT) is a map from the many-electron problem to an effective single-electron problem that is governed by a local multiplicative potential. The generalized-Kohn-Sham (GKS) formalism extends it to permit any single-electron operator---nonlocal, local non-multiplicative, local multiplicative, or any combination of them. Doing so expands the scope and ease of modeling the exchange-correlation (XC) functional in DFT, which encodes the complicated many-electron interactions into a mean-field of the electron density. However, unlike KS theory, development of XC functionals in GKS theory has been hindered by the absence of corresponding exact XC potentials and energies. We present the exact XC potentials and energies for atoms and molecules by solving the inverse GKS problem, using highly accurate correlated \textit{ab initio} densities. Our approach is validated across weakly and strongly correlated systems. We further examine a common, yet untested, assumption that KS and GKS correlation potentials and energies are similar, finding instead that they differ substantially in strongly correlated systems. Overall, this work offers a powerful tool to model next-generation of XC functionals within the GKS formalism of DFT.

physics.chem-ph

Large-scale pseudopotential density functional theory calculations using orthogonalized enriched finite element basis

We present an efficient and scalable computational framework for pseudopotential Kohn-Sham density functional theory (KS-DFT) calculations using an enriched finite element (EFE) basis. The EFE basis is formed by augmenting the classical finite element (CFE) basis with compact atom-centered functions, which we term enrichment functions. The key idea is to combine the completeness of a finite element basis with the efficiency of an atom-centered basis. We orthogonalize the enrichment functions with respect to the underlying CFE basis to simultaneously improve the conditioning of the EFE basis and the efficiency of evaluating the inverse of the overlap matrix. To efficiently solve the Kohn-Sham eigenvalue problem, we employ a residual-based Chebyshev subspace iteration approach that is tolerant to approximations in the evaluation of the inverse of the overlap matrix. We demonstrate the accuracy of the framework as compared to the widely available DFT packages. For benchmark non-periodic calculations, ranging up to 39,083 electrons, the EFE basis offers a $5-7\times$ reduction in degrees of freedom over the CFE basis. As a result of this, EFE achieves a $5-9\times$ reduction in computational cost over the CFE basis. The EFE basis also provides a $4-5\times$ reduction in the required memory compared to the CFE basis, thus allowing for optimal utilization of computational resources. Finally, we demonstrate that the EFE basis affords good parallel scalability. Overall, the EFE basis offers a systematically convergent, fast, scalable, resource-efficient basis for pseudopotential DFT calculations.

cond-mat.mtrl-sci

Field theoretic atomistics: Learning thermodynamic and variational surrogate to density functional theory

The Hohenberg-Kohn (HK) theorem -- the bedrock of density functional theory (DFT) -- establishes a universal map from the external potential to the energy. It also relates the electron density and atomic forces to the variation of the energy with the external potential. But the HK map is rarely utilized in atomistics, wherein interatomic potentials are defined using the molecular or crystal structure rather than the external potential. As a break from this tradition, we present a field theoretic atomistics framework where the external potential assumes the central quantity. We machine learn the HK energy map while satisfying the thermodynamic limit. Further, we obtain both forces and electron density from the variation of the HK energy map, that are exact relations. Our models attain good accuracy across diverse benchmarks and compete with state-of-the-art machine learned interatomic potentials. Through electron density, we predict accurate dipole and quadrupole moments, otherwise nontrivial for interatomic potentials. Our formulation paves the way for a scalable electronic structure surrogate to DFT.

physics.chem-ph

invDFT: A CPU-GPU massively parallel tool to find exact exchange-correlation potentials from groundstate densities

Density functional theory (DFT) remains the most widely used electronic structure method. Although exact in principle, in practice, it relies on approximations to the exchange-correlation (XC) functional, which is known to be a unique functional of the electron density. Despite 50 years of active research, existing XC approximations remain far from general purpose chemical accuracy of various thermochemical and materials properties. In that light, the inverse DFT problem, of finding the exact XC potential corresponding to an accurate groundstate density, offers an insightful tool to understand the nature of the XC functional as well as aid in the development of more accurate functionals. However, solving the inverse DFT problem is fraught with several numerical challenges, such as non-uniqueness or spurious oscillations in the solution and non-convergence. We present invDFT as an open-source framework to address the outstanding challenges in inverse DFT and computed XC potentials solely from a target density. We do so by use of a systematically convergent finite-element basis and asymptotic corrections to the target density. We also employ several numerical and high-performance computing (HPC) advances that affords both efficiency and parallel scalability, on CPU-GPU hybrid architectures. We demonstrate the accuracy and scalability of invDFT using accurate full-configuration interaction (FCI) densities as well as model densities, ranging up to 100 electrons and spanning both weakly and strongly correlated molecules.

physics.comp-ph

Exchange-Correlation Potentials and Energy Densities through Orbital Averaging and Aufbau Integration

Exchange-correlation potentials vxc and energy densities exc are derived for integer and fractional electron counts using an orbital-averaged Kohn-Sham inversion procedure. The reference densities for inversion come from full configuration interaction in a Slater orbital basis. The orbital-averaged potentials accurately capture key features of vxc, including the asymptotic negative one over r decay and the step discontinuity associated with integer electron transitions for the series of atoms He through Ne. Exchange-correlation energy densities exc are produced through an aufbau path integral. The energy densities reach good agreement with total Exc values. By providing full configuration interaction-derived Kohn-Sham quantities, including vxc, exc, and step contributions, this workflow can be instrumental in the development of improved XC functionals that bridge wavefunction-level accuracy with the computational efficiency of density functional theory.

physics.chem-ph

Learning local and semi-local density functionals from exact exchange-correlation potentials and energies

Finding accurate exchange-correlation (XC) functionals remains the defining challenge in density functional theory (DFT). Despite 40 years of active development, the desired chemical accuracy is still elusive with existing functionals. We present a data-driven pathway to learn the XC functionals by utilizing the exact density, XC energy, and XC potential. While the exact densities are obtained from accurate configuration interaction (CI), the exact XC energies and XC potentials are obtained via inverse DFT calculations on the CI densities. We demonstrate how simple neural network (NN) based local density approximation (LDA) and generalized gradient approximation (GGA), trained on just five atoms and two molecules, provide remarkable improvement in total energies, densities, atomization energies, and barrier heights for hundreds of molecules outside the training set. Particularly, the NN-based GGA functional attains similar accuracy as the higher rung SCAN meta-GGA, highlighting the promise of using the XC potential in modeling XC functionals. We expect this approach to pave the way for systematic learning of increasingly accurate and sophisticated XC functionals.

physics.chem-ph

Accelerating inverse Kohn-Sham calculations using reduced density matrices

The Ryabinkin-Kohut-Staroverov (RKS) and Kanungo-Zimmerman-Gavini (KZG) methods offer two approaches to find exchange-correlation (XC) potentials from ground state densities. The RKS method utilizes the one- and two-particle reduced density matrices to alleviate any numerical artifacts stemming from a finite basis (e.g., Gaussian- or Slater-type orbitals). The KZG approach relies solely on the density to find the XC potential, by combining a systematically convergent finite-element basis with appropriate asymptotic correction on the target density. The RKS method, being designed for a finite basis, offers computational efficiency. The KZG method, using a complete basis, provides higher accuracy. In this work, we combine both the methods to simultaneously afford accuracy and efficiency. In particular, we use the RKS solution as initial guess to the KZG method to attain a significant $3-11\times$ speedup. This work also presents a direct comparison of the XC potentials from the RKS and the KZG method and their relative accuracy on various weakly and strongly correlated molecules, using their ground state solutions from accurate configuration interaction calculations solved in a Slater orbital basis.

physics.chem-ph

Exponential time propagators for elastodynamics

We propose a computationally efficient and systematically convergent approach for elastodynamics simulations. We recast the second-order dynamical equation of elastodynamics into an equivalent first-order system of coupled equations, so as to express the solution in the form of a Magnus expansion. With any spatial discretization, it entails computing the exponential of a matrix acting upon a vector. We employ an adaptive Krylov subspace approach to inexpensively and and accurately evaluate the action of the exponential matrix on a vector. In particular, we use an apriori error estimate to predict the optimal Kyrlov subspace size required for each time-step size. We show that the Magnus expansion truncated after its first term provides quadratic and superquadratic convergence in the time-step for nonlinear and linear elastodynamics, respectively. We demonstrate the accuracy and efficiency of the proposed method for one linear (linear cantilever beam) and three nonlinear (nonlinear cantilever beam, soft tissue elastomer, and hyperelastic rubber) benchmark systems. For a desired accuracy in energy, displacement, and velocity, our method allows for $10-100\times$ larger time-steps than conventional time-marching schemes such as Newmark-$β$ method. Computationally, it translates to a $\sim$$1000\times$ and $\sim$$10-100\times$ speed-up over conventional time-marching schemes for linear and nonlinear elastodynamics, respectively.

math.NA

Examining the Impact of Local Condition Violations on Energy Computations in DFT

This work introduces Extent of Violation Indices (EVIs), a novel metric for quantifying how well exchange-correlation functionals adhere to local conditions. Applying EVIs to a diverse set of molecules for GGA functionals reveals widespread violations, particularly for semi-empirical functionals. We leverage EVIs to explore potential connections between these violations and errors in chemical properties. While no correlation is observed for atomization energies, a link emerges between EVIs and total energies. Similarly, the analysis of reaction energies suggests weak positive correlations for specific conditions, but definitive conclusions about error cancellation require advancements in both functional accuracy and our understanding of cancellation mechanisms. Overall, this study highlights EVIs as a powerful tool for analyzing functional behavior and adherence to local conditions, paving the way for future research to fully elucidate the impact of violations on energy errors.

physics.chem-ph

Exact and model exchange-correlation potentials for open-shell systems

The conventional approaches to the inverse density functional theory problem typically assume non-degeneracy of the Kohn-Sham (KS) eigenvalues, greatly hindering their use in open-shell systems. We present a generalization of the inverse density functional theory problem that can seamlessly admit degenerate KS eigenvalues. Additionally, we allow for fractional occupancy of the Kohn-Sham orbitals to also handle non-interacting ensemble-v-representable densities, as opposed to just non-interacting pure-v-representable densities. We present the exact exchange-correlation (XC) potentials for six open-shell systems -- four atoms (Li, C, N, and O) and two molecules (CN and $\text{CH}_2$) -- using accurate ground-state densities from configuration interaction calculations. We compare these exact XC potentials with model XC potentials obtained using non-local (B3LYP, SCAN0) and local/semi-local (SCAN, PBE, PW92) XC functionals. Although the relative errors in the densities obtained from these DFT functionals are of $\mathcal{O}(10^{-3}-10^{-2})$, the relative errors in the model XC potentials remain substantially large -- $\mathcal{O}(10^{-1}-10^0)$.

physics.chem-ph

Unconventional Error Cancellation Explains the Success of Hartree-Fock Density Functional Theory for Barrier Heights

Energy barriers, which control the rates of chemical reactions, are seriously underestimated by computationally-efficient semi-local approximations for the exchange-correlation energy. The accuracy of a semi-local density functional approximation is strongly boosted for reaction barrier heights by evaluating that approximation non-self-consistently on Hartree-Fock electron densities, as known for about 30 years. The conventional explanation is that Hartree-Fock theory yields the more accurate density. This article presents a benchmark Kohn-Sham inversion of accurate coupled-cluster densities for the reaction H$_2$ + F $\rightarrow$ HHF $\rightarrow$ H + HF, and finds a strong, understandable cancellation between positive (excessively over-corrected) density-driven and large negative functional-driven errors (expected from stretched radical bonds in the transition state) within this Hartree-Fock density functional theory. This confirms earlier conclusions [Kaplan et al., J. Chem. Theory Comput. 19, 532--543 (2023)] based on 76 barrier heights and three less reliable, but less expensive, fully-nonlocal density-functional proxies for the exact density.

physics.chem-ph

Exchange Correlation Potentials from Full Configuration Interaction in a Slater Orbital Basis

Ryabinkin-Kohut-Staroverov (RKS) theory builds a bridge between wave function theory and density functional theory by using quantities from the former to produce accurate exchange-correlation potentials needed by the latter. In this work, the RKS method is developed and tested alongside Slater atomic orbital basis functions for the first time. To evaluate this approach, Full Configuration Interaction computations in the Slater orbitals are employed to give quality input to RKS method, allowing full correlation to be present along with correct nuclei cusps and asymptotic decay of the wavefunction. The RKS method will be shown to be an efficient algorithm to arrive at exchange correlation potentials without unphysical artifacts in moderately-sized basis sets. Furthermore, enforcement of the nuclear cusp conditions will be shown to be vital for the success of the Slater-basis RKS method. Examples of weakly and strongly correlated molecular systems will demonstrate the main features of Slater RKS.

physics.chem-ph

Efficient all-electron time-dependent density functional theory calculations using an enriched finite element basis

We present an efficient and systematically convergent approach to all-electron real-time time-dependent density functional theory (TDDFT) calculations using a mixed basis, termed as enriched finite element (EFE) basis. The EFE basis augments the classical finite element basis (CFE) with compactly supported numerical atom centered basis, obtained from atomic groundstate DFT calculations. Particularly, we orthogonalize the enrichment functions with respect to the classical finite element basis to ensure good conditioning of the resultant basis. We employ the second-order Magnus propagator in conjunction with an adaptive Krylov subspace method for efficient time evolution of the Kohn-Sham orbitals. We rely on \textit{a priori} error estimates to guide our choice of an adaptive finite element mesh as well as the time-step to be used in the TDDFT calculations. We observe close to optimal rates of convergence of the dipole moment with respect to spatial and temporal discretization. Notably, we attain a $50-100\times$ speedup for the EFE basis over the CFE basis. We also demonstrate the efficacy of the EFE basis for both linear and nonlinear response by studying the absorption spectrum in sodium clusters, the linear to nonlinear response transition in green fluorescence protein chromophore, and the higher harmonic generation in magnesium dimer. Lastly, we attain good parallel scalability of our numerical implementation of the EFE basis for up to $\sim1000$ processors, using a benchmark system of 50-atom sodium nanocluster.

physics.chem-ph

A comparison of exact and model exchange-correlation potentials for molecules

Accurate exchange-correlation (XC) potentials for 3-dimensional systems -- via solution of the \emph{inverse} density functional theory (DFT) problem -- are now available to test the quality of DFT approximations. Herein, the \emph{exact} XC potential for six molecules -- hydrogen molecule at three different bond-lengths, lithium hydride, water, and ortho-benzyne -- are computed using accurate ground-state densities from full configuration interaction (CI) calculations. These potentials are then compared to model XC potentials obtained from DFT calculations with commonly used non-local (B3LYP, HSE06, SCAN0, and M08-HX) and local/semi-local (SCAN, PBE, PW92) XC functionals. While relative errors in the ground-state densities from these models are order $\mathcal{O}(10^{-3}-10^{-2})$, much larger errors in the model XC potentials are found, $\mathcal{O}(10^{-1}-10^0)$, in both the $L_2$ norm of the potential as well as its gradients. These errors are exacerbated in strongly correlated situations, such as the stretched $\text{H}_2$ molecule. Among the model XC functionals under consideration, SCAN0 offers the best quantitative and qualitative agreement with the exact XC potential, underlining the significance of satisfying the exact conditions as well as the incorporation of non-local effects in the construction of XC functionals. Overall, this work indicates that tests against the exact XC potential will provide a promising new direction for building more accurate XC functionals for DFT.

physics.chem-ph

Fast and robust all-electron density functional theory calculations in solids using orthogonalized enriched finite elements

We present a computationally efficient approach to perform systematically convergent real-space all-electron Kohn-Sham DFT calculations for solids using an enriched finite element (FE) basis. The enriched FE basis is constructed by augmenting the classical FE basis with atom-centered numerical basis functions, comprising of atomic solutions to the Kohn-Sham problem. Notably, to improve the conditioning, we orthogonalize the enrichment functions with respect to the classical FE basis, without sacrificing the locality of the resultant basis. In addition to improved conditioning, this orthogonalization procedure also renders the overlap matrix block-diagonal, greatly simplifying its inversion. Subsequently, we use a Chebyshev polynomial based filtering technique to efficiently compute the occupied eigenspace in each self-consistent field iteration. We demonstrate the accuracy and efficiency of the proposed approach on periodic unit-cells and supercells. The benchmark studies show a staggering $130\times$ speedup of the orthogonalized enriched FE basis over the classical FE basis. We also present a comparison of the orthogonalized enriched FE basis with the LAPW+lo basis, both in terms of accuracy and efficiency. Notably, we demonstrate that the orthogonalized enriched FE basis can handle large system sizes of $\sim$10,000 electrons.

physics.comp-ph

Real-time time-dependent density functional theory using higher order finite element methods

We present a computationally efficient approach to solve the time-dependent Kohn-Sham equations in real-time using higher-order finite-element spatial discretization, applicable to both pseudopotential and all-electron calculations. To this end, we develop an a priori mesh adaption technique, based on the semi-discrete (discrete in space but continuous in time) error estimate on the time-dependent Kohn-Sham orbitals, to construct a close to optimal finite-element discretization. Subsequently, we obtain the full-discrete error estimate to guide our choice of the time-step. We employ spectral finite-elements along with Gauss-Legendre-Lobatto quadrature to render the overlap matrix diagonal, simplifying the inversion of the overlap matrix that features in the evaluation of the discrete time-evolution operator. We use the second-order Magnus operator as the time-evolution operator in all our calculations. Furthermore, the action of the discrete Magnus operator, expressed as exponential of a matrix, on the Kohn-Sham orbitals is obtained efficiently through an adaptive Lanczos iteration. We observe close to optimal rates of convergence of the dipole moment with respect to spatial and temporal discretization, for both pseudopotential and all-electron calculations. We demonstrate a staggering 100-fold reduction in the computational time afforded by higher-order finite-elements over linear finite-elements. We present comparative studies, in terms of accuracy and efficiency, of our approach against finite-difference based discretization for pseudopotential calculations, and demonstrate significant computational savings when compared to the finite-difference method. We also demonstrate the competence of higher-order finite-elements for all-electron benchmark systems. Lastly, we observe good parallel scalability of the proposed method on many hundreds of processors.

physics.comp-ph

Large-scale all-electron density functional theory calculations using an enriched finite element basis

We present a computationally efficient approach to perform large-scale all-electron density functional theory calculations by enriching the classical finite element basis with compactly supported atom-centered numerical basis functions that are constructed from the solution of the Kohn-Sham (KS) problem for single atoms. We term these numerical basis functions as enrichment functions, and the resultant basis as the enriched finite element basis. The enrichment functions are compactly supported through the use of smooth cutoff functions, which enhances the conditioning and maintains the locality of the basis. The integrals involved in the evaluation of the discrete KS Hamiltonian and overlap matrix in the enriched finite element basis are computed using an adaptive quadrature grid based on the characteristics of enrichment functions. Further, we propose an efficient scheme to invert the overlap matrix by using a block-wise matrix inversion in conjunction with special reduced-order quadrature rules to transform the discrete Kohn-Sham problem to a standard eigenvalue problem. Finally, we solve the resulting standard eigenvalue problem by using a Chebyshev polynomial based filtering technique to compute the relevant eigenspectrum. We demonstrate the accuracy, efficiency and parallel scalability of the proposed method on semiconducting and heavy-metallic systems of various sizes, with the largest system containing 8694 electrons. We obtain accuracies in the ground-state energies that are within $\sim 1$mHa with ground-state energies obtained from classical finite element as well as gaussian basis sets. We observe a $50-300$ and $\sim 8$ fold reduction in the overall computational time when compared to classical finite element and gaussian basis, respectively. We also observe good parallel scalability up to 384 processors for a benchmark system comprising of 280-atom silicon nano-cluster.

physics.comp-ph