This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

thanks: Present address: FU Berlin, Department of Mathematics and Computer Science, Arnimallee 6, 14195 Berlin, Germany

Insights from exact exchange-correlation kernels

N. D. Woods nw361@cam.ac.uk Theory of Condensed Matter, Cavendish Laboratory, University of Cambridge, Cambridge, CB3 0HE, United Kingdom    M. T. Entwistle Department of Physics, University of York, and European Theoretical Spectroscopy Facility, Heslington, York YO10 5DD, United Kingdom    R. W. Godby Department of Physics, University of York, and European Theoretical Spectroscopy Facility, Heslington, York YO10 5DD, United Kingdom
(August 13, 2025)
Abstract

The exact exchange-correlation (xc) kernel fxc(x,x,ω)f_{\text{xc}}(x,x^{\prime},\omega) of linear response time-dependent density functional theory is computed over a wide range of frequencies, for three canonical one-dimensional finite systems. Methods used to ensure the numerical robustness of fxcf_{\text{xc}} are set out. The frequency dependence of fxcf_{\text{xc}} is found to be due largely to its analytic structure, i.e. its singularities at certain frequencies, which are required in order to capture particular transitions, including those of double excitation character. However, within the frequency range of the first few interacting excitations, fxcf_{\text{xc}} is approximately ω\omega-independent, meaning the exact adiabatic approximation fxc(ω=0)f_{\text{xc}}(\omega=0) remedies the failings of the local density approximation and random phase approximation for these lowest transitions. The key differences between the exact fxcf_{\text{xc}} and its common approximations are analyzed, and cannot be eliminated by exploiting the limited gauge freedom in fxcf_{\text{xc}}. The optical spectrum benefits from using as accurate as possible an fxcf_{\text{xc}} and ground-state xc potential, while maintaining exact compatibility between the two is of less importance.

I Introduction

The density-density linear response function of a many-body quantum system can be used to extract a great deal of excited-state information about the system, for example, its optical transition probabilities and transition energies when subject to incident light [1]. Linear response time-dependent density functional theory (DFT) constitutes an exact methodology, in principle, for recovering an interacting response function from the response function of a corresponding Kohn-Sham system [2, 3, 4, 5, 6, 7, 8]. The interacting χ(x,x,|tt|)\chi(x,x^{\prime},|t-t^{\prime}|) density-density response function describes the first-order change in the density due to a perturbation in the external potential [2, 3]:

χ(x,x,|tt|)=δn(x,t)δvext(x,t)|n0.\displaystyle\chi(x,x^{\prime},|t-t^{\prime}|)=\left.\frac{\delta n(x,t)}{\delta v_{\text{ext}}(x^{\prime},t^{\prime})}\right|_{n_{0}}. (1)

The Kohn-Sham response function χ0=δn/δvKS\chi_{0}=\delta n/\delta v_{\text{KS}} is specified with the ground-state exchange-correlation (xc) potential vxc(x)v_{\text{xc}}(x), and then a map from the Kohn-Sham response function to the interacting response function is established using the xc kernel,

fxc(x,x,|tt|)=δvxc(x,t)δn(x,t)|n0,\displaystyle f_{\text{xc}}(x,x^{\prime},|t-t^{\prime}|)=\left.\frac{\delta v_{\text{xc}}(x,t)}{\delta n(x^{\prime},t^{\prime})}\right|_{n_{0}}, (2)

i.e. the first-order change in the xc potential due to a perturbation in the density. The uniqueness of this map is guaranteed by the Runge-Gross theorem of time-dependent DFT [9, 10], and the definition of fxcf_{\text{xc}} in Eq. (2) demonstrates that, like the ground-state xc potential, fxcf_{\text{xc}} is a functional of the ground-state density n0n_{0}. The principal aim of this work is to elucidate the structure and features of the exact numerical fxcf_{\text{xc}}, that is, fxc(x,x,|tt|)f_{\text{xc}}(x,x^{\prime},|t-t^{\prime}|) including the full extent of its spatial and temporal character.

The map from the Kohn-Sham response function to the interacting response function is identified with the requirement that density perturbations in the Kohn-Sham system match those in the interacting system. This map is often referred to as the Dyson equation of linear response time-dependent DFT,

χ(x,x,ω)=\displaystyle\chi(x,x^{\prime},\omega)= χ0(x,x,ω)+χ0(x,x′′,ω){fH(x′′,x′′′)\displaystyle\chi_{0}(x,x^{\prime},\omega)+\iint\chi_{0}(x,x^{\prime\prime},\omega)\{f_{\text{H}}(x^{\prime\prime},x^{\prime\prime\prime})
+fxc(x′′,x′′′,ω)}χ(x′′′,x,ω)dx′′dx′′′,\displaystyle+f_{\text{xc}}(x^{\prime\prime},x^{\prime\prime\prime},\omega)\}\chi(x^{\prime\prime\prime},x^{\prime},\omega)\ dx^{\prime\prime}dx^{\prime\prime\prime},

where fH=δvH/δnf_{\text{H}}=\delta v_{\text{H}}/\delta n is the Hartree kernel (the electron-electron interaction) and all objects are now expressed in the frequency domain ω\omega, the Fourier transform of the time domain |tt||t-t^{\prime}|. An approximate Kohn-Sham response function in conjunction with an approximate fxcf_{\text{xc}} provides an approximation to the exact interacting response function, from which a host of properties can be calculated, such as the optical absorption spectrum [11] and the ground-state correlation energy [12, 13]. The optical absorption spectrum [2],

σ(ω)=4πωcIm(χ(x,x,ω))xx𝑑x𝑑x,\displaystyle\sigma(\omega)=-\frac{4\pi\omega}{c}\iint\text{Im}(\chi(x,x^{\prime},\omega))xx^{\prime}\ dxdx^{\prime}, (3)

is the main focus of this work, and provides the transition energies and transition rates of a sample subject to classical light within the dipole approximation 111Hartree atomic units me==e=4πε0=1m_{e}=\hbar=e=4\pi\varepsilon_{0}=1 are used throughout.. Linear response time-dependent DFT is now a prominent method used to excited- and ground-state aspects of finite and extended systems.

The development and understanding of approximate xc kernels has been the subject of intense interest over the past decades, see, for example, [15, 7, 2, 16, 11] and references therein. In most cases, these approximations can be sorted hierarchically depending on the level of theory involved in the approximation. The lowest orders of this hierarchy contain the random phase approximation (RPA) and the adiabatic local density approximation (LDA). The former ignores exchange and correlation at the level of the xc kernel entirely by setting fxcRPA=0f^{\text{RPA}}_{\text{xc}}=0 [17], and the latter includes exchange and correlation within the framework of an LDA, leading to an adiabatic, spatially local fxcALDAδ(xx)δ(tt)f_{\text{xc}}^{\text{ALDA}}\propto\delta(x-x^{\prime})\delta(t-t^{\prime}) [18, 19].

The xc kernel itself, however, is known to possess a range of pathological features that depart significantly from these approximations. In particular, certain circumstances demand a spatial ultra-non-locality in fxcf_{\text{xc}} [2]. Furthermore, a non-adiabatic temporal structure is known to be essential to capture excitations of a multi-particle character [20, 21, 22, 23]. These are two manifestations of the fact that the exact fxcf_{\text{xc}} contains all correlated many-body effects. More sophisticated approximations to fxcf_{\text{xc}} seek to include these effects in some form or another, such as those that utilize the GWGW approximation and the Bethe-Salpeter equation [24, 25, 26, 16], exact-exchange kernels [27, 28, 29, 30, 31], and long-range corrected kernels [32, 33].

The use of model systems has been effective in developing understanding of fxcf_{\text{xc}}. In particular, the frequency dependence of fxcf_{\text{xc}} has been the subject of model analytic studies [34, 21, 35, 36], numerical studies using model Hamiltonians, e.g. the Hubbard model [37, 38, 39, 40], and numerical studies of exact one-dimensional Hamiltonians in a truncated Hilbert space [41, 42, 43]. This work continues along the lines of the last approach, and seeks to address the spatial and frequency dependence of fxcf_{\text{xc}} for energies far beyond the first few excitations. The observed features of fxcf_{\text{xc}} are examined in relation to matters of practical interest, such as optical properties.

II Methodology

II.1 Background

The iDEA code [44] is used in order to obtain the interacting and Kohn-Sham response functions. This software implements quantum mechanics for finite systems in one dimension interacting with a softened Coulomb electron-electron interaction

vc(x,x)=1|xx|+α,\displaystyle v_{c}(x,x^{\prime})=\frac{1}{|x-x^{\prime}|+\alpha}, (4)

where α\alpha is the extent of the softening; we use α=1\alpha=1 a.u. A delta function basis set, i.e. real-space grid, of dimension NN is used to discretize the spatial domain [a,a][-a,a] of length L=2aL=2a subject to Dirichlet boundary conditions.

Our three prototype systems each consist of two spinless electrons in the external potentials described below. (The use of spinless fermions delivers a richer ground state and excitation spectrum for a given number of electrons.)

For some input external potential vext(x)v_{\text{ext}}(x), the full set of eigenvectors {|Ψi}\{|\Psi_{i}\rangle\} of the interacting Hamiltonian is found using exact diagonalization. The corresponding exact Kohn-Sham potential vKS(x)v_{\text{KS}}(x) is then reverse-engineered by applying preconditioned root-finding techniques to an appropriate fixed-point map [45]. The full set of Kohn-Sham eigenvectors {|ϕi}\{|\phi_{i}\rangle\} is also obtained using exact diagonalization. The causal response functions are computed in the frequency domain directly using the Lehmann representation; the interacting response function, for example, is given by

χ(x,x,ω)=limη0n=1Ψ0|n^(x)|ΨnΨn|n^(x)|Ψ0ωΩn+iη\displaystyle\chi(x,x^{\prime},\omega)=\lim_{\eta\rightarrow 0}\sum_{n=1}^{\infty}\frac{\langle\Psi_{0}|\hat{n}(x)|\Psi_{n}\rangle\langle\Psi_{n}|\hat{n}(x^{\prime})|\Psi_{0}\rangle}{\omega-\Omega_{n}+i\eta}
Ψ0|n^(x)|ΨnΨn|n^(x)|Ψ0ω+Ωn+iη,\displaystyle-\frac{\langle\Psi_{0}|\hat{n}(x^{\prime})|\Psi_{n}\rangle\langle\Psi_{n}|\hat{n}(x)|\Psi_{0}\rangle}{\omega+\Omega_{n}+i\eta},

where Ωn=EnE0\Omega_{n}=E_{n}-E_{0} is the nthn^{\text{th}} excitation energy of the interacting Hamiltonian, and the response function is zero for times t>tt>t^{\prime}. Construction of the interacting response function in this fashion is an accurate but demanding procedure, whereas the methods outlined in [42] to construct the response functions are amenable to larger systems, but more prone to error; either method will suffice here. On a finite spatial grid, the response functions at a given ω\omega become response matrices, denoted χ(ω)\chi(\omega) and χ0(ω)\chi_{0}(\omega). The Dyson equation gives an alternate definition of the xc kernel,

fxc(ω)=χ01(ω)χ1(ω)fH,\displaystyle f_{\text{xc}}(\omega)=\chi_{0}^{-1}(\omega)-\chi^{-1}(\omega)-f_{\text{H}}, (5)

where -1 is to be understood as the matrix inverse, and the Hartree kernel fHf_{\text{H}} becomes softened due to Eq. (4). This expression is used as the definition of fxcf_{\text{xc}} in the present context, where the matrix inverses require the careful treatment described in the next section.

II.2 Challenges in computing exact exchange-correlation kernels

Numerical difficulties arise when attempting to construct fxcf_{\text{xc}} as an object in itself using Eq. (5), which is one of a few reasons that has prevented or hindered studies of the exact fxcf_{\text{xc}} along these lines [41, 42, 43]. The xc kernel represents the solution to an inverse problem, i.e. find the δvxc\delta v_{\text{xc}} that produces a given δn\delta n, and inverse problems are notoriously sensitive to small error [46], such as those introduced by finite-precision arithmetic. As discussed, fxcf_{\text{xc}} in Eq. (5) requires the matrix inverse of the response matrices at a given ω\omega, and hence a naive inversion procedure introduces numerical error at a given ω\omega in proportion to the condition of the response matrices, that is, the ratio of the maximum to minimum eigenvalue.

Physical eigenvalues that are close to, or below, machine precision manifest in the response matrices from various sources [47]. One such source is related to the linear response vv-representability problem. That is to say, there exist density perturbations that oscillate with some non-resonant frequency ω\omega that cannot be produced by a perturbing potential at linear order [48, 47, 27]. Therefore, at such a frequency, the response function has an eigenvector |u(ω)|u(\omega)\rangle whose eigenvalue is zero, indicating that the density perturbation δn=|u(ω)\delta n=|u(\omega)\rangle does not correspond to some finite δv\delta v, as the response function is non-invertible 222For example, the constant perturbation δv=c(ω)\delta v=c(\omega) oscillating with frequency ω\omega produces no response in the density δn\delta n at all orders, including at first order.. This can happen in both the interacting and Kohn-Sham response functions at distinct frequencies. These eigenvalues are of importance for the work to follow, and are discussed in more depth in Section III.2.

Another source of low eigenvalues is due to extended regions of nearly vanishing ground-state density. Since the aim of this work is, in part, to study the optical response of confined systems far beyond the first excitation, an appropriately large spatial domain [a,a][-a,a] is required in order to accommodate the more extended excited states without introducing spurious features due to the boundary conditions. Within such a system, a perturbing potential localized toward the edge of the domain yields a negligible ground-state density response, the effect of which is to introduce near-zero eigenvalues into the response functions. Therefore, ill-conditioning is unavoidable if we are to study the response functions, and thus fxcf_{\text{xc}}, at high frequencies. The extent of this ill-conditioning depends on the maximum frequency up to which one wishes to examine matters.

Note that these near-machine-precision eigenvalues of the response functions are problematic only if this difference accounts for some particular physical phenomenon, such as charge transfer, whereby in order to capture excitations of charge-transfer character an fxcf_{\text{xc}} that is divergent in proportion to the increasing separation between the subsystems involved is required 333We observed this situation in a double-well system that we explored as background to the present study. [51]. In such cases the construction of numerical xc kernels will be challenging. However, the systems studied in this work do not suffer this issue: the ill-conditioning of the interacting and Kohn-Sham response functions can be assumed to cancel in the definition of fxcf_{\text{xc}}, Eq. (5), thus producing a regular fxcf_{\text{xc}}. This procedure can be viewed as a form of basis set truncation, i.e. assign χ=χ0\chi=\chi_{0} within some subset of the basis responsible for ill-conditioning and proceed to compute fxcf_{\text{xc}} under this assumption. We now describe two such approaches: a truncation in real space, and a truncation in eigenspace.

II.2.1 Real-space truncation

In finite systems with a confining potential, the response functions tend toward zero outside of the confined region, and this so-called long-range behavior is known to be relatively unimportant in the present context – this is not the case in periodic systems [16, 15, 52, 53]. Therefore, as we demonstrate in this work, forcing the interacting response function to equal the non-interacting response function within some yet undefined outer region does not much alter the derived properties of the interacting response function, such as its optical spectrum.

To this end, a partition of the spatial domain [a,a][-a,a] is made such that an inner region is defined where xx takes values bxb-b\leq x\leq b; the numerical parameter bb defines the extent of the truncation. The outer region constitutes the remaining space between the inner region and the edges of the domain, a-a and aa. This partition of the space, as it applies to the response functions, can be seen in Fig. 1. The assumption is then made that

χ~(x,x,ω)\displaystyle\tilde{\chi}(x,x^{\prime},\omega) χ(x,x,ω) for (x,x) in inner region\displaystyle\coloneqq\chi(x,x^{\prime},\omega)\text{ for }(x,x^{\prime})\text{ in inner region}
χ~(x,x,ω)\displaystyle\tilde{\chi}(x,x^{\prime},\omega) χ0(x,x,ω) for (x,x) in outer region,\displaystyle\coloneqq\chi_{0}(x,x^{\prime},\omega)\text{ for }(x,x^{\prime})\text{ in outer region},

where χ~\tilde{\chi} is the truncated response function.

Refer to caption
Figure 1: A schematic depiction of the real-space truncation strategy used to regularize computations of fxcf_{\text{xc}}, whereby a truncated response function χ~\tilde{\chi} is defined as the interacting response function within some region parameterized by bb, the inner region (shaded gray), and is otherwise set equal to the Kohn-Sham response function.

The xc kernel is now defined as the object that returns the truncated response function χ~\tilde{\chi}, rather than the interacting response function χ\chi, upon solution of the Dyson equation. This leads to the following piecewise form for fxcf_{\text{xc}},

fxc={χ01χ1fH for (x,x) in inner regionfH for (x,x) in outer region.f_{\text{xc}}=\begin{cases}\chi_{0}^{-1}-\chi^{-1}-f_{\text{H}}&\text{ for }(x,x^{\prime})\text{ in inner region}\\ -f_{\text{H}}&\text{ for }(x,x^{\prime})\text{ in outer region}.\end{cases}

The regularizing effect of the method presented above can be understood by examining the role of the truncation parameter bb. In particular, two extremes are considered, first, setting b=ab=a means the inversion of the response matrix at a given ω\omega is performed over the whole domain, and hence is dominated by error due to excessive regions of nearly vanishing ground-state density; this error is hereafter referred to as the numerical error. Setting b=0b=0 turns the truncated response function into the Kohn-Sham response function over the entire domain – an evidently unsatisfactory state of affairs – and error of this kind is referred to as method error. Whilst this need not be the case in principle, it is the case for the systems studied here that it is possible to choose bb such that an acceptable balance is struck between method error and numerical error. In other words, the truncated response function is able to retain all the physical properties of the interacting response function and ensure the computation of the resulting piecewise fxcf_{\text{xc}} is well-conditioned. A discussion on the notion of error in the present context, including an elaboration of the method error and numerical error, is given in the supplemental material 444URL to be inserted.

One might take issue that the above piecewise expression for fxcf_{\text{xc}} is spuriously discontinuous at the boundary of the inner and outer region, where the extent of this discontinuity depends on the long-range behavior of fxcf_{\text{xc}}. However, we shall be concerned with the behavior of fxcf_{\text{xc}} inside the inner region, i.e. the region where departure of the Hxc kernel fHxc=fxc+fHf_{\text{Hxc}}=f_{\text{xc}}+f_{\text{H}} from zero produces meaningful features in the output of the Dyson equation.

II.2.2 Eigenspace truncation

A second, related, method used in this work in order to regularize the computation of fxcf_{\text{xc}} is to truncate the interacting response matrix in the eigenspace of the Kohn-Sham response matrix. This method is much more accurate than the real-space truncation, but is limited to Hermitian response matrices, i.e. response matrices constructed without an artificial broadening η\eta.

Consider the eigendecomposition of the interacting and Kohn-Sham response matrices at a given ω\omega, where the eigenpairs are denoted {|ui,λi}\{|u_{i}\rangle,\lambda_{i}\} and {|uiKS,λiKS}\{|u^{\text{KS}}_{i}\rangle,\lambda^{\text{KS}}_{i}\} respectively. Consider further some value λ¯\bar{\lambda} such that the effective null space, Nulleff\text{Null}_{\text{eff}}, is defined as the subspace spanned by eigenvectors whose eigenvalue has modulus below λ¯\bar{\lambda} 555The formal definition of the effective null space is Nulleff(χ0)=Span({|uiKS||λiKS|<λ¯})\text{Null}_{\text{eff}}(\chi_{0})=\text{Span}(\{|u_{i}^{\text{KS}}\rangle\ |\ |\lambda^{\text{KS}}_{i}|<\bar{\lambda}\}).. The assumption is now made that the truncated response matrix χ~\tilde{\chi} operates on vectors that are elements of the effective null space as the Kohn-Sham response matrix,

χ~|v=χ0|v for |vNulleff(χ0),\displaystyle\tilde{\chi}|v\rangle=\chi_{0}|v\rangle\text{ for }|v\rangle\in\text{Null}_{\text{eff}}(\chi_{0}), (6)

see Fig. 2. Given PNP_{N} as the projection operator onto the effective null space, the expression in Eq. (6) is established as follows,

χ~=(IPN)χ+PNχ0;\displaystyle\tilde{\chi}=(I-P_{\text{N}})\chi+P_{\text{N}}\chi_{0}; (7)

the first term on the right-hand side removes the effective null space from χ\chi, and the second term ensures χ~\tilde{\chi} operates as intended on elements of the effective null space. Another view of this manipulation is that the truncated and Kohn-Sham response functions are required to share eigenvectors and eigenvalues inside the effective null space,

{|u~i,λ~i}={|uiKS,λiKS} for |λiKS|<λ¯,\displaystyle\{|\tilde{u}_{i}\rangle,\tilde{\lambda}_{i}\}=\{|u^{\text{KS}}_{i}\rangle,\lambda^{\text{KS}}_{i}\}\text{ for }|\lambda^{\text{KS}}_{i}|<\bar{\lambda}, (8)

and the truncated response function is otherwise equal to the interacting response function, this is also depicted in Fig. 2.

Refer to caption
Figure 2: A schematic depiction of the eigenspace truncation strategy used to regularize computations of fxcf_{\text{xc}}, whereby the interacting response function is expanded in the basis of eigenvectors of the Kohn-Sham response function, and set equal to the Kohn-Sham response function inside the effective null space, parameterized by λ¯\bar{\lambda}.

The pseudoinverse [56] with cutoff λ¯\bar{\lambda}, i.e. the eigendecomposition with eigenpairs below λ¯\bar{\lambda} discarded, is now an exact procedure to obtain fxcf_{\text{xc}} that recovers χ~\tilde{\chi} after solution of the Dyson equation,

fxc=χ0+χ~+fH,\displaystyle f_{\text{xc}}=\chi_{0}^{+}-\tilde{\chi}^{+}-f_{\text{H}}, (9)

where + denotes the pseudoinverse.

In direct analogy with the previous method, the parameter λ¯\bar{\lambda} assumes the job of bb, namely, it parameterizes the extent of the truncation. The difference between the truncated response function Eq. (6) and the exact interacting response function is again given the name method error. Note that this approach is quite distinct from applying the pseudoinverse to the response functions in Eq. (5) – doing so would introduce much more error and the source of this error is not clear. On the contrary, the error inherent in the method presented here is identified as the extent to which the effective null space of the interacting and Kohn-Sham response functions do not overlap, and this error can be tracked without reference to fxcf_{\text{xc}} using the method error.

Since the eigenspace truncation method is much more accurate than the real-space truncation method, results are given using the eigenspace truncation where possible. Although, visualization of the optical spectrum relies on evaluating the response functions slightly above the real axis in the frequency domain, along ω+iη\omega+i\eta. This leads to response matrices that are complex-symmetric, and thus (weakly) non-Hermitian, in which case the real-space truncation method is used.

II.3 Gauge freedom

As noted in Refs. [28, 27, 57, 37], the following transformation

fxc(x,x,ω)fxc(x,x,ω)+g(x,ω)+h(x,ω)+c(ω),\displaystyle f_{\text{xc}}(x,x^{\prime},\omega)\rightarrow f_{\text{xc}}(x,x^{\prime},\omega)+g(x,\omega)+h(x^{\prime},\omega)+c(\omega),

leaves the output of the Dyson equation unchanged, and thus we are, in principle, free to choose the arbitrary complex-valued functions g(x,ω),h(x,ω)g(x,\omega),h(x^{\prime},\omega) and c(ω)c(\omega). All three transformations are a direct manifestation of the invariance of quantum Hamiltonian systems under a constant time-dependent shift of the potential. From the point of view of fxcf_{\text{xc}} approximations, two xc kernels are equivalent if they exist within this family of functions 666Note that the quantities ij|fxc(ω)|kl\langle ij|f_{\text{xc}}(\omega)|kl\rangle, where (i,j,k,l)(i,j,k,l) label indices of single-particle wavefunctions, are unique [27], and it is these quantities that form the input to the Casida equation [72], for example..

A preferred gauge is defined by Eq. (5), since the objects χ\chi and χ0\chi_{0} are themselves invariant to a shift in the potential. The unique fxcf_{\text{xc}}, modulo a constant shift (see below), defined in Eq. (5) can be considered the physical fxcf_{\text{xc}}, and it is this definition of fxcf_{\text{xc}} that is assumed in discussions on its various properties and limits [16, 15, 52, 53, 59]. To modify this fxcf_{\text{xc}} using its gauge freedom changes its underlying structure; for example, setting g0g\neq 0 gives fxcf_{\text{xc}} spurious long-range behavior, and setting ghg\neq h produces an fxcf_{\text{xc}} that is not symmetric under interchange of xxx\leftrightarrow x^{\prime}. In this work, we illustrate fxcf_{\text{xc}} as it is defined in Eq. (5), which also defines g=h=0g=h=0. The constant shift cc has special meaning, as it is itself an eigenvector of χ\chi and χ0\chi_{0} with eigenvalue zero, i.e. the response functions are non-invertible in this direction. Since the Dyson equation is therefore silent regarding the value of cc, we anchor fxcf_{\text{xc}} by requiring that, in the long-range limit, far outside the confined density, fxc+fH0f_{\text{xc}}+f_{\text{H}}\rightarrow 0, and find that this limit is reliably achieved.

Having decided upon a preferred gauge, one can consider the possible consequences of this gauge freedom on matters of practical interest. An approximate fxcf_{\text{xc}} that differs in relevant structure from the exact fxcf_{\text{xc}} largely due to a change of gauge provides at least a partial explanation for the performance of a given approximate fxcf_{\text{xc}}; in Section III.4 we consider this line of inquiry.

III Results and discussion

III.1 Atom

Our first system consists of two interacting electrons confined in the atom-like potential, vext(x)=2/(|0.1x|+0.5)v_{\text{ext}}(x)=-2/(|0.1x|+0.5), within the domain [8,8][-8,8] a.u. An illustration of this system, and its associated numerical parameters, are given in the supplemental material. The purpose of the atom demonstration is two-fold. First, it constitutes a proof-of-concept, and defines a standard of accuracy to which the remainder of the calculations are held unless stated otherwise. Second, the optical spectrum of the atom is calculated in the range ω[0,6]\omega\in[0,6] a.u., which includes many excitations beyond the first, and the efficacy of various approximations to fxcf_{\text{xc}} are examined in relation to the optical spectrum.

The exact fxcf_{\text{xc}}, constructed using the real-space truncation method, is shown for the first three visible interacting excitations in the optical spectrum, and at ω=0\omega=0 a.u., in Fig. 3. The last is sometimes termed the exact adiabatic fxcf_{\text{xc}}, and it correctly describes any system in which the response to a perturbation is essentially instantaneous, fxc(x,x,ω=0)f_{\text{xc}}(x,x^{\prime},\omega=0).

Refer to caption
Figure 3: The real part of the exact numerical xc kernel fxc(x,x,ω)f_{\text{xc}}(x,x^{\prime},\omega) for the atom at (a) ω=0\omega=0 (exact adiabatic), (b) the first visible interacting excitation, (c) the second visible interacting excitation, and (d) the third visible interacting excitation. For illustrative purposes, fxcf_{\text{xc}} is shown for 3.5<x<3.5-3.5<x<3.5, where its essential structure is most visible. The xc kernel across the first two transitions remains approximately equal to the exact adiabatic fxc(ω=0)f_{\text{xc}}(\omega=0), after which a significant departure from the adiabatic limit is observed. The exact adiabatic fxc(ω=0)f_{\text{xc}}(\omega=0) displays considerable non-local structure, despite a local dominance along x=xx=x^{\prime}.

The real-space truncation parameter is chosen as b=5.8b=5.8 a.u., meaning the inner region is defined as 5.8<x<5.8-5.8<x<5.8. It is important to stress that this choice of bb is not unique, and there exists some feasible range of bb within which fxcf_{\text{xc}} itself is insensitive to changes. Moreover, within this feasible range, both the method error and numerical error are acceptable – a discussion on the precise quantification of error here is given in the supplemental material. The mean absolute error between the output of the Dyson equation, which is hereafter defined as

χDyson(ω)=χ0(ω)Iχ0(ω)(fxc(ω)+fH),\displaystyle\chi_{\text{Dyson}}(\omega)=\frac{\chi_{0}(\omega)}{I-\chi_{0}(\omega)(f_{\text{xc}}(\omega)+f_{\text{H}})}, (10)

and the interacting response function χ(ω)\chi(\omega) is 𝒪(109)\mathcal{O}(10^{-9}) over the entire grid. The zero-force sum rule [2, 60] is used to further validate the numerics, which is discussed and illustrated in the supplemental material.

In order to extract the optical transition energies and transition rates, given a single-particle response function χ0\chi_{0} and xc kernel fxcf_{\text{xc}}, one can construct the entire optical absorption spectrum Eq. (3) using the corresponding output of the Dyson equation, denoted χDyson(fxc,vxc)\chi_{\text{Dyson}}(f_{\text{xc}},v_{\text{xc}}), where χ0\chi_{0} is specified with some vxcv_{\text{xc}}, see Fig. 4.

Refer to caption
Figure 4: The optical spectrum for the atom is computed using the interacting response function χ\chi (blue solid), the Kohn-Sham response function χ0\chi_{0} (red dash), and the output of the Dyson equation χDyson\chi_{\text{Dyson}} with the exact fxc(x,x,ω)f_{\text{xc}}(x,x^{\prime},\omega) (black dot). The exact numerical fxcf_{\text{xc}} reproduces the interacting peaks perfectly, as expected.

As established in [61, 62, 63], the exact Kohn-Sham single-particle transitions are in excellent agreement with the interacting transitions, but this agreement becomes increasingly poor at higher energies. An approach to understanding this is to consider the overlap between the final states involved in a given interacting |Ψ0|Ψf|\Psi_{0}\rangle\rightarrow|\Psi_{f}\rangle and Kohn-Sham |Φ(0,1)|Φf|\Phi_{(0,1)}\rangle\rightarrow|\Phi_{f}\rangle transition, where |Φ(i,j)|\Phi_{(i,j)}\rangle denotes the Slater determinant constructed from ithi^{\text{th}} and jthj^{\text{th}} Kohn-Sham single-particle states.

The overlap of the ground-state is Ψ0|Φ(0,1)=0.99991\langle\Psi_{0}|\Phi_{(0,1)}\rangle=0.99991, and the overlap of the final states involved in the first transition at ω=0.76\omega=0.76 a.u. is Ψ1|Φ(0,2)=0.9995\langle\Psi_{1}|\Phi_{(0,2)}\rangle=0.9995. The static correlation in the interacting state here is modest, meaning the interacting state has strong single-particle character, which leads to agreement between the low-energy transitions in the optical spectrum. At higher energies, the overlap decays by multiple orders of magnitude, however this is not the predominant source of error in higher energy transitions. Rather, interacting excitations that correspond to Kohn-Sham single-particle excitations out of the highest occupied state (the second) are much more accurate than single-particle excitations out of the first state. For example, the interacting excitation |Ψ0|Ψ19|\Psi_{0}\rangle\rightarrow|\Psi_{19}\rangle at ω=4.41\omega=4.41 a.u. in Fig. 4 is captured well with the Kohn-Sham excitation |Φ(0,1)|Φ(0,12)|\Phi_{(0,1)}\rangle\rightarrow|\Phi_{(0,12)}\rangle, whereas this is not true of the preceding interacting excitation. This is not surprising, as the highest occupied Kohn-Sham state has energy equal to minus the exact electron removal energy [64], and thus at least one energy involved in the transition is correct. This might often be the case, and to comment further would require additional many-body calculations.

The following fxcf_{\text{xc}} approximations are now considered: the RPA fxcRPA=0f^{\text{RPA}}_{\text{xc}}=0, an adiabatic LDA fxcALDA[n](x,x,ω=0)δ(xx)f^{\text{ALDA}}_{\text{xc}}[n](x,x^{\prime},\omega=0)\propto\delta(x-x^{\prime}) parameterized with reference to the homogeneous electron gas in [65], and the exact adiabatic xc kernel fxc(x,x,ω=0)f_{\text{xc}}(x,x^{\prime},\omega=0), Fig. 3(a). These fxcf_{\text{xc}} approximations are used to solve the Dyson equation in conjunction with the exact Kohn-Sham response function. The atomic optical spectrum, using the aforementioned series of approximations, is shown in Fig. 5 for the first transition and a chosen higher energy transition.

Refer to caption
Figure 5: The optical absorption spectrum for the atom around the first transition, and around two higher energy transitions (inset), calculated at various levels of approximation. The optical spectra calculated from the interacting and Kohn-Sham response functions are plotted alongside the optical spectrum computed from the Dyson equation using the RPA, adiabatic LDA, and exact adiabatic xc kernels. The adiabatic LDA and RPA fail to accurately reproduce the interacting transitions, whereas the exact adiabatic approximation successfully describes the low-energy transition, but fails at higher energies.

The exact adiabatic fxcf_{\text{xc}} reproduces the first peak well, which reflects the fact that fxcf_{\text{xc}} at the first excitation, Fig. 3(b), is visually indistinguishable from the exact adiabatic fxcf_{\text{xc}}. This agreement demonstrates that, not only is the adiabatic approximation valid for low-energy transitions, but also the non-local spatial structure in the exact adiabatic fxcf_{\text{xc}} is required in order to reproduce the low-energy peaks in the optical spectrum – in lacking this structure, both the RPA and adiabatic LDA significantly over-correct the underestimation of the non-interacting transition energy. At higher energies, i.e. beyond the third peak in the optical spectrum (not shown), all three approximations perform similarly, and do not improve matters significantly beyond the corresponding non-interacting peak. This behavior appears to be generic for all peaks observed up to ω=6\omega=6 a.u., namely, the transition energies output from the Dyson equation with these approximate xc kernels are bound to the quality of the non-interacting transition energies. Furthermore, the inset of Fig. 5 demonstrates that the exact adiabatic approximation gives an excitation energy that is worse than the other adiabatic approximations. This suggests that, in order to capture higher energy transitions, a frequency dependence is required, and in particular ‘improving’ the spatial structure of adiabatic approximations toward the exact adiabatic structure does not assist matters here.

As alluded to above, the exact adiabatic approximation ceases to out-perform the adiabatic LDA and RPA beyond the third transition in the optical spectrum, i.e. the same transition for which the corresponding exact fxcf_{\text{xc}} departs from its adiabatic structure in a serious manner, Fig. 3. In fact, as the subsection to follow demonstrates, this violent departure from adiabaticity has a particular and fairly simple form, and its origin is understood in the context of eigenvalues of χ(ω)\chi(\omega) or χ0(ω)\chi_{0}(\omega) that cross zero. The eigenvector corresponding to the eigenvalue that touches zero is a non-vv-representable density perturbation at linear order.

III.2 Infinite potential well

The infinite potential well is defined with the external potential vext=0v_{\text{ext}}=0 inside the domain [5,5][-5,5] a.u. (See supplemental material for the corresponding Kohn-Sham potential, density, and numerical parameters.) The numerical response functions for this system are well-conditioned and valid up to arbitrary ω\omega, there are no regions of nearly vanishing density, and thus there is no significant numerical error present here.

The non-adiabatic character of fxcf_{\text{xc}} is illustrated up to ω6\omega\approx 6 a.u. in Fig. 6. As in the atom, fxcf_{\text{xc}} exhibits little frequency dependence, until after the second transition. This behavior is related to the poles that occur in fxcf_{\text{xc}} infinitesimally below the ω\omega-axis [47, 27]. The eigenvalues of fxcf_{\text{xc}} as a function of frequency are given in Fig. 7, and in particular, three divergences are shown (the singularities are tempered slightly by evaluating the response functions just above the real ω\omega-axis). The lower panels of Fig. 7 demonstrate that these singularities coincide with a single eigenvalue of either the interacting or non-interacting response function crossing zero. Thus, the visual character of fxcf_{\text{xc}} is dominated by the outer product of the eigenvector whose eigenvalue is either beginning to diverge, or recovering from a divergence. Moreover, nothing in principle is preventing these singularities in fxcf_{\text{xc}} coming arbitrarily close to an interacting excitation – either χ0\chi_{0} can cross zero close to an interacting excitation, or χ\chi itself can cross zero close to an interacting excitation 777The interacting response function χ\chi diverges at an interacting excitation, but this does not, in a finite basis, prevent an eigenvalue from crossing zero at this energy under certain circumstances that are set out in the supplemental material.. Since most fxcf_{\text{xc}} approximations lack these divergences, one can question the importance of these divergences in relation to optical properties.

Refer to caption
Figure 6: The real part of the exact numerical xc kernel fxc(x,x,ω)f_{\text{xc}}(x,x^{\prime},\omega) for the infinite potential well at (a) ω=0\omega=0 (exact adiabatic), and at three higher frequencies that demonstrate its non-adiabatic character, (b) the sixth interacting excitation, ω=1.09\omega=1.09 a.u., (c) ω=3.28\omega=3.28 a.u., and (d) ω=5.55\omega=5.55 a.u. The xc kernels are shifted such that their maximum value is zero, since there exists no long-range limit, see Section II.3. A strong frequency dependence, i.e. departure from the adiabatic limit, is observed.
Refer to caption
Figure 7: Eigenvalues as a function of frequency, labeled Re(λ(ω)\lambda(\omega)), of fxcf_{\text{xc}} (upper), χ0\chi_{0} (lower left), and χ\chi (lower right). Within the frequency range shown, the predominant non-adiabatic behavior of fxcf_{\text{xc}} is a result of three singularities and their surrounding divergences at ω=0.99,1.01,1.17\omega=0.99,1.01,1.17 a.u. The source of the last two is observed to be an eigenvalue crossing zero in χ0\chi_{0} and χ\chi respectively.

In order to determine the impact of the divergences in fxcf_{\text{xc}} on the optical spectrum, we examine how the optical spectrum is affected after projecting out the divergent eigendirection in fxcf_{\text{xc}}, but otherwise keeping fxcf_{\text{xc}} identical (the details of this procedure are given in the supplemental material). This is tantamount to setting χ|vχ0|v\chi|v\rangle\coloneqq\chi_{0}|v\rangle for some vector |v|v\rangle within the Hilbert space that is associated with the divergence.

The interacting excitation at ω=1.09\omega=1.09 a.u., see Fig. 7, is visible in the optical spectrum, and furthermore the character of fxcf_{\text{xc}} at this energy, see Fig. 6, is dominated by the outer product of an eigenvector whose eigenvalue is much larger in magnitude than the rest, and between the two divergences at ω=1.01,1.17\omega=1.01,1.17 a.u. The removal of these divergences from fxcf_{\text{xc}} across the energy range of interest, and subsequently solving the Dyson equation with the projected xc kernel fxcprojectedf_{\text{xc}}^{\text{projected}}, shifts the interacting optical peak back toward the non-interacting peak, Fig. 8. Conversely, the much weaker divergence at ω=0.99\omega=0.99 a.u., as seen in Fig. 7, has a tail that also yields an eigenvalue much larger in magnitude than the rest at the interacting excitation, and removal of this divergence produces no change in the optical spectrum, i.e. this eigenvector is not relevant for capturing the transition in question. In the inset of Fig. 8, the visual character of fxcf_{\text{xc}} is shown at the interacting excitation ω=1.09\omega=1.09 a.u. after the divergences visible in Fig. 7 have been removed. Underneath these divergences, fxcf_{\text{xc}} is indistinguishable from the adiabatic fxcf_{\text{xc}}, meaning the frequency dependence of fxcf_{\text{xc}} in this system is largely due to its pole structure. These results suggest that functional approximations that do not capture the non-adiabatic pole structure of fxcf_{\text{xc}} will struggle to improve matters beyond the non-interacting peaks for certain transitions.

Refer to caption
Figure 8: The optical absorption spectrum for the infinite potential well around a visible interacting excitation at ω=1.094\omega=1.094 a.u, and its corresponding non-interacting excitation at ω=1.024\omega=1.024 a.u. The projected xc kernel (inset), i.e. fxcf_{\text{xc}} with its divergences removed, is indistinguishable from the adiabatic xc kernel, see Fig. 6(a), and the optical peak associated with fxcprojectedf_{\text{xc}}^{\text{projected}} is only a slight improvement on the non-interacting peak.

A further point of note is that there are many more zeros in the interacting response function than the non-interacting response function, as a simple counting argument is sufficient to demonstrate. All NN eigenvalues of the response functions begin negative [47], and each excitation brings a negative eigenvalue to a positive eigenvalue across a divergence, which otherwise evolves as a continuous function of ω\omega. For two electrons discretized with a basis set of dimension NN, there are 12N(N1)1\frac{1}{2}N(N-1)-1 interacting excitations, and 2N42N-4 non-interacting excitations, the difference being made up of double (triple, etc. with more than two electrons) excitations that are notoriously not present in the Kohn-Sham response function [21]. Therefore, there are a great deal more eigenvalues that must pass through zero in the interacting response function, and moreover, these eigenvalues that cross zero are connected to the excitations that require them to do so – an account of the precise conditions under which this occurs is given in the supplemental material using a two-state model, see also [65].

In Fig. 7, there are three divergences, two of which are paired at ω=1.01,1.17\omega=1.01,1.17 a.u., meaning the zero in the non-interacting response function is a shifted version of the zero in the interacting response function; such behavior can be related to single excitations. There also exists an unpaired divergence at ω=0.99\omega=0.99 a.u. related to the excitation at ω=0.98\omega=0.98 a.u. which has double excitation character. That is, the overlap between the final state involved in this transition |Ψ0|Ψ5|\Psi_{0}\rangle\rightarrow|\Psi_{5}\rangle and the Slater determinant |Φ(2,3)|\Phi_{(2,3)}\rangle is Φ(2,3)|Ψ5=0.98\langle\Phi_{(2,3)}|\Psi_{5}\rangle=0.98.

It is perhaps, then, no surprise that removal of the eigenvector and eigenvalue whose source is the unpaired divergence did not alter the visible (single excitation) transition in Fig. 8. In fact, the pole in the interacting response function relating to the double excitation disappears with removal of the unpaired divergence, and so this divergence, and its surrounding character, is important in order to capture the transition for which it is relevant. The xc kernel exhibits unpaired divergences after all double excitations up to ω=6\omega=6 a.u. at frequencies slightly higher than the interacting double excitation energy. Refs. [21, 23] derive, under certain assumptions, the necessarily divergent character of fxcf_{\text{xc}} around a double excitation. The above analysis reveals that divergences in fxcf_{\text{xc}} are, in fact, common and associated with the ω\omega neighborhood containing multiple and single excitations alike.

III.3 Quantum harmonic oscillator

The quantum harmonic oscillator is defined in the domain [8,8][-8,8] a.u. with the potential vext(x)=12ν2x2v_{\text{ext}}(x)=\frac{1}{2}\nu^{2}x^{2} where ν0.45\nu\coloneqq 0.45 a.u. (See supplemental material for the corresponding exact Kohn-Sham potential, the interacting ground-state density, and the numerical parameters.)

First, the spatial structure, and in particular the long-range behavior [16], of the exact fxcf_{\text{xc}} is examined. The delicate nature of the numerics involved in computing the exact fxcf_{\text{xc}} is brought to the fore when attempting to capture its long-range limit. The ill-conditioning in the response matrices can be identified with regions of nearly vanishing ground-state density, see Section II.2, and it is precisely in these regions that we expect to observe the long-range character of fxcf_{\text{xc}}. However, fxcf_{\text{xc}}, when evaluated outside some central region where we can be confident there is little-to-no numerical error, diverges in a manner that is not consistent with the known long-range limit of fxcf_{\text{xc}}. This spurious divergence in fxcf_{\text{xc}} does not much affect the accuracy of the output of the Dyson equation, χDyson\chi_{\text{Dyson}}, because the Dyson equation Eq. (10) involves the matrix product χ0fxc\chi_{0}f_{\text{xc}}, and the divergent regions of fxcf_{\text{xc}} operate on the nearly vanishing regions of χ0\chi_{0}.

If we are to observe the long-range limit of fxcf_{\text{xc}} in the present context, the region where the numerical error is low must overlap with the region where the long-range limit is observed. This is the case for the exact adiabatic fxcf_{\text{xc}}, which is shown, together with slices of fxcf_{\text{xc}} along a particular axis, in Fig. 9 and Fig. 10.

Refer to caption
Figure 9: The exact adiabatic xc kernel fxc(x,x,ω=0)f_{\text{xc}}(x,x^{\prime},\omega=0) for the quantum harmonic oscillator constructed with the eigenspace truncation method. The precise spatial structure exhibited by the exact adiabatic kernel, including its long-range limit and non-local character, is discussed in the main text.
Refer to caption
Figure 10: The exact adiabatic xc kernel fxc(x,x,ω=0)f_{\text{xc}}(x,x^{\prime},\omega=0) for the quantum harmonic oscillator along x=0x^{\prime}=0 a.u. (top) and x=2x^{\prime}=-2 a.u. (bottom). The xc kernel, Hxc kernel, and Hartree kernel, are shown, and the long-range limit fxcfHf_{\text{xc}}\rightarrow-f_{\text{H}} is observed.

The center-most region of the domain is where exchange and correlation effects are most important, and in this region fxcf_{\text{xc}} exhibits a strong local response that quickly decays as xxx\neq x^{\prime}. Since this region can be interpreted as the most crucial for recovering accurate observable properties from the Dyson equation, this observation supports, at least in part, local approximations to fxcf_{\text{xc}}, such as the adiabatic LDA.

The non-local structure of fxcf_{\text{xc}} at ω=0\omega=0 a.u. can be seen most clearly in the lower panel of Fig. 10, where perturbations in the density outside the center-most region cause a significant change in the exchange-correlation potential inside the center-most region. The failure of the adiabatic LDA to capture this non-local response leads to fairly poor agreement between the exact and approximate transition energies, which is seen for the atom in Fig. 5, and illustrated for the quantum harmonic oscillator below 888It is possible that the particular form of the non-local fxcf_{\text{xc}} functionals considered in [73, 13], in which fxc(x,x)=fxc[(n(x)+n(x))/2]f_{\text{xc}}(x,x^{\prime})=f_{\text{xc}}[(n(x)+n(x^{\prime}))/2], can capture certain features of the adiabatic non-local response depicted in Fig. 9 and Fig. 10..

The long-range limit fxc(x,x,ω=0)fH(|xx|)f_{\text{xc}}(x,x^{\prime},\omega=0)\rightarrow-f_{\text{H}}(|x-x^{\prime}|) is explored in Fig. 10 along both x=0x^{\prime}=0 a.u. and x=2x^{\prime}=-2 a.u. Due to the rapid decay of the ground-state density in the quantum harmonic oscillator, convergence of fxcf_{\text{xc}} toward fH-f_{\text{H}} along x=2x=-2 a.u. is not directly observed in the xx\rightarrow-\infty limit – the atom, whose ground-state density does not decay as quickly, converges toward fH-f_{\text{H}} in both the positive and negative limits (see supplemental material). It is known that the long-range limit of fxcf_{\text{xc}}, in both finite and periodic systems, satisfies fxc(ω)α(ω)fHf_{\text{xc}}(\omega)\rightarrow-\alpha(\omega)f_{\text{H}} [16, 15, 52, 53], where α(ω)\alpha(\omega) is a frequency-dependent constant that reflects dielectric screening in the system. Therefore, one expects α=1\alpha=1 in finite systems, and at lower frequencies, where the numerical methodology provides a robust long-range limit, our observations are consistent with this, see Fig. 10.

To conclude matters for the quantum harmonic oscillator, we examine its optical absorption spectrum, and in particular highlight a failing of the fxcf_{\text{xc}} approximations considered in this work when compared to the exact and exact adiabatic xc kernels. The optical absorption spectrum, using the same range of approximations discussed in the case of the atom, is shown in Fig. 11. In the non-interacting quantum harmonic oscillator, all transitions but the first are disallowed, otherwise known as its selection rules. The inclusion of the Coulomb interaction lifts these special symmetries of the non-interacting quantum harmonic oscillator, but not enough for the previously disallowed transitions to be observed in the optical spectrum – the dipole matrix elements for these allowed transitions are 𝒪(108)\mathcal{O}(10^{-8}). On the other hand, the exact Kohn-Sham potential differs significantly from the harmonic form, which creates a series of visible peaks beyond the first in the optical spectrum; the transition rates for these transitions are vastly overestimated.

In this situation, the RPA and adiabatic LDA do not achieve the required strong suppression of the optical peaks. Interestingly, the exact adiabatic kernel, as seen in Fig. 9, is able to reproduce the exact optical spectrum across the entire frequency range considered ω[0,6]\omega\in[0,6] a.u., presumably due to the correct oscillator strengths used in its construction. This suggests that, in cases where the exact system possesses heavily suppressed transitions, perhaps due to symmetries that are not shared by the Kohn-Sham system, the typical fxcf_{\text{xc}} approximations are insufficient to recover the exact state of affairs, but improvement of their non-local spatial structure toward the exact adiabatic kernel can assist matters.

Refer to caption
Figure 11: The optical absorption spectrum for the quantum harmonic oscillator around the first transition, and around a chosen higher energy transition, calculated at various levels of approximation. The optical spectrum calculated from the interacting and Kohn-Sham response functions are plotted alongside the optical spectrum computed from the Dyson equation using the RPA, ALDA, and exact adiabatic xc kernels. At higher frequencies (inset), all optical peaks are suppressed for the quantum harmonic oscillator, a state of affairs that the exact adiabatic fxcf_{\text{xc}} reproduces, but the RPA and adiabatic LDA do not.

III.4 Gauge freedom

Two xc kernels that differ in structure that is predominantly captured with the gauge transform defined in Section II.3 provides an explanation for the approximate agreement between the derived properties of the two xc kernels in question. This possibility is now considered, and in fact we shall demonstrate that the gauge freedom of fxcf_{\text{xc}} is not sufficient to explain the similarity observed between, for example, the optical properties calculated using the adiabatic LDA and RPA in Section III. Moreover, the particular form of the non-local spatial structure within the exact fxc(x,x,ω)f_{\text{xc}}(x,x^{\prime},\omega) is in general not possible to capture with this gauge freedom, and it is unlikely that this line of reasoning is able to explain the efficacy of approximations of any kind.

In order to demonstrate this, an optimal gauge is defined that transforms, in as much as is possible, one xc kernel into another using the gauge freedom, i.e. it brings one fxcf_{\text{xc}} toward another fxcf_{\text{xc}} in a particular matrix norm. The definition and derivation of the optimal gauge is given in the relevant section of the supplemental material. Furthermore, an illustration of the optimal gauge transform for each of the examples to follow is also provided in the supplemental material. The atom of Section III is considered, and in particular the optimal gauge is found in order to match the RPA, fxcRPA=0f_{\text{xc}}^{\text{RPA}}=0, with the adiabatic LDA used in this work, fxcALDAf_{\text{xc}}^{\text{ALDA}} [65]. As discussed in Section II.3, the vectors gg and hh introduce an unavoidable degree of non-locality, and the local spatial structure of the adiabatic LDA simply cannot be reproduced with a gauge transform of this kind applied to the RPA.

The story remains much the same when an attempt is made to match the adiabatic LDA xc kernel to the exact adiabatic xc kernel for the atom, fxc(x,x,ω=0)f_{\text{xc}}(x,x^{\prime},\omega=0). The particular form of the spatial non-locality in the exact adiabatic xc kernel does not lend itself to the fairly inflexible structural freedom afforded by the functions gg and hh. This conclusion holds true for almost all the xc kernels examined in this work, namely, the spatial profile of the exact fxcf_{\text{xc}} at any ω\omega is not possible to reproduce with a gauge transform applied to the adiabatic LDA or RPA, despite, at high frequencies, the similarity of the derived optical spectra from these approximations.

A final remark is given in relation to the divergences in fxcf_{\text{xc}} studied in the previous section. The xc kernel around a divergence is approximately of the form of an outer product |uu||u\rangle\langle u|, where |u|u\rangle is the eigenvector of fxcf_{\text{xc}} that is diverging. The xc kernel is therefore mostly composed of NN degrees of freedom, a state of affairs that is a priori much more amenable to the gauge freedom. In fact, the first pole in the fxcf_{\text{xc}} of the atom, i.e. the beginning of the non-adiabatic behavior, see panel (d) of Fig. 3, is non-divergent after the optimal gauge is applied. This divergence therefore does not affect observable properties such as its associated optical peak, and indeed the exact adiabatic kernel is able to capture this peak, despite it existing squarely within the divergence. However, such a situation is not detected again for the remainder of the divergences.

III.5 Exchange-correlation potential versus exchange-correlation kernel

In finite systems, it is the conventional wisdom that an accurate ground-state xc potential is more important for capturing the interacting excitation spectrum than a sophisticated fxcf_{\text{xc}} [16, 15, 68, 69, 70]. The effect of an improved treatment of exchange and correlation in the ground state is shown in Fig. 12, which demonstrates the optical spectrum for the atomic system calculated from the non-interacting response function χ0\chi_{0} at various levels of approximation. The transition energies and rates calculated from the exact Kohn-Sham system are considerably closer to the exact transitions than, for example, Hartree theory, which is increasingly poor at higher energies.

Refer to caption
Figure 12: The exact optical absorption spectra for the atomic system illustrated alongside the optical absorption spectrum from the non-interacting response functions χ0\chi_{0} calculated with wavefunctions and energies given by Hartree theory, an LDA, and the exact Kohn-Sham potential. The corrected transitions, given upon solution of the Dyson equation with the corresponding fxcf_{\text{xc}}, are also shown for Hartree theory/RPA, and LDA/adiabatic LDA. The most accurate optical spectrum is that of the non-interacting exact Kohn-Sham system, and hence improving treatment of ground-state exchange-correlation toward this ideal is found to be most important. In particular, use of fxcf_{\text{xc}} to shift the non-interacting peaks toward the interacting peaks is, in general, unable to achieve accuracy improvements comparable to those observed from improving ground-state exchange-correlation – this is seen most clearly at higher frequencies (inset).

These non-interacting response functions can be used, in conjunction with their corresponding fxcf_{\text{xc}}, to solve the Dyson equation, thus shifting the position and weight of the peaks. An xc kernel functional corresponds to an xc potential functional if it is the second functional derivative of the xc potential with respect to the density. Thus, the RPA xc kernel corresponds to Hartree theory, and the adiabatic LDA xc kernel corresponds to the ground-state LDA from which it came. To use an xc kernel that does not correspond to the ground-state xc potential can violate various exact conditions [71] – this is evidently the case here for the zero-force sum rule.

The aforementioned conventional wisdom is exhibited clearly in Fig. 12, namely, use of a corresponding fxcf_{\text{xc}} is only able to improve matters slightly beyond the non-interacting peaks, which is most visible at higher frequencies. For this reason, even when using an incompatible fxcf_{\text{xc}}, the calculation benefits from an improved treatment of ground-state exchange and correlation. This is evidenced in the case of the atom in Section III, where using the RPA and adiabatic LDA xc kernels in conjunction with the exact Kohn-Sham ground-state yields a more accurate optical spectrum than if one were to attempt to keep the xc potential and xc kernel compatible.

IV Conclusions

We have calculated and analyzed the spatial and frequency dependence of the exact xc kernel fxcf_{\text{xc}} of time-dependent DFT for three one-dimensional model systems: an atom, an infinite potential well, and a quantum harmonic oscillator. A set of numerical methods is designed to ensure numerical robustness.

The xc kernel exhibits a significant non-local spatial structure at all frequencies, including at ω=0\omega=0, i.e. the exact adiabatic fxcf_{\text{xc}}. In lacking this structure, local approximations to fxcf_{\text{xc}} are found to be insufficient for recovering the lowest energy excitations, whereas the exact adiabatic xc kernel performs well. However, beyond the lowest few excitations, all the approximations considered here – the exact adiabatic xc kernel, the RPA, and the adiabatic LDA – are equally poor, and do not generally improve the optical spectrum obtained directly from the non-interacting Kohn-Sham response function χ0\chi_{0} (that is, setting fxc+fHf_{\text{xc}}+f_{\text{H}} to zero everywhere). A notable exception is the quantum harmonic oscillator, whose optical transitions beyond the first are heavily suppressed, a feature that the exact adiabatic xc kernel is able to capture. In general, improvement of the spatial structure of adiabatic xc kernel approximations toward the exact adiabatic xc kernel is expected to assist matters for the lowest energy transitions, but beyond these transitions the lack of frequency dependence hinders all adiabatic xc kernels. In addition, the long-range limit of fxcf_{\text{xc}} for finite systems fxcfHf_{\text{xc}}\rightarrow-f_{\text{H}} is confirmed, although the long-range character of fxcf_{\text{xc}} is demonstrated to be unimportant in the present context, in contrast to its character within and around the region of high density.

Drastic non-adiabatic behavior is observed in fxcf_{\text{xc}} for all systems studied in this work, and is, to a considerable extent, attributable to specific aspects of its analytic structure as a function of ω\omega. (Simple) poles in fxcf_{\text{xc}}, related to certain interacting or non-interacting transitions that necessitate them, can in practice appear close to interacting excitations, for example, between two nearly degenerate charge-transfer excitations in a double-well system [50]. It is possible that a gauge transform can remove the divergence in specific cases without affecting the optical spectrum, but this is the exception rather than the rule. If fxcf_{\text{xc}} is kept identical apart from removal of the diverging eigenvalue and its associated eigenvector, then fxcf_{\text{xc}} can be rendered unable to capture the relevant transition. This suggests that an fxcf_{\text{xc}} approximation that does not attempt to exhibit the non-adiabatic pole structure of the exact fxcf_{\text{xc}} cannot reproduce transitions with energies higher than the first few excitations. This is the case for single, double, triple, and so on, excitations alike. The fact that these divergences can be related to certain excitations that necessitate them provides a new perspective on the divergent character of fxcf_{\text{xc}} that is known to exist around double excitations [21, 36].

In general, the subtle spatial structure of the exact fxcf_{\text{xc}} cannot be captured by applying a gauge transformation to one of the usual kernel approximations. However, the divergent ω\omega-dependence discussed in the previous paragraph is more amenable to the gauge freedom. Indeed, in the case of the atom, the first divergence (around the third peak in the optical spectrum) turns out to be related to the exact adiabatic fxcf_{\text{xc}} with a gauge transform. Hence, the exact adiabatic approximation is able to describe the third peak in the optical spectrum, despite the significant frequency dependence of fxcf_{\text{xc}} around this peak.

As noted earlier in this section, the simple non-interacting kernel fxc=fHf_{\text{xc}}=-f_{\text{H}} often yields surprisingly good spectra, provided that the exact Kohn-Sham potential, or a good approximation to it, is used to calculate χ0\chi_{0}. This is in part due to the fact that the exact Kohn-Sham transitions are, in certain circumstances, good approximations to the interacting transitions [70]. By extension, in practical calculations, effort may be usefully devoted to improving approximations used for fxcf_{\text{xc}} and vxcv_{\text{xc}} individually, without an overriding need to maintain one as the functional derivative of the other. The quality of vxcv_{\text{xc}} is of particular importance, as previous authors have observed in specific cases [16, 15, 68, 69, 70].

In systems where predictive spectral accuracy beyond that provided by the simplest kernels is required, note should be taken of the intricate spatial non-locality and analytic structure as a function of ω\omega exhibited by the exact kernels calculated in this paper. Approximate kernels that are spatially local (whether local-density or not), and/or exhibit no more than a gentle variation with ω\omega, are unlikely to prove adequate for calculating optical spectra and other aspects of the density response function. A fruitful direction appears to be kernels that are obtained by making a connection between the time-dependent DFT description and some level of many-body perturbation theory, such as the kernel obtained from the Bethe-Salpeter equation presented in [26], since non-locality and frequency dependence emerge automatically from even the simplest level of many-body perturbation theory.

Acknowledgements.
The authors thank Michael Hutcheon and Matt Smith for helpful discussions. N.D.W is supported by the EPSRC Centre for Doctoral Training in Computational Methods for Materials Science for funding under grant number EP/L015552/1.

References