Indeed, due to its high spatial symmetry, especially at the $D_{4h}$ square geometry but also in the $D_{2h}$ rectangular arrangement, the ground and excited states of cyclobutadiene exhibit multi-configurational characters and single-reference methods, such as \alert{standard} adiabatic time-dependent density-functional theory (TD-DFT) or \alert{standard} equation-of-motion coupled cluster (EOM-CC), are notoriously known to struggle in such situations.
In this work, using a large panel of methods and basis sets, we provide an extensive computational study of the automerization barrier (defined as the difference between the square and rectangular ground-state energies) and the vertical excitation energies at $D_{2h}$ and $D_{4h}$ equilibrium structures.
In particular, selected configuration interaction (SCI), multi-reference perturbation theory (CASSCF, CASPT2, and NEVPT2), and coupled-cluster (CCSD, CC3, CCSDT, CC4, and CCSDTQ) calculations are performed.
The spin-flip formalism, which is known to provide a qualitatively correct description of these diradical states, is also tested within TD-DFT (combined with numerous exchange-correlation functionals) and the algebraic diagrammatic construction [ADC(2)-s, ADC(2)-x, and ADC(3)] schemes.
Despite the fact that excited states are involved in ubiquitous processes such as photochemistry, \cite{Bernardi_1990,Bernardi_1996,Boggio-Pasqua_2007,Klessinger_1995,Olivucci_2010,Robb_2007,VanderLugt_1969} catalysis, \cite{Kancherla_2019} and solar cells, \cite{Delgado_2010} none of the currently existing methods has shown to provide accurate excitation energies in all scenarios due to the complexity of the process, the size of the systems, the impact of the environment, and many other factors.
Indeed, each computational model has its own theoretical and/or technical limitations and the number of possible chemical scenarios is so vast that the design of new excited-state methodologies remains a very active field of theoretical quantum chemistry.\cite{Roos_1996,Piecuch_2002b,Dreuw_2005,Krylov_2006,Sneskov_2012,Gonzales_2012,Laurent_2013,Adamo_2013,Dreuw_2015,Ghosh_2018,Blase_2020,Loos_2020a,Hait_2021,Zobel_2021}
Speaking of difficult tasks, the cyclobutadiene (CBD) molecule has been a real challenge for both experimental and theoretical chemistry for many decades. \cite{Bally_1980}
Due to its antiaromaticity \cite{Minkin_1994} and large angular strain, \cite{Baeyer_1885} CBD presents a high reactivity making its synthesis a particularly difficult exercise.
In the {\Dfour} symmetry, the simple H\"uckel molecular orbital theory wrongly predicts a triplet ground state (Hund's rule) with two singly-occupied frontier orbitals that are degenerate by symmetry, while state-of-the-art \textit{ab initio} methods correctly predict an open-shell singlet ground state.
This degeneracy is lifted by the so-called pseudo Jahn-Teller effect, \ie, by a descent in symmetry (from {\Dfour} to {\Dtwo} point group) via a geometrical distortion of the molecule, leading to a closed-shell singlet ground state in the rectangular geometry (see below).
This was confirmed by several experimental studies by Pettis and co-workers \cite{Reeves_1969} and others. \cite{Irngartinger_1983,Ermer_1983,Kreile_1986}
In the {\Dtwo} symmetry, the {\oneAg} ground state has a weak multi-configurational character with well-separated frontier orbitals that can be described by single-reference methods.
Interestingly, the {\sBoneg} ground state of the square arrangement is a transition state in the automerization reaction between the two rectangular structures (see Fig.~\ref{fig:CBD}), while the lowest triplet state, {\Atwog}, is a minimum on the triplet potential energy surface in the {\Dfour} arrangement.
The automerization barrier (AB) is thus defined as the difference between the square and rectangular ground-state energies.
The energy of this barrier is estimated, experimentally, in the range of \SIrange{1.6}{10}{\kcalmol}, \cite{Whitman_1982} while previous state-of-the-art \textit{ab initio} calculations yield values in the \SIrange{7}{9}{\kcalmol} range. \cite{Eckert-Maksic_2006,Li_2009,Shen_2012,Zhang_2019}
The lowest-energy excited states of CBD in both symmetries are represented in Fig.~\ref{fig:CBD}, where we have reported the {\oneAg} and {\tBoneg} states for the rectangular geometry and the {\sBoneg} and {\Atwog} states for the square one.
Interestingly, the {\twoAg} and {\Aoneg} states have a strong contribution from doubly-excited configurations and these so-called double excitations \cite{Loos_2019} are known to be inaccessible with \alert{standard} adiabatic time-dependent density-functional theory (TD-DFT) \cite{Runge_1984,Casida_1995,Tozer_2000,Maitra_2004,Cave_2004,Levine_2006,Elliott_2011,Maitra_2012,Maitra_2017} and \alert{remain challenging for standard hierarchy of EOM-CC methods that are using ground-state Hartree-Fock reference}. \cite{Kucharski_1991,Kallay_2004,Hirata_2000,Hirata_2004}
Among these methods, one can mention the complete-active-space self-consistent field (CASSCF) method, \cite{Roos_1996} its second-order perturbatively-corrected variant (CASPT2) \cite{Andersson_1990,Andersson_1992,Roos_1995a} and the second-order $n$-electron valence state perturbation theory (NEVPT2) formalism. \cite{Angeli_2001,Angeli_2001a,Angeli_2002}
Another way to deal with double excitations and multi-reference situations is to use high level truncation of the EOM formalism \cite{Rowe_1968,Stanton_1993} of CC theory. \cite{Kucharski_1991,Kallay_2003,Kallay_2004,Hirata_2000,Hirata_2004}
However, to provide a correct description of these situations, one has to take into account, at the very least, contributions from the triple excitations in the CC expansion. \cite{Watson_2012,Loos_2018a,Loos_2019,Loos_2020b}
Although multi-reference CC methods have been designed, \cite{Jeziorski_1981,Mahapatra_1998,Mahapatra_1999,Lyakh_2012,Kohn_2013} they are computationally demanding and remain far from being black-box.
In this context, an interesting alternative to \alert{multi-reference} and CC methods is provided by selected configuration interaction (SCI) methods, \cite{Bender_1969,Whitten_1969,Huron_1973,Giner_2013,Evangelista_2014,Giner_2015,Caffarel_2016b,Holmes_2016,Tubman_2016,Liu_2016,Ohtsuka_2017,Zimmerman_2017,Coe_2018,Garniron_2018} which are able to provide near full CI (FCI) ground- and excited-state energies of small molecules. \cite{Caffarel_2014,Caffarel_2016a,Scemama_2016,Holmes_2017,Li_2018,Scemama_2018,Scemama_2018b,Li_2020,Loos_2018a,Chien_2018,Loos_2019,Loos_2020b,Loos_2020c,Loos_2020e,Garniron_2019,Eriksen_2020,Yao_2020,Williams_2020,Veril_2021,Loos_2021,Damour_2021}
For example, the \textit{Configuration Interaction using a Perturbative Selection made Iteratively} (CIPSI) method limits the exponential increase of the size of the CI expansion by retaining the most energetically relevant determinants only, using a second-order energetic criterion to select perturbatively determinants in the FCI space. \cite{Huron_1973,Giner_2013,Giner_2015,Garniron_2017,Garniron_2018,Garniron_2019}
Finally, another option to deal with these chemical scenarios is to rely on the spin-flip formalism, established by Krylov in 2001, \cite{Krylov_2001a,Krylov_2001b,Krylov_2002,Casanova_2020} where one accesses the ground and doubly-excited states via a single (spin-flip) de-excitation and excitation from the lowest triplet state, respectively.
\alert{One drawback of spin-flip methods is spin contamination} (\ie, the artificial mixing of electronic states with different spin multiplicities) due not only to the spin incompleteness in the spin-flip expansion but also to the potential spin contamination of the reference configuration. \cite{Casanova_2020}
One can address part of this issue by increasing the excitation order or by complementing the spin-incomplete configuration set with the missing configurations. \cite{Sears_2003,Casanova_2008,Huix-Rotllant_2010,Li_2010,Li_2011a,Li_2011b,Zhang_2015,Lee_2018}
\alert{Note that one can quantify the polyradical character associated to a given electronic state using Head-Gordon's index \cite{Head-Gordon_2003} that provides a measure of the number of unpaired electrons. \cite{Orms_2018}}
In the present work, we define highly-accurate reference values and investigate the accuracy of each family of computational methods mentioned above on the automerization barrier and the low-lying excited states of CBD at the {\Dtwo} and {\Dfour} ground-state geometries.
For the SCI calculations, we rely on the CIPSI algorithm implemented in QUANTUM PACKAGE, \cite{Garniron_2019} which iteratively select determinants in the FCI space.
To treat electronic states on an equal footing, we use a state-averaged formalism where the ground and excited states are expanded with the same set of determinants but with different CI coefficients.
Note that the determinant selection for these states are performed simultaneously via the protocol described in Refs.~\onlinecite{Scemama_2019,Garniron_2019}.
For a given size of the variational wave function and for each electronic state, the CIPSI energy is the sum of two terms: the variational energy obtained by diagonalization of the CI matrix in the reference space $E_\text{var}$ and a second-order perturbative correction $E_\text{PT2}$ which estimates the contribution of the external determinants that are not included in the variational space at a given iteration.
The sum of these two energies is, for large enough wave functions, an estimate of the FCI energy of a given state, \ie, $E_\text{FCI}\approx E_\text{var}+ E_\text{PT2}$.
It is possible to estimate more precisely the FCI energy via an extrapolation procedure, where the variational energy is extrapolated to $E_\text{PT2}=0$. \cite{Holmes_2017}
Excitation energies are then computed as differences of extrapolated total energies. \cite{Chien_2018,Loos_2018a,Loos_2019,Loos_2020b,Loos_2020c}
Additionally, an error bar can be provided thanks to a recent method based on Gaussian random variables that is described in Ref.~\onlinecite{Veril_2021}.
This type of extrapolation procedures is now routine in SCI and similar techniques. \cite{Eriksen_2020,Loos_2020e,Eriksen_2021}
Coupled-cluster theory provides a hierarchy of methods that yields increasingly accurate ground state energies by ramping up the maximum excitation degree of the cluster operator: \cite{Cizek_1966,Paldus_1972,Crawford_2000,Piecuch_2002b,Bartlett_2007,Shavitt_2009} CC with singles and doubles (CCSD), \cite{Cizek_1966,Purvis_1982} CC with singles, doubles, and triples (CCSDT), \cite{Noga_1987a,Scuseria_1988} CC with singles, doubles, triples, and quadruples (CCSDTQ), \cite{Oliphant_1991,Kucharski_1991a,Kucharski_1992} etc.
As mentioned above, CC theory can be extended to excited states via the EOM formalism, \cite{Rowe_1968,Stanton_1993} where one diagonalizes the similarity-transformed Hamiltonian in a CI basis of excited determinants yielding the following systematically improvable family of methods for neutral excited states:\cite{Noga_1987a,Koch_1990b,Kucharski_1991,Stanton_1993,Christiansen_1998,Kucharski_2001,Kowalski_2001,Kallay_2003,Kallay_2004,Hirata_2000,Hirata_2004} EOM-CCSD, EOM-CCSDT, EOM-CCSDTQ, etc.
Alternatively to the ``complete'' CC models, one can also employ the CC2, \cite{Christiansen_1995,Hattig_2000} CC3, \cite{Christiansen_1995,Koch_1995} and CC4 \cite{Kallay_2005,Matthews_2020,Loos_2021} methods which can be seen as cheaper approximations of CCSD, CCSDT, and CCSDTQ by skipping the most expensive terms and avoiding the storage of high-order amplitudes.
Typically, CCSD, CCSDT, and CCSDTQ as well as CC3 and CC4 calculations are achieved with CFOUR, \cite{Matthews_2020} with which only singlet excited states can be computed (except for CCSD).
In some cases, we have also computed (singlet and triplet) excitation energies and properties (such as the percentage of single excitations involved in a given transition, namely $\%T_1$) at the CC3 level with DALTON \cite{Aidas_2014} and at the CCSDT level with MRCC. \cite{mrcc}
To avoid having to perform multi-reference CC calculations or high-level CC calculations in the restricted open-shell or unrestricted formalisms, it is worth mentioning that, for the {\Dfour} arrangement, we have considered the lowest \textit{closed-shell}\alert{singlet state of {$A_g$} symmetry} as reference.
With respect to \alert{this closed-shell reference}, {\sBoneg} has a dominant double excitation character, while {\Btwog} has a dominant single excitation character, hence their contrasting convergence behaviors with respect to the order of the CC expansion (see below).
State-averaged CASSCF (SA-CASSCF) calculations are performed for vertical transition energies, whereas state-specific CASSCF is used for computing the automerization barrier. \cite{Werner_2020}
For each excited state, a set of state-averaged orbitals is computed by taking into account the excited state of interest as well as the ground state (even if it has a different symmetry).
Two active spaces have been considered: (i) a minimal (4e,4o) active space including the valence $\pi$ orbitals, and (ii) an extended (12e,12o) active space where we have additionally included the $\sigma_\text{CC}$ and $\sigma_\text{CC}^*$ orbitals.
For ionic excited states, like the {\sBoneg} state of CBD, it is particularly important to take into account the $\sigma$-$\pi$ coupling. \cite{Davidson_1996,Angeli_2009,BenAmor_2020}
On top of this CASSCF treatment, CASPT2 calculations are performed within the RS2 contraction scheme, while the NEVPT2 energies are computed within both the partially contracted (PC) and strongly contracted (SC) schemes. \cite{Angeli_2001,Angeli_2001a,Angeli_2002}
In order to avoid the intruder state problem in CASPT2, a real-valued level shift of \SI{0.3}{\hartree} is set, \cite{Roos_1995b,Roos_1996} with an additional ionization-potential-electron-affinity (IPEA) shift of \SI{0.25}{\hartree} to avoid systematic underestimation of the vertical excitation energies. \cite{Ghigo_2004,Schapiro_2013,Zobel_2017,Sarkar_2022}
\alert{For the sake of comparison and completeness, for the (4e,4o) active space, we also report (in the {\SupInf}) multi-reference CI calculations including Davidson correction (MRCI+Q). \cite{Knowles_1988,Werner_1988}}
Likewise, excitation energies with respect to the singlet ground state are computed as differences of excitation energies with respect to the reference triplet state.
Nowadays, spin-flip techniques are broadly accessible thanks to intensive developments in the electronic structure community (see Ref.~\onlinecite{Casanova_2020} and references therein).
Here, we explore the spin-flip version \cite{Lefrancois_2015} of the algebraic-diagrammatic construction \cite{Schirmer_1982} (ADC) using the standard and extended second-order ADC schemes, SF-ADC(2)-s \cite{Trofimov_1997,Dreuw_2015} and SF-ADC(2)-x, \cite{Dreuw_2015} as well as its third-order version, SF-ADC(3). \cite{Dreuw_2015,Trofimov_2002,Harbach_2014}
The spin-flip version of our recently proposed composite approach, namely SF-ADC(2.5), \cite{Loos_2020d} where one simply averages the SF-ADC(2)-s and SF-ADC(3) energies, is also tested in the following.
We have also carried out spin-flip calculations within the TD-DFT framework (SF-TD-DFT), \cite{Shao_2003} with the same Q-CHEM 5.2.1 code. \cite{qchem}
The B3LYP, \cite{Becke_1988b,Lee_1988a,Becke_1993b} PBE0 \cite{Adamo_1999a,Ernzerhof_1999} and BH\&HLYP global hybrid GGA functionals are considered, which contain 20\%, 25\%, 50\% of exact exchange, respectively.
Additionally, we have also computed SF-TD-DFT excitation energies using range-separated hybrid (RSH) functionals: CAM-B3LYP (19\% of short-range exact exchange and 65\% at long range), \cite{Yanai_2004a} LC-$\omega$PBE08 (0\% of short-range exact exchange and 100\% at long range), \cite{Weintraub_2009a} and $\omega$B97X-V (16.7\% of short-range exact exchange and 100\% at long range). \cite{Mardirossian_2014}
Finally, the hybrid meta-GGA functional M06-2X (54\% of exact exchange) \cite{Zhao_2008} and the RSH meta-GGA functional M11 (42.8\% of short-range exact exchange and 100\% at long range) \cite{Peverati_2011} are also employed.
\alert{There also exist spin-flip extensions of EOM-CC methods, \cite{Krylov_2001a,Levchenko_2004,Manohar_2008,Casanova_2009a,Dutta_2013} and we consider here the spin-flip version of EOM-CCSD, named SF-EOM-CCSD. \cite{Krylov_2001a}
Additionally, Manohar and Krylov introduced a non-iterative triples correction to EOM-CCSD and extended it to the spin-flip variant. \cite{Manohar_2008}
Two types of triples corrections were proposed: (i) EOM-CCSD(dT) that uses the diagonal elements of the similarity-transformed CCSD Hamiltonian, and (ii) EOM-CCSD(fT) where the Hartree-Fock orbital energies are considered instead.}
When technically possible, each level of theory is tested with four Gaussian basis sets, namely, 6-31+G(d) and aug-cc-pVXZ with X $=$ D, T, and Q. \cite{Dunning_1989}
More importantly, for each studied quantity (i.e., the automerization barrier and the vertical excitation energies), we provide a theoretical best estimate (TBE) established in the aug-cc-pVTZ basis.
The extrapolation of the CCSDTQ/aug-cc-pVTZ values is done via a ``pyramidal'' scheme, where we employ systematically the most accurate level of theory and the largest basis set available.
Note that, due to error bar inherently linked to the CIPSI calculations (see Sec.~\ref{sec:SCI}), these are mostly used as an additional safety net to further check the convergence of the CCSDTQ estimates.
Additional tables gathering these TBEs as well as literature data for the automerization barrier and the vertical excitation energies can be found in the {\SupInf}.
Two different sets of geometries obtained with different levels of theory are considered for the automerization barrier and the excited states of the CBD molecule.
First, because the automerization barrier is obtained as a difference of energies computed at distinct geometries, it is paramount to obtain these at the same level of theory.
However, due to the fact that the ground state of the square arrangement is a transition state of singlet open-shell nature, it is technically difficult to optimize the geometry with high-order CC methods.
Second, because the vertical transition energies are computed for a particular equilibrium geometry, we can afford to use different methods for the rectangular and square structures.
Hence, we rely on CC3/aug-cc-pVTZ to compute the equilibrium geometry of the {\oneAg} state in the rectangular ({\Dtwo}) arrangement and the restricted open-shell (RO) version of CCSD(T)/aug-cc-pVTZ to obtain the equilibrium geometry of the {\Atwog} state in the square ({\Dfour}) arrangement.
These two geometries are the lowest-energy equilibrium structure of their respective spin manifold (see Fig.~\ref{fig:CBD}).
Table \ref{tab:geometries} reports the key geometrical parameters obtained at these levels of theory as well as previous geometries computed by Manohar and Krylov at the CCSD(T)/cc-pVTZ level.
\caption{Error (with respect to the TBE) in the automerization barrier (in \si{\kcalmol}) of CBD at various levels of theory using the aug-cc-pVTZ basis.
The results concerning the automerization barrier are reported in Table \ref{tab:auto_standard} for various basis sets and shown in Fig.~\ref{fig:AB} for the aug-cc-pVTZ basis.
Our TBE with this basis set is \SI{8.93}{\kcalmol}, which is in excellent agreement with previous studies \cite{Eckert-Maksic_2006,Li_2009,Shen_2012,Zhang_2019,Gururangan_2021,Deustua_2021} (see {\SupInf}).
First, one can see large variations of the energy barrier at the SF-TD-DFT level, with differences as large as \SI{10}{\kcalmol} between the different functionals for a given basis set.
Indeed, hybrid functionals with approximately 50\% of short-range exact exchange (\eg, BH\&HLYP, M06-2X, and M11) perform significantly better than the functionals having a small fraction of short-range exact exchange (\eg, B3LYP, PBE0, CAM-B3LYP, $\omega$B97X-V, and LC-$\omega$PBE08).
With the augmented double-$\zeta$ basis, the SF-TD-DFT results are basically converged to sub-{\kcalmol} accuracy, which is a drastic improvement compared to wave function approaches where this type of convergence is reached with the augmented triple-$\zeta$ basis only.
In particular, we observe that SF-ADC(2)-s and SF-ADC(3), which respectively scale as $\order*{N^5}$ and $\order*{N^6}$ (where $N$ is the number of basis functions), under- and overestimate the automerization barrier, making SF-ADC(2.5) a good compromise with an error of only \SI{0.18}{\kcalmol} compared to the TBE/aug-cc-pVTZ basis reference value.
We note that SF-ADC(2)-x [which scales as $\order*{N^6}$] is probably not worth its extra cost [as compared to SF-ADC(2)-s] as it overestimates the energy barrier even more than SF-ADC(3).
\alert{We observe that SF-EOM-CCSD/aug-cc-pVTZ tends to underestimate by about \SI{1.5}{\kcalmol} the energy barrier compared to the TBE, an observation in agreement with previous results by Manohar and Krylov. \cite{Manohar_2008}
This can be alleviated by including the triples correction with SF-EOM-CCSD(fT) and SF-EOM-CCSD(dT) (see {\SupInf} where we have reported the data from Ref.~\onlinecite{Manohar_2008}).
We also note that the SF-EOM-CCSD values for the energy barrier are close to the ones obtained with the more expensive (standard) CC3 method, yet less accurate than values computed with the cheaper SF-ADC(2)-s formalism.
Note that, in contrast to a previous statement, \cite{Manohar_2008} the (fT) correction performs better than the (dT) correction for the energy barrier.
Concerning the multi-reference approaches with the minimal (4e,4o) active space, the TBEs are bracketed by the CASPT2 and NEVPT2 values that differ by approximately \SI{1.5}{\kcalmol} for all bases.
In this case, the NEVPT2 values are fairly accurate with differences below half a \si{\kcalmol} compared to the TBEs.
For the larger (12e,12o) active space, we see larger differences of the order of \SI{3}{\kcalmol} (through all the bases) between CASSCF and the second-order variants (CASPT2 and NEVPT2).
However, the deviations between CASPT2(12,12) and NEVPT2(12,12) are much smaller than with the minimal active space, with an energy difference of around \SIrange{0.1}{0.2}{\kcalmol} for all bases, CASPT2 being slightly more accurate than NEVPT2 in this case.
For each basis set, both CASPT2(12,12) and NEVPT2(12,12) are less than a \si{\kcalmol} away from the TBEs.
For the two active spaces that we have considered here, the PC- and SC-NEVPT2 schemes provide nearly identical barriers independently of the size of the one-electron basis.
Finally, for the CC family of methods, we observe the usual systematic improvement following the series CCSD $<$ CC3 $<$ CCSDT $<$ CC4 $<$ CCSDTQ, which parallels their increase in computational cost: $\order*{N^6}$, $\order*{N^7}$, $\order*{N^8}$, $\order*{N^9}$, and $\order*{N^{10}}$, respectively.
Note that the introduction of the triple excitations is clearly mandatory to have an accuracy beyond SF-TD-DFT, and we observe that CCSDT is definitely an improvement over its cheaper, approximated version, CC3.
Spin-flip TD-DFT and ADC vertical excitation energies (with respect to the singlet {\oneAg} ground state) of the {\tBoneg}, {\sBoneg}, and {\twoAg} states of CBD at the {\Dtwo} rectangular equilibrium geometry of the {\oneAg} ground state.}
Vertical excitation energies (with respect to the {\oneAg} ground state) of the {\tBoneg}, {\sBoneg}, and {\twoAg} states of CBD at the {\Dtwo} rectangular equilibrium geometry of the {\oneAg} ground state.
\caption{Vertical excitation energies of the {\tBoneg}, {\sBoneg}, and {\twoAg} states at the {\Dtwo} rectangular equilibrium geometry of the {\oneAg} ground state using the aug-cc-pVTZ basis.
Table \ref{tab:sf_D2h} reports, at the {\Dtwo} rectangular equilibrium geometry of the {\oneAg} ground state, the vertical transition energies associated with the {\tBoneg}, {\sBoneg}, and {\twoAg} states obtained using the spin-flip formalism, while Table \ref{tab:D2h} gathers the same quantities obtained with the multi-reference, CC, and CIPSI methods.
Considering the aug-cc-pVTZ basis, the evolution of the vertical excitation energies with respect to the level of theory is illustrated in Fig.~\ref{fig:D2h}.
At the CC3/aug-cc-pVTZ level, the percentage of single excitation involved in the {\tBoneg}, {\sBoneg}, and {\twoAg} are 99\%, 95\%, and 1\%, respectively.
As expected, these are found to be small and the results are basically converged to the complete basis set limit with the triple-$\zeta$ basis, which is definitely not the case for the wave function methods. \cite{Giner_2019}
Regarding now the accuracy of the vertical excitation energies, again, we see that, for {\tBoneg} and {\sBoneg}, the functionals with the largest amount of short-range exact exchange (\eg, BH\&HLYP, M06-2X, and M11) are the most accurate.
Functionals with a large share of exact exchange are known to perform best in the SF-TD-DFT framework as the Hartree-Fock exchange term is the only non-vanishing term in the spin-flip block. \cite{Shao_2003}
However, their overall accuracy remains average especially for the singlet states, {\sBoneg} and {\twoAg}, with error of the order of \SIrange{0.2}{0.5}{\eV} compared to the TBEs.
Surprisingly, for the doubly-excited state, {\twoAg}, the hybrid functionals with a low percentage of exact exchange (B3LYP and PBE0) are the best performers with absolute errors below \SI{0.05}{\eV}.
At the SF-ADC(2)-s level, going from the smallest 6-31+G(d) basis to the largest aug-cc-pVQZ basis induces a small decrease in vertical excitation energies of \SI{0.03}{\eV} (\SI{0.06}{\eV}) for the {\tBoneg} ({\twoAg}) state, while the transition energy of the {\sBoneg} state drops more significantly by about \SI{0.2}{\eV}.
Also, as reported previously, \cite{Loos_2020d} SF-ADC(2)-s and SF-ADC(3) have mirror error patterns making SF-ADC(2.5) particularly accurate except for the doubly-excited state {\twoAg} where the error with respect to the TBE (\SI{0.140}{\eV}) is larger than the SF-ADC(2)-s error (\SI{0.093}{\eV}).
\alert{Interestingly, we observe that the SF-EOM-CCSD excitation energies are systematically larger than the TBEs by approximately \SI{0.2}{\eV} with a nice consistency throughout the various (singly- and doubly-) excited states.
Moreover, SF-EOM-CCSD excitation energies are somehow closer to their SF-ADC(2)-s analogs (with an energy difference of about \SI{0.1}{\eV}) than the other schemes as already noticed by LeFrançois and co-workers. \cite{Lefrancois_2015}
We see that the SF-EOM-CCSD excitations energies for the triplet state are larger of about \SI{0.3}{\eV} compared to the CCSD ones, which was also pointed out in the study of Manohar and Krylov. \cite{Manohar_2008}
We can logically expect similar trend for SF-EOM-CCSD(fT) and SF-EOM-CCSD(dT) that lower the excitation energies and tend to be in better agreement with respect to the TBE (see {\SupInf}).
Note that the (dT) correction slightly outperforms the (fT) correction as previously observed \cite{Manohar_2008} and theoretically expected.}
Regarding the \alert{multi-reference} calculations, the most striking result is the poor description of the {\sBoneg} ionic state, especially with the (4e,4o) active space where CASSCF predicts this state higher in energy than the {\twoAg} state.
Of course, the PT2 correction is able to correct the state ordering problem but cannot provide quantitative excitation energies due to the poor zeroth-order treatment.
Another ripple effect of the unreliability of the reference wave function is the large difference between CASPT2 and NEVPT2 that differ by half an \si{\eV}.
Using a larger active space resolves most of these issues: CASSCF predicts the correct state ordering (though the ionic state is still badly described in term of energetics), CASPT2 and NEVPT2 excitation energies are much closer, and their accuracy is often improved (especially for the triplet and doubly-excited states) although it is difficult to reach chemical accuracy (\ie, an error below \SI{0.043}{\eV}) on a systematic basis.
Finally, for the CC models (Table \ref{tab:D2h}), the two states with a large $\%T_1$ value, {\tBoneg} and {\sBoneg}, are already extremely accurate at the CC3 level, and systematically improved by CCSDT and CC4.
This trend is in line with the observations made on the QUEST database. \cite{Veril_2021}
For the doubly-excited state, {\twoAg}, the convergence of the CC expansion is much slower but it is worth pointing out that the inclusion of approximate quadruples via CC4 is particularly effective, as observed in an earlier work. \cite{Loos_2021}
The CCSDTQ excitation energies (which are used to define the TBEs) are systematically within the error bar of the CIPSI extrapolations, which confirms the outstanding performance of CC methods that include quadruple excitations in the context of excited states.
Spin-flip TD-DFT and ADC vertical excitation energies (with respect to the singlet {\sBoneg} ground state) of the {\Atwog}, {\Aoneg}, and {\Btwog} states of CBD at the {\Dfour} square-planar equilibrium geometry of the {\Atwog} state.}
Vertical excitation energies (with respect to the {\sBoneg} ground state) of the {\Atwog}, {\Aoneg}, and {\Btwog} states of CBD at the {\Dfour} square-planar equilibrium geometry of the {\Atwog} state.
\caption{Vertical excitation energies (in \si{\eV}) of the {\Atwog}, {\Aoneg}, and {\Btwog} states at the {\Dfour} square-planar equilibrium geometry of the {\Atwog} state using the aug-cc-pVTZ basis.
In Table \ref{tab:sf_D4h}, we report, at the {\Dfour} square planar equilibrium geometry of the {\Atwog} state, the vertical transition energies associated with the {\Atwog}, {\Aoneg}, and {\Btwog} states obtained using the spin-flip formalism, while Table \ref{tab:D4h} gathers the same quantities obtained with the multi-reference, CC, and CIPSI methods.
The vertical excitation energies computed at various levels of theory are depicted in Fig.~\ref{fig:D4h} for the aug-cc-pVTZ basis.
Unfortunately, due to technical limitations, we could not compute $\%T_1$ values associated with the {\Atwog}, {\Aoneg}, and {\Btwog} excited states in the {\Dfour} symmetry.
However, it is clear from the inspection of the wave function that, with respect to the {\sBoneg} ground state, {\Atwog} and {\Btwog} are dominated by single excitations, while {\Aoneg} has a strong double excitation character.
As for the previous geometry we start by discussing the SF-TD-DFT results (Table \ref{tab:sf_D4h}), and in particular the singlet-triplet gap, \ie, the energy difference between {\sBoneg} and {\Atwog}.
For all functionals, this gap is small (basically below \SI{0.1}{\eV} while the TBE value is \SI{0.144}{\eV}) but it is worth mentioning that B3LYP and PBE0 incorrectly deliver a negative singlet-triplet gap (hence a triplet ground state at this geometry).
Increasing the fraction of exact exchange in hybrids or relying on RSHs (even with a small amount of short-range exact exchange) allows to recover a positive gap and a singlet ground state.
At the SF-TD-DFT level, the energy gap between the two singlet excited states, {\Aoneg} and {\Btwog}, is particularly small and grows moderately with the amount of exact exchange at short range.
The influence of the exact exchange on the singlet energies is quite significant with an energy difference of the order of \SI{1}{\eV} between the functional with the smallest amount of exact exchange (B3LYP) and the functional with the largest amount (M06-2X).
As for the excitation energies computed on the {\Dtwo} ground-state equilibrium structure and the automerization barrier, the functionals with a large fraction of short-range exact exchange yield more accurate results.
Yet, the transition energy to {\Btwog} is off by half an \si{\eV} compared to the TBE for BH\&HLYP and M11, while the doubly-excited state is much closer to the reference value (errors of \SI{-0.251}{} and \SI{-0.312}{\eV} for BH\&HLYP and M11, respectively).
With errors of \SI{-0.066}{}, \SI{-0.097}{}, and \SI{-0.247}{\eV} for {\Atwog}, {\Aoneg}, and {\Btwog}, M06-2X is the best performer here.
We emphasize that the $\expval*{S^2}$ values reported in {\SupInf} indicate again that there is no significant spin contamination in these excited states.
Although it provides a decent singlet-triplet gap value, SF-ADC(2)-x seems to particularly struggle with the singlet excited states ({\Aoneg} and {\Btwog}), especially for the doubly-excited state {\Aoneg} where it underestimates the vertical excitation energy by \SI{0.4}{\eV}.
Although the basis set effects are larger than at the SF-TD-DFT level, they remain quite moderate at the SF-ADC level, and this holds for wave function methods in general.
\alert{Concerning the SF-EOM-CCSD excitation energies at the {\Dfour} square planar equilibrium geometry, very similar conclusions to the ones provided in the previous section dealing with the excitation energies at the {\Dtwo} rectangular equilibrium geometry can be drawn: (i) SF-EOM-CCSD systematically and consistently overestimates the TBEs by approximately \SI{0.2}{\eV} and is less accurate than SF-ADC(2)-s, (ii) the non-iterative triples corrections tend to give a better agreement with respect to the TBE (see {\SupInf}), and (iii) the (dT) correction performs better than the (fT) one.}
Let us turn to the multi-reference results (Table \ref{tab:D4h}).
For both active spaces, expectedly, CASSCF does not provide a quantitive energetic description, although it is worth mentioning that the right state ordering is preserved.
This is, of course, magnified with the (4e,4o) active space for which the second-order perturbative treatment is unable to provide a satisfying description due to the limited active space.
In particular SC-NEVPT2(4,4)/aug-cc-pVTZ and PC-NEVPT2(4,4)/aug-cc-pVTZ underestimate the singlet-triplet gap by \SI{0.072}{} and \SI{0.097}{\eV} and, more importantly, flip the ordering of {\Aoneg} and {\Btwog}.
Although {\Aoneg} is not badly described, the excitation energy of the ionic state {\Btwog} is off by almost \SI{1}{\eV}.
Thanks to the IPEA shift in CASPT2(4,4), the singlet-triplet gap is accurate and the state ordering remains correct but the ionic state is still far from being well described.
The (12e,12o) active space significantly alleviates these effects, and, as usual now, the agreement between CASPT2 and NEVPT2 is very much improved for each state, though the accuracy of \alert{multi-reference} approaches remains questionable for the ionic state with, \emph{e.g.,} an error up to \SI{-0.093}{\eV} at the PC-NEVPT2(12,12)/aug-cc-pVTZ level.
As mentioned in Sec.~\ref{sec:CC}, we remind the reader that these calculations are performed by considering the {\Aoneg} state as reference, and that, therefore,
Consequently, with respect to {\Aoneg}, {\sBoneg} has a dominant double excitation character, while {\Btwog} have a dominant single excitation character.
This explains why one observes a slower convergence of the transition energies in the case of {\sBoneg} as shown in Fig.~\ref{fig:D4h}.
It is clear from the results of Table \ref{tab:D4h} that, if one wants to reach high accuracy with such a computational strategy, it is mandatory to include quadruple excitations.
Indeed, at the CCSDT/aug-cc-pVTZ level, the singlet-triplet gap is already very accurate (off by \SI{0.005}{\eV} only) while the excitation energies of the singlet states are still \SI{0.131}{} and \SI{0.688}{\eV} away from their respective TBE.
As a final comment, we can note that the CCSDTQ-based TBEs and the CIPSI results are consistent if one takes into account the extrapolation error (see Sec.~\ref{sec:SCI}).
In the present study, we have benchmarked a larger number of computational methods on the automerization barrier and the vertical excitation energies of cyclobutadiene in its square ({\Dfour}) and rectangular ({\Dtwo}) geometries, for which we have defined theoretical best estimates based on extrapolated CCSDTQ/aug-cc-pVTZ data.
\item Within the SF-TD-DFT framework, we advice to use exchange-correlation (hybrids or range-separated hybrids) with a large fraction of short-range exact exchange.
This has been shown to be clearly beneficial for the automerization barrier and the vertical excitation energies computed on both the {\Dtwo} and {\Dfour} equilibrium geometries.
\item At the SF-ADC level, we have found that, as expected, the extended scheme, SF-ADC(2)-x, systematically worsen the results compared to the cheaper standard version, SF-ADC(2)-s.
Moreover, as previously reported, SF-ADC(2)-s and SF-ADC(3) have opposite error patterns which means that SF-ADC(2.5) emerges as an excellent compromise.
As previously reported, the two variants including non-iterative triples corrections, SF-EOM-CCSD(dT) and SF-EOM-CCSD(fT), improve the results, the (dT) correction performing slightly better for the vertical excitation energies computed at the {\Dtwo} and {\Dfour} equilibrium geometries.}
\item For the {\Dfour} square planar structure, a faithful energetic description of the excited states is harder to reach at the SF-TD-DFT level because of the strong multi-configurational character.
In such scenario, the SF-TD-DFT excitation energies can exhibit errors of the order of \SI{1}{\eV} compared to the TBEs.
However, it was satisfying to see that the spin-flip version of ADC can lower these errors to \SIrange{0.1}{0.2}{\eV}.
\item Concerning the \alert{multi-reference} methods, we have found that while NEVPT2 and CASPT2 can provide different excitation energies for the small (4e,4o) active space, the results become highly similar when the larger (12e,12o) active space is considered.
From a more general perspective, a significant difference between NEVPT2 and CASPT2 is usually not a good omen and can be seen as a clear warning sign that the active space is too small or poorly chosen.
\item In the context of CC methods, although the inclusion of triple excitations (via CC3 or CCSDT) yields very satisfactory results in most cases, the inclusion of quadruples excitation (via CC4 or CCSDTQ) is mandatory to reach high accuracy (especially in the case of doubly-excited states).
Finally, we point out that, considering the error bar related to the CIPSI extrapolation procedure, CCSDTQ and CIPSI yield equivalent excitation energies, hence confirming the outstanding accuracy of CCSDTQ in the context of molecular excited states.
EM, AS, and PFL acknowledge funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (Grant agreement No.~863481).