Gross-Oliveira-Kohn (GOK) ensemble density-functional theory (GOK-DFT) is a time-independent formalism which allows to compute excitation energies via the derivative of the ensemble energy with respect to the weight of each excited state.
However, to take full advantage of this formalism, one must have access to a \textit{weight-dependent} exchange-correlation functional in order to model the infamous derivative discontinuity contribution to the excitation energies.
In the present article, we discuss the construction of first-rung (\ie, local) weight-dependent exchange-correlation density-functional approximations for two-electron atomic and molecular systems (He and H$_2$) \bruno{but it can be applied to larger systems as well right ? thanks to your shift} specifically designed for the computation of double excitations within GOK-DFT.
Time-dependent density-functional theory (TD-DFT) has been the dominant force in the calculation of excitation energies of molecular systems in the last two decades.\cite{Casida,Ulrich_2012}
At a relatively low computational cost (at least compared to the other excited-state \textit{ab initio} methods), TD-DFT can provide accurate transition energies for low-lying excited states of organic molecules (see, for example, Ref.~\onlinecite{Dreuw_2005} and references therein).
Importantly, setting up a TD-DFT calculation for a given system is an almost pain-free process from a user perspective as the only (yet essential) input variable is the choice of the so-called exchange-correlation (xc) functional.
Similar to density-functional theory (DFT), \cite{Hohenberg_1964,Kohn_1965,ParrBook} TD-DFT is an in-principle exact theory which formal foundations relie on the Runge-Gross theorem. \cite{Runge_1984}
The Kohn-Sham (KS) formalism of TD-DFT transfers the complexity of the many-body problem to the xc functional thanks to a judicious mapping between a time-dependent non-interacting reference system and its interacting analog which have both the exact same one-electron density.
However, TD-DFT is far from being perfect as, in practice, drastic approximations must be made for the xc functional.
One of its issues actually originates directly from the choice of the xc functional, and more specifically, the possible (not to say likely) substantial variations in the quality of the excitation energies for two different choices of xc functionals.
Moreover, because it is so popular, it has been studied in excruciated details by the community, and some researchers have quickly unveiled various theoretical and practical deficiencies of approximate TD-DFT.
For example, TD-DFT has problems with charge-transfer \cite{Tozer_1999,Dreuw_2003,Sobolewski_2003,Dreuw_2004,Maitra_2017} and Rydberg \cite{Tozer_1998,Tozer_2000,Casida_1998,Casida_2000,Tozer_2003} excited states (the excitation energies are usually drastically underestimated) due to the wrong asymptotic behaviour of the semi-local xc functional.
One key consequence of this so-called adiabatic approximation (based on the assumption that the density varies slowly with time) is that double excitations are completely absent from the TD-DFT spectra. \cite{Levine_2006,Tozer_2000,Elliott_2011}
Although these double excitations are usually experimentally dark (which means they usually cannot be observed in photo-absorption spectroscopy), these states play, indirectly, a key role in many photochemistry mechanisms. \cite{Boggio-Pasqua_2007,Loos_2019}
One possible solution to access double excitations within TD-DFT is provided by spin-flip TD-DFT which describes double excitations as single excitations from the lowest triplet state. \cite{Huix-Rotllant_2010,Krylov_2001,Shao_2003,Wang_2004,Wang_2006,Minezawa_2009}
However, spin contamination might be an issue. \cite{Huix-Rotllant_2010}
In order to go beyond the adiabatic approximation, a dressed TD-DFT approach has been proposed by Maitra and coworkers \cite{Maitra_2004,Cave_2004} (see also Refs.~\onlinecite{Mazur_2009,Mazur_2011,Huix-Rotllant_2011,Elliott_2011,Maitra_2012}).
In this approach the xc kernel is made frequency dependent, which allows to treat doubly-excited states. \cite{Romaniello_2009a,Sangalli_2011,Loos_2019}
Maybe surprisingly, another possible way of accessing double excitations is to resort to a time-\textit{independent} formalism. \cite{Yang_2017,Sagredo_2018,Deur_2019}
With a computational cost similar to traditional KS-DFT, DFT for ensembles (eDFT) \cite{Theophilou_1979,Gross_1988a,Gross_1988b,Oliveira_1988} is a viable alternative following such a strategy currently under active development.\cite{Gidopoulos_2002,Franck_2014,Borgoo_2015,Kazaryan_2008,Gould_2013,Gould_2014,Filatov_2015,Filatov_2015b,Filatov_2015c,Gould_2017,Deur_2017,Gould_2018,Gould_2019,Sagredo_2018,Ayers_2018,Deur_2018,Deur_2019,Kraisler_2013,Kraisler_2014,Alam_2016,Alam_2017,Nagy_1998,Nagy_2001,Nagy_2005,Pastorczak_2013,Pastorczak_2014,Pribram-Jones_2014,Yang_2013a,Yang_2014,Yang_2017,Senjean_2015,Senjean_2016,Smith_2016,Senjean_2018}
In the assumption of monotonically decreasing weights, eDFT for excited states has the undeniable advantage to be based on a rigorous variational principle for ground and excited states, the so-called Gross-Oliveria-Kohn (GOK) variational principle. \cite{Gross_1988a}
In short, GOK-DFT (\ie, eDFT for excited states) is the density-based analog of state-averaged wave function methods, and excitation energies can then be easily extracted from the total ensemble energy. \cite{Deur_2019}
Although the formal foundations of GOK-DFT have been set three decades ago, \cite{Gross_1988a,Gross_1988b,Oliveira_1988} its practical developments have been rather slow.
In particular, to the best of our knowledge, an explicitly weight-dependent density-functional approximation for ensemble (eDFA) has never been developed for atoms and molecules.
The LDA, as we know it, is based on the uniform electron gas (UEG) also known as jellium, an hypothetical infinite substance where an infinite number of electrons ``bathe'' in a (uniform) positively-charged jelly. \cite{Loos_2016}
Although the Hohenberg--Kohn theorems \cite{Hohenberg_1964} are here to provide firm theoretical grounds to DFT, modern KS-DFT rests largely on the presumed similarity between this hypothetical UEG and the electronic behaviour in a real system. \cite{Kohn_1965}
However, Loos and Gill have recently shown that there exists other UEGs which contain finite numbers of electrons (more like in a molecule), \cite{Loos_2011b,Gill_2012} and that they can be exploited to construct LDA functionals. \cite{Loos_2014a,Loos_2014b,Loos_2017a}
Electrons restricted to remain on the surface of a $\cD$-sphere (where $\cD$ is the dimensionality of the surface of the sphere) are an example of finite UEGs (FUEGs). \cite{Loos_2011b}
In particular, we combine these FUEGs with the usual infinite UEG (IUEG) to construct a weigh-dependent LDA correlation functional for ensembles, which is specifically designed to compute double excitations within GOK-DFT, and automatically incorporates the infamous derivative discontinuity contribution to the excitation energies through its explicit ensemble weight dependence. \cite{Levy_1995, Perdew_1983}
Let us consider a GOK ensemble of $\nEns$ electronic states with individual energies $\E{}{(0)}\le\ldots\le\E{}{(\nEns-1)}$, and (normalised) monotonically decreasing weights $\bw=(\ew{0},\ldots,\ew{M-1})$, \ie, $\sum_{I=0}^{\nEns-1}\ew{I}=1$, and $\ew{0}\ge\ldots\ge\ew{\nEns-1}$.
where $\hH=\hT+\hWee+\hVne$ contains the kinetic, electron-electron and nuclei-electron interaction potential operators, respectively, $\Tr$ denotes the trace and $\hGam{\bw}$ is a trial density matrix of the form
where $\lbrace\overline{\Psi}^{(I)}\rbrace_{0\le I \le\nEns-1}$ is a set of $\nEns$ orthonormal trial wave functions.
The lower bound of Eq.~\eqref{eq:ens_energy} is reached when the set of wave functions correspond to the exact eigenstates of $\hH$, \ie, $\lbrace\overline{\Psi}^{(I)}\rbrace_{0\le I \le\nEns-1}=\lbrace\Psi^{(I)}\rbrace_{0\le I \le\nEns-1}$.
One of the key feature of the GOK ensemble is that individual excitation energies are extracted from the ensemble energy via differentiation with respect to individual weights:
Turning to GOK-DFT, the extension of the Hohenberg--Kohn theorem to ensembles allows to rewrite the exact variational expression for the ensemble energy as\cite{Gross_1988a}
is the density matrix operator, $\lbrace\Det{I}{\bw}\rbrace_{0\le I \le\nEns-1}$ are single-determinant wave functions (or configuration state functions) built with KS orbitals $\lbrace\MO{p}{\bw}(\br{})\rbrace_{1\le p \le\nOrb}$, and
Note that the weight-independent Hartree functional $\E{\Ha}{}[\n{}{}]$ causes the infamous ghost-interaction error (GIE) \cite{Gidopoulos_2002, Pastorczak_2014, Alam_2016, Alam_2017, Gould_2017} in eDFT, which is supposed to be cancelled by the weight-dependent xc functional $\E{\xc}{\bw}[\n{}{}]$.
is the weight-dependent KS energy of state $I$, and $\eps{p}{\bw}$ is the KS orbital energy associated with $\MO{p}{\bw}(\br{})$ [$\ON{p}{(I)}$ being its occupancy for the state $I$].
The latters are determined by solving the ensemble KS equation
Note that the individual densities $\n{\Det{I}{\bw}}{}(\br{})$ defined in Eq.~\eqref{eq:nI} do not match the \textit{exact} individual-state densities as the non-interacting KS ensemble is expected to reproduce the true interacting ensemble density $\n{}{\bw}(\br{})$ defined in Eq.~\eqref{eq:nw}, and not each individual density.
Nevertheless,
these densities can still be extracted in principle exactly
from the KS ensemble as shown by Fromager~\cite{Fromager_2020}.
The self-consistent GOK-DFT calculations have been performed with the \texttt{QuAcK} software, freely available on \texttt{github}, where the present functional has been implemented.
For more details about the self-consistent implementation of GOK-DFT, we refer the interested reader to Ref.~\onlinecite{Loos_2020} where additional technical details can be found.
For all calculations, we use the aug-cc-pVXZ (X = D, T, and Q) Dunning's family of atomic basis sets.
Numerical quadratures are performed with the \texttt{numgrid} library using 194 angular points (Lebedev grid) and a radial precision of $10^{-6}$. \cite{Becke_1988,Lindh_2001}
This study deals only with spin-unpolarised systems, \ie, $\n{\uparrow}{}=\n{\downarrow}{}=\n{}{}/2$ (where $\n{\uparrow}{}$ and $\n{\downarrow}{}$ are the spin-up and spin-down electron densities).
Moreover, we restrict our study to the case of a two-state ensemble (\ie, $\nEns=2$) where both the ground state ($I=0$ with weight $1-\ew{}$) and the first doubly-excited state ($I=1$ with weight $\ew{}$) are considered.
Although we should have $0\le\ew{}\le1/2$ to ensure the GOK variational principle, we will sometimes ``violate'' this variational constraint.
Indeed, the limit $\ew{}=1$ is of particular interest as it corresponds to a genuine saddle point of the KS equations, and match perfectly the results obtained with the maximum overlap method developed by Gilbert, Gill and coworkers. \cite{Gilbert_2008,Barca_2018a,Barca_2018b}
First, we compute the ensemble energy of the \ce{H2} molecule using the aug-cc-pVTZ basis set and the weight-independent Slater-Dirac local exchange functional, \cite{Dirac_1930, Slater_1951} which is explicitly given by
In the case of \ce{H2}, the ensemble is composed by the $1\sigma_g^2$ ground state and the lowest doubly-excited state of configuration $1\sigma_u^2$, which has an autoionising resonance nature. \cite{Bottcher_1974}
The ensemble energy $\E{}{\ew{}}$ is depicted in Fig.~\ref{fig:Ew_H2} as a function of the weight $0\le\ew{}\le1$.
Because this exchange functional does not depend on the ensemble weight, there is no contribution from the ensemble derivative term [last term in Eq.~\eqref{eq:dEdw}].
As anticipated, $\E{}{\ew{}}$ is far from being linear, which means that the excitation energy obtained via the derivative of the local energy varies significantly with the weight of the double excitation (see Fig.~\ref{fig:Om_H2}).
Taking as a reference the full configuration interaction (FCI) value of $28.75$ eV obtained with the aug-mcc-pV8Z basis set, \cite{Barca_2018a} one can see that the excitation energy varies by more than $8$ eV from $\ew{}=0$ to $1/2$.
Note that the exact xc correlation ensemble functional would yield a perfectly linear energy and, hence, the same value of the excitation energy independently of $\ew{}$.
\ce{H2} at equilibrium bond length: deviation from linearity of the ensemble energy $\E{}{\ew{}}$ (in hartree) as a function of the weight of the double excitation $\ew{}$ for various functionals and the aug-cc-pVTZ basis set.
\label{fig:Ew_H2}
}
\end{figure}
\begin{figure}
\includegraphics[width=\linewidth]{Om_H2}
\caption{
\ce{H2} at equilibrium bond length: error (with respect to FCI) in excitation energy (in eV) as a function of the weight of the double excitation $\ew{}$ for various functionals and the aug-cc-pVTZ basis set.
Second, in order to remove this spurious curvature of the ensemble energy (which is partly due to the ghost-interaction error, but not only), one can easily reverse-engineer (for this particular system and basis set) a local exchange functional to make $\E{}{\ew{}}$ as linear as possible for $0\le\ew{}\le1$.
Doing so, we have found that the present weight-dependent exchange functional (denoted as GIC-S in the following as its main purpose is to correct for the ghost-interaction error), represented in Fig.~\ref{fig:Cx_H2},
makes the ensemble almost perfectly linear (see Fig.~\ref{fig:Ew_H2}), and the excitation energy much more stable and closer to the full configuration interaction (FCI) reference of $28.75$ eV \cite{Barca_2018a} (see Fig.~\ref{fig:Om_H2})
The combination of the Slater and VWN5 functionals (SVWN5) yield a highly convex ensemble energy (as shown in Fig.~\ref{fig:Ew_H2}), while the combination of the GIC-S and VWN5 functionals (GIC-SVWN5) exhibit a small curvature (the ensemble energy is now slightly concave) and improved excitation energies, especially at small weights.
Fourth, in the spirit of our recent work, \cite{Loos_2020} we have designed a weight-dependent correlation functional.
To build this weight-dependent correlation functional, we consider the singlet ground state and the first singlet doubly-excited state of a two-electron FUEGs which consists of two electrons confined to the surface of a 3-sphere (also known as a glome).\cite{Loos_2009a,Loos_2009c,Loos_2010e}
Notably, these two states have the same (uniform) density $\n{}{}=2/(2\pi^2 R^3)$, where $R$ is the radius of the 3-sphere onto which the electrons are confined.
Indeed, the orbitals for an electron on a 3-sphere of unit radius are the normalised hyperspherical harmonics $Y_{\ell\mu}$, where $\ell$ is the principal quantum number and $\mu$ is a composite index of the remaining two quantum numbers. \cite{AveryBook, Avery_1993}
As mentioned above, we confine our attention to paramagnetic (or unpolarised) systems, and in particular to the simple two-electron system in which the orbital with $\ell=0$ is doubly-occupied by one spin-up and one spin-down electron, thus yielding an electron density that is uniform on the 3-sphere.
%Conveniently, the weight dependence of the exchange functional can be transferred to the $\Cx{}$ coefficient; an expected feature from a theoretical point of view, yet a nice property from a more practical aspect.
Thanks to highly-accurate calculations and the expressions of the HF energies provided by Eqs.~\eqref{eq:eHF_0} and \eqref{eq:eHF_1}, \cite{Loos_2009a,Loos_2009c,Loos_2010e} one can write down, for each state, an accurate analytical expression of the reduced correlation energy \cite{Loos_2013a, Loos_2014a} via the following Pad\'e approximant \cite{Sun_2016,Loos_2020}
Reduced (i.e., per electron) correlation energy $\e{\co}{(I)}$ [see Eq.~\eqref{eq:ec}] as a function of $R =1/(\pi^2\n{}{})^{1/3}$ for the ground state ($I=0$), and the first doubly-excited state ($I=1$) of the (spin-unpolarised) two-electron FUEG.
$-\e{\co}{(I)}$ as a function of the radius of the glome $R =1/(\pi^2\n{}{})^{1/3}$ for the ground state ($I=0$), and the first doubly-excited state ($I=1$) of the (spin-unpolarised) two-electron FUEG.
Parameters of the correlation functionals for each individual state defined in Eq.~\eqref{eq:ec}.
The values of $a_1$ are obtained to reproduce the exact high density correlation energy of each individual state, while $a_2$ and $a_3$ are fitted on the numerical values reported in Table \ref{tab:Ref}.}
Because our intent is to incorporate into standard functionals (which are ``universal'' in the sense that they do not depend on the number of electrons) information about excited states that will be extracted from finite systems (whose properties may depend on the number of electrons), we employ a simple embedding scheme where the two-electron FUEG (the impurity) is embedded in the IUEG (the bath).
As explained further in Ref.~\onlinecite{Loos_2020}, this embedding procedure can be theoretically justified by the generalised adiabatic connection formalism for ensembles originally derived by Franck and Fromager. \cite{Franck_2014}
The weight-dependence of the correlation functional is then carried exclusively by the impurity [\ie, the functional defined in \eqref{eq:ecw}], while the remaining effects are produced by the bath (\ie, the usual LDA correlation functional).
%(where $\E{\xc}{}[\n{}{}]$ is the usual ground-state xc functional) originally derived by Franck and Fromager. \cite{Franck_2014}
%Within this in-principle-exact formalism, the (weight-dependent) xc energy of the ensemble is constructed from the (weight-independent) ground-state functional.
%In the case of a homogeneous system (or equivalently within the LDA), substituting Eq.~\eqref{eq:dexcdw} into \eqref{eq:GACE} yields, in the case of a bi-ensemble, Eq.~\eqref{eq:eLDA}. \bruno{La formule me semble pas juste. Les exposants sont pas bons d'après moi. Pour le bi-ensemble, on devrait avoir
%$\pdv{\E{\xc}{(1-\xi,\xi)}[\n{}{}]}{\xi}$ dans l'intégrale, non ?}
%PFL thanks the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (Grant agreement No.~863481) for financial support.
This work has also been supported through the EUR grant NanoX ANR-17-EURE-0009 in the framework of the \textit{``Programme des Investissements d'Avenir''.}