Similar to the ubiquitous adiabatic approximation in time-dependent density-functional theory, the static approximation, which substitutes a dynamical (\ie, frequency-dependent) kernel by its static limit, is usually enforced in most implementations of the Bethe-Salpeter equation (BSE) formalism.
Here, going beyond the static approximation, we compute the dynamical correction in the electron-hole screening for molecular excitation energies thanks to a renormalized first-order perturbative correction to the static BSE excitation energies.
The present dynamical correction goes beyond the plasmon-pole approximation as the dynamical screening of the Coulomb interaction is computed exactly within the random-phase approximation.
Our calculations are benchmarked against high-level (coupled-cluster) calculations, allowing to assess the clear improvements brought by the dynamical correction.
The Bethe-Salpeter equation (BSE) formalism \cite{Salpeter_1951,Strinati_1988} is to the $GW$ approximation \cite{Hedin_1965,Golze_2019} of many-body perturbation theory (MBPT) \cite{Martin_2016} what time-dependent density-functional theory (TD-DFT) \cite{Runge_1984,Casida_1995} is to Kohn-Sham density-functional theory (KS-DFT), \cite{Hohenberg_1964,Kohn_1965} an affordable way of computing the neutral (or optical) excitations of a given electronic system.
In recent years, it has been shown to be a valuable tool for computational chemists with a large number of systematic benchmark studies on large families of molecular systems appearing in the literature \cite{Boulanger_2014,Jacquemin_2015a,Bruneval_2015,Jacquemin_2015b,Hirose_2015,Jacquemin_2017a,Jacquemin_2017b,Rangel_2017,Krause_2017,Gui_2018} (see Ref.~\onlinecite{Blase_2018} for a recent review).
Taking the optical gap (\ie, the lowest optical excitation energy) as an example, BSE builds on top of a $GW$ calculation by adding up excitonic effects $\EB$ to the $GW$ HOMO-LUMO gap
is the the fundamental gap, \cite{Bredas_2014}$I^N = E_0^{N-1}- E_0^N$ and $A^N = E_0^{N}- E_0^{N+1}$ being the ionization potential and the electron affinity of the $N$-electron system, respectively.
Here, $E_S^{N}$ is the total energy of the $S$th excited state of the $N$-electron system, and $E_0^N$ corresponds to its ground-state energy.
Because the excitonic effect corresponds physically to the stabilization implied by the attraction of the excited electron and its hole left behind, we have $\EgOpt < \EgFun$.
Due to the smaller amount of screening in molecules as compared to solids, a faithful description of excitonic effects is paramount in molecular systems.
Most of BSE implementations rely on the so-called static approximation, which approximates the dynamical (\ie, frequency-dependent) BSE kernel by its static limit.
In complete analogy with the ubiquitous adiabatic approximation in TD-DFT where the exchange-correlation (xc) kernel is made static, one key consequence of the static approximation within BSE is that double (and higher) excitations are completely absent from the BSE spectrum.
Indeed, a frequency-dependent kernel has the ability to create additional poles in the response function, which describe states with a multiple-excitation character, and, in particular, double excitations.
Although these double excitations are usually experimentally dark (which means that they usually cannot be observed in photo-absorption spectroscopy), these states play, indirectly, a key role in many photochemistry mechanisms, \cite{Boggio-Pasqua_2007} as they strongly mix with the bright singly-excited states leading to the formation of satellite peaks. \cite{Helbig_2011,Elliott_2011}
They are particularly important in the faithful description of the ground state of open-shell molecules, \cite{Casida_2005,Romaniello_2009a,Huix-Rotllant_2011,Loos_2020c}
and they are, moreover, a real challenge for high-level computational methods. \cite{Loos_2018a,Loos_2019,Loos_2020b,Loos_2020c}
Double excitations play also a significant role in the correct location of the excited states of polyenes that are closely related to rhodopsin, a biological pigment found in the rods of the retina and involved in the visual transduction. \cite{Olivucci_2010,Robb_2007,Manathunga_2016}
In butadiene, for example, while the bright $1^1B_u$ state has a clear $\HOMO\ra\LUMO$ single-excitation character, the dark $2^1A_g$ state includes a substantial fraction of doubly-excited character from the $\HOMO^2\ra\LUMO^2$ double excitation (roughly $30\%$), yet dominant contributions from the $\HOMO-1\ra\LUMO$ and $\HOMO\ra\LUMO+1$ single excitations. \cite{Maitra_2004,Cave_2004,Saha_2006,Watson_2012,Shu_2017,Barca_2018a,Barca_2018b,Loos_2019}
Going beyond the static approximation is tricky and very few groups have dared to take the plunge. \cite{Strinati_1988,Rohlfing_2000,Sottile_2003,Myohanen_2008,Ma_2009a,Ma_2009b,Romaniello_2009b,Sangalli_2011,Huix-Rotllant_2011,Sakkinen_2012,Zhang_2013,Rebolini_2016,Olevano_2019,Lettmann_2019}
Nonetheless, it is worth mentioning the seminal work of Strinati on core excitons in semiconductors, \cite{Strinati_1982,Strinati_1984,Strinati_1988} in which the dynamical screening effects were taken into account through the dielectric matrix, and where he observed an increase of the binding energy over its value for static screening and a narrowing of the Auger width below its value for a core hole.
Following Strinati's footsteps, Rohlfing and coworkers have developed an efficient way of taking into account, thanks to first-order perturbation theory, the dynamical effects via a plasmon-pole approximation combined with the Tamm-Dancoff approximation (TDA). \cite{Rohlfing_2000,Ma_2009a,Ma_2009b,Baumeier_2012b}
With such a scheme, they have been able to compute the excited states of biological chromophores, showing that taking into account the electron-hole dynamical screening is important for an accurate description of the lowest $n \ra\pi^*$ excitations. \cite{Ma_2009a,Ma_2009b,Baumeier_2012b}
Indeed, studying PYP, retinal and GFP chromophore models, Ma \textit{et al.}~found that \textit{``the influence of dynamical screening on the excitation energies is about $0.1$ eV for the lowest $\pi\ra\pis$ transitions, but for the lowest $n \ra\pis$ transitions the influence is larger, up to $0.25$ eV.''}\cite{Ma_2009b}
A similar conclusion was reached in Ref.~\onlinecite{Ma_2009a}.
Zhang \textit{et al.}~have studied the frequency-dependent second-order Bethe-Salpeter kernel and they have observed an appreciable improvement over configuration interaction with singles (CIS), time-dependent Hartree-Fock (TDHF), and adiabatic TD-DFT results. \cite{Zhang_2013}
Rebolini and Toulouse have performed a similar investigation in a range-separated context, and they have reported a modest improvement over its static counterpart. \cite{Rebolini_2016,Rebolini_PhD}
In these two latter studies, they also followed a (non-self-consistent) perturbative approach within the TDA with a renormalization of the first-order perturbative correction.
It is important to note that, although all the studies mentioned above are clearly going beyond the static approximation of BSE, they are not able to recover additional excitations as the perturbative treatment makes ultimately the BSE kernel static.
However, it does permit to recover, for transitions with a dominant single-excitation character, additional relaxation effects coming from higher excitations.
These higher excitations would be explicitly present in the BSE Hamiltonian by ``unfolding'' the dynamical BSE kernel, and one would recover a linear eigenvalue problem with, nonetheless, a much larger dimension. \cite{Loos_2020f}
Based on a simple two-level model which permits to analytically solve the dynamical equations, Romaniello and coworkers \cite{Romaniello_2009b,Sangalli_2011} evidenced that one can genuinely access additional excitations by solving the non-linear, frequency-dependent eigenvalue problem.
For this particular system, it was shown that a BSE kernel based on the random-phase approximation (RPA) produces indeed double excitations but also unphysical excitations. \cite{Romaniello_2009b}
This was fixed in a follow-up paper by Sangalli \textit{et al.}\cite{Sangalli_2011} thanks to the design of a number-conserving approach based on the folding of the second-RPA Hamiltonian, \cite{Wambach_1988} which includes explicitly both single and double excitations.
By computing the polarizability of two unsaturated hydrocarbon chains, \ce{C8H2} and \ce{C4H6}, they showed that their approach produces the correct number of physical excitations.
For example, Huix-Rotllant and Casida \cite{Casida_2005,Huix-Rotllant_2011} proposed a nonadiabatic correction to the xc kernel using the formalism of superoperators, which includes as a special case the dressed TD-DFT method of Maitra and coworkers, \cite{Maitra_2004,Cave_2004,Elliott_2011,Maitra_2012} where a frequency-dependent kernel is build \textit{a priori} and manually for a particular excitation.
Following a similar strategy, Romaniello \textit{et al.}\cite{Romaniello_2009b} took advantages of the dynamically-screened Coulomb potential from BSE to obtain a dynamic TD-DFT kernel.
In this regard, MBPT provides key insights about what is missing in adiabatic TD-DFT, as discussed in details by Casida and Huix-Rotllant in Ref.~\onlinecite{Casida_2016}.
In the present study, we extend the work of Rohlfing and coworkers \cite{Rohlfing_2000,Ma_2009a,Ma_2009b,Baumeier_2012b} by proposing a renormalized first-order perturbative correction to the static BSE excitation energies.
%Moreover, we investigate quantitatively the effect of the TDA by computing both the resonant and anti-resonant dynamical corrections to the BSE excitation energies.
In this Section, following Strinati's seminal work, \cite{Strinati_1988} we first derive in some details the theoretical foundations leading to the dynamical BSE.
The two-body correlation function $L(1,2; 1',2')$ --- a central quantity in the BSE formalism --- relates the variation of the one-body Green's function $G(1,1')$ with respect to an external non-local perturbation $U(2',2)$, \ie,
The relation between $G$ and the one-body charge density $\rho(1)=-i G(1,1^+)$ provides a direct connection with the density-density susceptibility $\chi(1,2)= L(1,2;1^+,2^+)$ at the core of TD-DFT.
[where $\delta$ is Dirac's delta function and $v$ is the bare Coulomb operator] and the xc self-energy $\Sigma_\text{xc}$ with respect to the variation of $G$.
In Eqs.~\eqref{eq:G1} and \eqref{eq:G2}, the field operators $\Hat{\psi}(\bx t)$ and $\Hat{\psi}^{\dagger}(\bx't')$ remove and add (respectively) an electron to the $N$-electron ground state $\ket{N}$ in space-spin-time positions ($\bx t$) and ($\bx't'$), while $T$ is the time-ordering operator.
The resolution of the dynamical BSE starts with the expansion of $L_0$ and $L$ [see Eqs.~\eqref{eq:L0} and \eqref{eq:L}] over the complete orthonormalized set of $N$-electron excited states $\ket{N,S}$ (with $\ket{N,0}\equiv\ket{N}$). \cite{Strinati_1988}
In the optical limit of instantaneous electron-hole creation and destruction, imposing $t_{2'}= t_2^+$ and $t_{1'}= t_1^+$, and using the relation between the field operators in their time-dependent (Heisenberg) and time-independent (Schr\"{o}dinger) representations, \eg,
Picking up the $e^{+i \Om{S}{} t_2}$ component of both $L(1,2; 1',2')$ and $L(6,2;5,2')$, simplifying further by $\tchi_S(\bx_2,\bx_{2'})$ on both sides of the BSE [see Eq.~\eqref{eq:BSE}], we seek the $e^{-i \Om{S}{} t_1}$ Fourier component associated with the right-hand side of a modified dynamical BSE, which reads
For the neutral excitation energies falling in the fundamental gap of the system (\ie, $\Om{S}{} < \EgFun$ due to excitonic effects), $L_0(1,2;1',2')$ cannot contribute to the $e^{-i \Om{S}{} t_1}$ response term since its lowest excitation energy is precisely the fundamental gap [see Eq.~\eqref{eq:Egfun}].
Consequently, special care has to be taken for high-lying excited states (like core or Rydberg excitations) where additional terms have to be taken into account (see Refs.~\onlinecite{Strinati_1982,Strinati_1984}).
where $\eta$ is a positive infinitesimal and $\mu$ is the chemical potential.
The $\e{p}$'s in Eq.~\eqref{eq:G-Lehman} are quasiparticle energies (\ie, proper addition/removal energies) and the $\MO{p}(\bx)$'s are their associated one-body (spin)orbitals.
More details are provided in Appendix \ref{app:A}.
As a final step, we express the terms $\mel{N}{T [\hpsi(\bx_1)\hpsi^{\dagger}(\bx_{1}')]}{N,S}$ and $\mel{N}{T [\hpsi(6)\hpsi^{\dagger}(5)]}{N,S}$ from Eq.~\eqref{eq:BSE_2} in the standard electron-hole product (or single-excitation) space.
with $t^{65}=(t_5+ t_6)/2$ and $\tau_{65}= t_6-t_5$. The $\mel{N}{\ha_q^{\dagger}\ha_p}{N,S}$ are the unknown particle-hole amplitudes.% in the orbital product basis.
The $GW$ quasiparticle energies $\eGW{p}$ are usually good approximations to the removal/addition energies $\e{p}$ introduced in Eq.~\eqref{eq:G-Lehman}.
Substituting Eqs.~\eqref{eq:iL0bis}, \eqref{eq:spectral65}, and \eqref{eq:Xi_GW} into Eq.~\eqref{eq:BSE_2}, and projecting onto $\MO{a}^*(\bx_1)\MO{i}(\bx_{1'})$, one gets after a few tedious manipulations the dynamical BSE:
with $X_{jb,S}=\mel{N}{\ha_j^{\dagger}\ha_b}{N,S}$ and $Y_{jb,S}=\mel{N}{\ha_b^{\dagger}\ha_j}{N,S}$, and where $\kappa=2$ or $0$ for singlet and triplet excited states (respectively).
Neglecting the anti-resonant terms, $Y_{jb,S}$, in the dynamical BSE, which are (usually) much smaller than their resonant counterparts, $X_{jb,S}$, leads to the well-known TDA.
%\xavier{\sout{ A second coupled equation for the $(X_{ia}^{S}, Y_{ia}^{S} )$ vector can be obtained by projecting $\mel{N}{T [ \hpsi(\bx_1) \hpsi^{\dagger}(\bx_{1}') ] } {N,S}$ and $L_0(\bx_1,4;\bx_{1'},3; \Om{S}{})$ onto $\MO{i}^*(\bx_1) \MO{a}(\bx_{1'})$ instead of $\MO{a}^*(\bx_1) \MO{i}(\bx_{1'})$. } }
In Eqs.~\eqref{eq:W-RPA} and \eqref{eq:sERI}, $\OmRPA{m}{}$ and $(\bX{m}{\RPA}+\bY{m}{\RPA})$ are RPA neutral excitations and their corresponding transition vectors computed by solving the (static) linear response problem
where the $\e{p}$'s are taken as the HF orbital energies in the case of $G_0W_0$\cite{Hybertsen_1985a, Hybertsen_1986} or as the $GW$ quasiparticle energies in the case of self-consistent schemes such as ev$GW$. \cite{Hybertsen_1986,Shishkin_2007,Blase_2011,Faber_2011}
The RPA matrices $\bA{\RPA}$ and $\bB{\RPA}$ in Eq.~\eqref{eq:LR-RPA} are of size $\Nocc\Nvir\times\Nocc\Nvir$, where $\Nocc$ and $\Nvir$ are the number of occupied and virtual orbitals (\ie, $\Norb=\Nocc+\Nvir$ is the total number of spatial orbitals), respectively, and $\bX{m}{\RPA}$, and $\bY{m}{\RPA}$ are (eigen)vectors of length $\Nocc\Nvir$.
One can verify that, in the static limit where $\Om{m}{\RPA}\to\infty$, the matrix elements $\widetilde{W}_{ij,ab}$ correctly reduce to their static expression
\begin{equation}
\label{eq:Wstat}
\W{ij,ab}{\text{stat}}
\equiv W_{ij,ab}(\omega = 0)
= \ERI{ij}{ab} - 4 \sum_m \frac{\sERI{ij}{m}\sERI{ab}{m}}{\OmRPA{m}{} - i \eta},
\end{equation}
evidencing that the standard static BSE problem is recovered from the present dynamical formalism in this limit.
Due to excitonic effects, the lowest BSE excitation energy, $\Om{1}{}$, stands lower than the lowest RPA excitation energy, $\Om{1}{\RPA}$, so that, $\Om{ib}{S}-\Om{m}{\RPA} < 0$ and $\widetilde{W}_{ij,ab}(\Om{S}{})$ has no resonances.
As a consequence, we observe a reduction of the electron-hole screening, \ie, an enhancement of electron-hole binding energy, as compared to the standard static BSE, and consequently smaller (red-shifted) excitation energies.
The analysis of the (off-diagonal) screened Coulomb potential matrix elements multiplying the $Y_{jb,S}$ coefficients in Eq.~\eqref{eq:BSE-final}, \ie,
reveals strong divergences even for low-lying excitations with, for example, $\Om{ba}{S}-\Om{m}{\RPA}=\Om{S}{}-\Om{m}{\RPA}-(\eGW{a}-\eGW{b})\approx0$.
Such divergences may explain that in previous studies dynamical effects were only accounted for at the TDA level. \cite{Strinati_1988,Rohlfing_2000,Ma_2009a,Ma_2009b,Romaniello_2009b,Sangalli_2011,Zhang_2013,Rebolini_2016}
To avoid confusions here, enforcing the TDA for the dynamical correction (which corresponds to neglecting the dynamical correction originating from the anti-resonant part of the BSE Hamiltonian) will be labeled as dTDA in the following.
Going beyond the dTDA is outside the scope of the present study but shall be addressed eventually.
From a more practical point of view, Eq.~\eqref{eq:BSE-final} can be recast as an non-linear eigenvalue problem and, to compute the BSE excitation energies of a closed-shell system, one must solve the following dynamical (\ie, frequency-dependent) response problem \cite{Strinati_1988}
where the dynamical matrices $\bA{}$ and $\bB{}$ have the same $\Nocc\Nvir\times\Nocc\Nvir$ size than their RPA counterparts, and we assume real quantities from hereon.
Same comment applies to the eigenvectors $\bX{S}{}$, and $\bY{S}{}$ of length $\Nocc\Nvir$.
Note that, due to its non-linear nature, Eq.~\eqref{eq:LR-dyn} may provide more than one solution for each value of $S$. \cite{Romaniello_2009b,Sangalli_2011,Martin_2016}
Now, let us decompose, using basic Rayleigh-Schr\"odinger perturbation theory, the non-linear eigenproblem \eqref{eq:LR-dyn} as a zeroth-order static (hence linear) reference and a first-order dynamic (hence non-linear) perturbation, such that
In terms of computational cost, if one decides to compute the dynamical correction of the $M$ lowest excitation energies, one must perform, first, a conventional (static) BSE calculation and extract the $M$ lowest eigenvalues and their corresponding eigenvectors [see Eq.~\eqref{eq:LR-BSE-stat}].
These are then used to compute the first-order correction from Eq.~\eqref{eq:Om1-TDA}, which also require to construct and evaluate the dynamical part of the BSE Hamiltonian for each excitation one wants to dynamically correct.
Constructing the static and dynamic BSE Hamiltonians is much more expensive as it requires the complete diagonalization of the $(\Nocc\Nvir\times\Nocc\Nvir)$ RPA linear response matrix [see Eq.~\eqref{eq:LR-RPA}], which corresponds to a $\order*{\Nocc^3\Nvir^3}=\order*{\Norb^6}$ computational cost.
Although it might be reduced to $\order*{\Norb^4}$ operations with standard resolution-of-the-identity techniques, \cite{Duchemin_2019,Duchemin_2020} this step is the computational bottleneck in the current implementation.
We then adopt a restricted formalism throughout this work.
The $GW$ calculations performed to obtain the screened Coulomb operator and the quasiparticle energies are done using a (restricted) HF starting point.
Perturbative $GW$ (or {\GOWO}) \cite{Hybertsen_1985a, Hybertsen_1986} quasiparticle energies are employed as starting points to compute the BSE neutral excitations.
It is important to mention that the small molecular systems considered here are particularly challenging for the BSE formalism which is known to work best for larger systems where the amount of screening is more important. \cite{Jacquemin_2017b,Rangel_2017}
For comparison purposes, we employ the theoretical best estimates (TBEs) and geometries of Refs.~\onlinecite{Loos_2018a,Loos_2019,Loos_2020b} from which CIS(D), \cite{Head-Gordon_1994,Head-Gordon_1995} ADC(2), \cite{Trofimov_1997,Dreuw_2015} CC2, \cite{Christiansen_1995a} CCSD, \cite{Purvis_1982} and CC3 \cite{Christiansen_1995b} excitation energies are also extracted.
Various statistical quantities are reported in the following: the mean signed error (MSE), mean absolute error (MAE), root-mean-square error (RMSE), and the maximum positive [Max($+$)] and maximum negative [Max($-$)] errors.
All the static and dynamic BSE calculations have been performed with the software \texttt{QuAcK}, \cite{QuAcK} freely available on \texttt{github}, where the present perturbative correction has been implemented.
The singlet and triplet excitation energies of the nitrogen molecule \ce{N2} computed at the BSE@{\GOWO}@HF level for the cc-pVXZ and aug-cc-pVXZ families of basis sets are reported in Table \ref{tab:N2}, where we also report the $GW$ gap, $\Eg^{\GW}$, to show that corrected transitions are usually well below this gap.
The \ce{N2} molecule is a very convenient example for this kind of study as it contains $n \ra\pis$ and $\pi\ra\pis$ valence excitations as well as Rydberg transitions.
As we shall further illustrate below, the magnitude of the dynamical correction is characteristic of the type of transitions.
One key result of the present investigation is that the dynamical correction is quite basis set insensitive with a maximum variation of $0.03$ eV between in smallest (aug-cc-pVDZ) and largest (aug-cc-pVQZ) basis sets.
This is quite a nice feature as it means that one does not need to compute the dynamical correction in a very large basis to get a meaningful estimate of its magnitude.
%The second important observation extracted from the results gathered in Table \ref{tab:N2} is that the dTDA is a rather satisfactory approximation, especially for the singlet states where one observes a maximum discrepancy of $0.03$ eV between the ``full'' and dTDA excitation energies.
%The story is different for the triplet states for which deviations of the order of $0.3$ eV is observed between the two sets, the dTDA of excitation energies being, as we shall see later on, more accurate.
%Indeed, although the dynamical correction systematically red-shift the excitation energies (as anticipated in Sec.~\ref{sec:dynW}), taking into account the coupling between the resonant and anti-resonant parts of the BSE Hamiltonian [see Eq.~\eqref{eq:BSE-final}] yields a systematic blue-shift of the correction, the overall correction remaining negative but by a smaller amount.
%This outcome is similar to the conclusions of several benchmark studies \cite{Jacquemin_2017b,Rangel_2017} which clearly concluded that static BSE triplet excitations are notably too low in energy and that the use of the TDA is able to partly reduce this error.
Tables \ref{tab:BigTabSi} and \ref{tab:BigTabTr} report, respectively, singlet and triplet excitation energies for various molecules computed at the BSE@{\GOWO}@HF level and with the aug-cc-pVTZ basis set.
For comparative purposes, excitation energies obtained with the same basis set and several second-order wave function methods [CIS(D), ADC(2), CCSD, and CC2] are also reported.
The highly-accurate TBEs of Refs.~\onlinecite{Loos_2018a,Loos_2019,Loos_2020b} will serve us as reference, and statistical quantities [MAE, MSE, RMSE, Max($+$), and Max($-$)] are computed with respect to these references.
For each excitation, we report the static and dynamic excitation energies, $\Om{S}{\stat}$ and $\Om{S}{\dyn}$, as well as the value of the renormalization factor $Z_S$ defined in Eq.~\eqref{eq:Z}.
As one can see in Tables \ref{tab:BigTabSi} and \ref{tab:BigTabTr}, the value of $Z_S$ is always quite close to unity which shows that the perturbative expansion behaves nicely, and that a first-order correction is probably quite a good estimate of the non-perturbative result.
Moreover, we have observed that an iterative, self-consistent resolution [where the dynamically-corrected excitation energies are re-injected in Eq.~\eqref{eq:Om1}] yields basically the same results as its (cheaper) renormalized version.
A clear general trend is the consistent red shift of the static BSE excitation energies induced by the dynamical correction, as anticipated in Sec.~\ref{sec:dynW}.
\caption{Error (in eV) with respect to the TBEs of Refs.~\onlinecite{Loos_2018a,Loos_2019,Loos_2020b} for singlet (top) and triplet (bottom) excitation energies of various molecules obtained with the aug-cc-pVTZ basis set computed within the static (white) and dynamic (colored) BSE formalism.
CT and R stand for charge transfer and Rydberg state, respectively.
See Tables \ref{tab:BigTabSi} and \ref{tab:BigTabTr} for raw data.
The results gathered in Tables \ref{tab:BigTabSi} and \ref{tab:BigTabTr} are depicted in Fig.~\ref{fig:SiTr-SmallMol} where we report the error (with respect to the TBEs) for the singlet and triplet excitation energies computed within the static and dynamic BSE formalism.
From this figure, it is quite clear that the dynamical correction systematically improves upon its static analog, except in a very few cases.
In particular, the MAE is reduced from $0.65$ to $0.50$ eV for singlets, and from $0.39$ to $0.29$ eV for triplets.
The MSE and RMSE are also systematically improved when one takes into account dynamical effects.
The second important observation extracted from Fig.~\ref{fig:SiTr-SmallMol} is that the (singlet and triplet) Rydberg states are rather unaltered by the dynamical effects with a correction of few hundredths of eV in most cases.
The magnitude of the dynamical correction for $n \ra\pis$ and $\pi\ra\pis$ transitions is much more important: $0.3$--$0.5$ eV for singlets and $0.3$--$0.7$ eV for triplets.
\caption{Error (in eV) with respect to CC3 for singlet and triplet excitation energies of various molecules obtained with the aug-cc-pVDZ basis set computed within the static (white) and dynamic (colored) BSE formalism.
R stands for Rydberg state.
See Table \ref{tab:BigMol} for raw data.
\label{fig:SiTr-BigMol}}
\end{figure*}
Table \ref{tab:BigMol} reports singlet and triplet excitation energies for larger molecules at the static and dynamic BSE levels with the aug-cc-pVDZ basis set.
We also report the CC3 excitation energies computed in Refs.~\onlinecite{Loos_2018a,Loos_2019,Loos_2020b} with the same basis set.
These will be our reference as they are known to be extremely accurate ($0.03$--$0.04$ eV from the TBEs). \cite{Loos_2020g}
Error (in eV) with respect to CC3 are represented in Fig.~\ref{fig:SiTr-BigMol}.
As expected the static BSE excitation energies are much more accurate for these larger molecules with a MAE of $0.32$ eV and a MSE of $0.30$ eV.
Here again, the dynamical correction improves the accuracy of BSE by lowering the MAE and MSE to $0.23$ and $0.00$ eV, respectively.
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 study has been (partially) supported through the EUR grant NanoX No.~ANR-17-EURE-0009 in the framework of the \textit{``Programme des Investissements d'Avenir''.}
with $\tau_{34}= t_3- t_4$ and $t^{34}=(t_3+t_4)/2$.
Using now the Lehman representation of the Green's functions (Eq.~\eqref{eq:G-Lehman}), and picking up the poles associated with the occupied (virtual) states in the upper (lower) half-plane for $\tau_{34} > 0$ ($\tau_{34} < 0$), one obtains using the residue theorem (with $\tau=\tau_{34})$