betaFeedback

WorksPhysics and Astronomy

Beyond the Ground State: Assessing the Machine-Learned Skala Functional in ΔSCF Calculations of Molecular Excitation Energies

Abstract

We assess the transferability of the machine-learned Skala exchange-correlation (XC) functional beyond ground-state energetics using molecular vertical excitation energies and singlet-triplet gaps calculated with the ΔΔ-self-consistent-field (ΔΔSCF) approach. We compare Skala with PBE, r2^2SCAN, and PBE0 on subsets covering small-molecule excitations (QUEST1), inverted singlet-triplet gaps (ST-gap), and intramolecular charge-transfer excitations (QUEST6). Both spin-unrestricted Kohn-Sham (UKS) and restricted open-shell Kohn-Sham (ROKS) formalisms are considered. On QUEST1, Skala achieves the lowest mean absolute errors (MAEs) for singlet and triplet excitation energies with both formalisms, although PBE0 and r2^2SCAN provide more accurate singlet-triplet gaps through error cancellation. For ST-gap, Skala yields the lowest gap MAEs with both UKS and ROKS. Evaluating the mixed-spin and triplet energy components on the same orbitals optimized for the ROKS open-shell singlet yields negative splittings for seven of eight ST-gap molecules with Skala. Separate triplet optimization increases the gaps, but six remain negative. All three conventional functionals give positive common-orbital splittings and optimized gaps for all eight molecules. For QUEST6, treated with UKS only, Skala yields more accurate singlet excitation energies than PBE and r2^2SCAN but remains less accurate than PBE0. Across QUEST1 and ST-gap, Skala yields lower MAEs with UKS than ROKS. Overall, these results support Skala's transferability to molecular excited states while highlighting its dependence on the excitation class and open-shell treatment.

Introduction

Density-functional theory (DFT)[1, 2, 3], within the Kohn–Sham (KS)[2] or generalized KS (GKS)[4] framework, is widely used for electronic structure calculations in chemistry, physics, and materials science owing to its favorable balance between computational cost and accuracy. The accuracy of both KS and GKS methods, however, depends on the quality of the approximation for the exchange-correlation (XC) functional. The development of more accurate XC energy functionals has therefore been a central goal of DFT research. A major strategy toward this goal has been the systematic incorporation of increasingly sophisticated ingredients into XC approximations, as illustrated by Jacob’s ladder[5, 6]. The first rung corresponds to the local-density approximation (LDA), which depends only on the electron density n(r)n(\mathbf{r}). Generalized gradient approximations (GGAs) on the second rung additionally incorporate the density gradient ∇n(r)\nabla n(\mathbf{r}), while meta-GGAs on the third rung introduce further ingredients, such as the kinetic-energy density τ(r)\tau(\mathbf{r}), the density Laplacian ∇2n(r)\nabla^2 n(\mathbf{r}), or both[7]. The fourth rung incorporates exact exchange, an explicitly nonlocal functional of the occupied orbitals, which can be treated using either a nonlocal Fock-type exchange operator or a local multiplicative potential obtained through the optimized effective potential method[8]. The fifth rung additionally introduces dependence on unoccupied orbitals and their energies through the correlation energy[9, 10]. Moving up Jacob’s ladder generally increases computational costs, although higher-rung approximations do not necessarily provide uniformly improved accuracy across all systems and properties[11].

Conventional XC functionals have often been developed using physically motivated functional forms guided by exact constraints, as exemplified by PBE[12] and SCAN[13]. Machine learning (ML) offers a complementary strategy, employing highly flexible functional representations whose parameters are optimized using reference data[14, 15, 16, 17]. This flexibility opens up new possibilities for XC functional design, particularly in how established electronic-structure ingredients can be combined. Skala[18], a recently developed machine-learned XC functional, illustrates one such possibility. Unlike conventional approaches that introduce nonlocal XC dependence through explicit orbital expressions, such as exact exchange, Skala learns this dependence by combining semilocal meta-GGA ingredients evaluated at different spatial points. Trained primarily on extensive and diverse high-accuracy ground-state quantum-chemical data, Skala achieves accuracy competitive with hybrid functionals for main-group energetics while retaining the favorable computational scaling of semilocal DFT.

The transferability of machine-learned XC functionals beyond their original training domains requires careful evaluation, as illustrated by SCF convergence difficulties reported for DM21 in transition-metal systems[19, 20]. Although Skala was developed primarily for ground-state molecular energetics[18], recent applications have demonstrated its transferability to periodic solids, including molecular-crystal lattice energies and electronic band gaps, without retraining[21]. Beyond its application to periodic solids, state-specific SCF calculations of molecular excited states[22] offer a distinct test of Skala’s transferability. Since excited-state solutions were not explicitly targeted during training[18], the accuracy of excitation energies obtained from differences between ground- and excited-state total energies provides a quantitative assessment of Skala’s ability to describe electronically excited states in terms of their energies relative to the ground state.

To perform this assessment, we employ state-specific orbital-optimized DFT for excited states, with excitation energies evaluated using the Δ\Delta-self-consistent-field (Δ\DeltaSCF) approach[22, 23]. In this approach, excited states are targeted starting from non-Aufbau orbital occupations[24, 25], with the ground- and excited-state orbitals optimized in separate SCF calculations at a common nuclear geometry. For single-electron excitations from closed-shell systems, the resulting configurations contain two singly occupied orbitals that can couple to form singlet or triplet states. For open-shell singlets, a single-determinant description generally leads to spin-symmetry breaking and significant spin contamination, which can be addressed using spin purification or spin-adapted approaches[26, 27]. Unlike linear-response time-dependent density-functional theory (LR-TDDFT)[28, 29], which determines excitation energies from the response of a ground-state reference, the Δ\DeltaSCF approach allows state-specific orbital relaxation. Such relaxation can be particularly beneficial for excitations involving substantial redistribution of the electron density, including charge-transfer states[30].

To assess Skala’s performance across different excitation classes and in the prediction of singlet-triplet gaps, we consider three benchmark subsets. QUEST1[31] comprises singlet and triplet excitations in small molecules. The ST-gap subset[32] comprises heptazine, cyclazine, and related compounds exhibiting inverted singlet-triplet ordering, which standard adiabatic LR-TDDFT approximations generally fail to reproduce[33]. QUEST6[34] covers intramolecular charge-transfer excitations, which are challenging for LR-TDDFT with semilocal and conventional global-hybrid functionals, although range-separated hybrids can substantially improve their description.

We compare Skala with three conventional XC functionals representing successive rungs of Jacob’s ladder: the GGA PBE[12], the meta-GGA r2^{2}SCAN[35], and the hybrid PBE0[36, 37]. Open-shell excited states are treated using spin-unrestricted KS (UKS), with spin purification for open-shell singlets, and restricted open-shell KS (ROKS)[27, 38], allowing us to examine the dependence of excitation energies and singlet–triplet gaps on the open-shell treatment. This distinction is particularly relevant for inverted singlet–triplet gaps. Valverde et al.[39] attributed inverted singlet–triplet gaps obtained within UKS to differences in orbital relaxation and spin polarization between singlet and triplet states. In contrast, their ROKS calculations yielded positive gaps with the tested conventional hybrid functionals, whereas double hybrids, which include perturbative correlation, recovered inverted ordering for some systems. Skala’s learned nonlocal XC dependence may alter the relative energies of mixed-spin and high-spin configurations. We therefore investigate whether Skala can reproduce inverted singlet–triplet ordering within ROKS.

Theoretical background

In this work, we consider single-electron excitations from closed-shell ground states. Within the Δ\DeltaSCF framework, vertical excitation energies are obtained from differences between ground- and excited-state total energies evaluated at a common nuclear geometry,

ΔEI=EI−E0,(1)\Delta E_I = E_I - E_0, \tag*{(1)}

where E0E_0 and EIE_I denote the ground- and excited-state total energies, respectively. The ground- and excited-state orbitals are optimized separately, with spin configurations and orbital occupations selected to target the desired electronic states. Depending on the targeted state, excited-state orbital optimization may involve saddle points rather than minima of the total energy. Consequently, appropriate state-targeting procedures are often required to avoid variational collapse to lower-energy solutions[22, 23, 24, 25, 40].

A common approach to state-specific excited-state calculations employs the spin-unrestricted Kohn-Sham (UKS) formalism. In this formalism, the auxiliary KS wavefunction is represented by an unrestricted Slater determinant, constructed from two separate sets of spatial orbitals for α\alpha- and β\beta-spin electrons. Although this determinant has a well-defined spin projection, MS=(Nα−Nβ)/2M_S = (N_\alpha- N_\beta)/2, it is generally not an eigenfunction of the squared total spin operator S^2\hat{S}^{2}. Consequently, the determinant contains contributions from states with different total spin quantum numbers SS, giving rise to spin contamination[41, 42]. Strong spin contamination is often associated with reduced accuracy of calculated energies. Moreover, the absence of well-defined total spin complicates the assignment and physical interpretation of electronic states, particularly in systems with several nearly degenerate spin states.

The description of open-shell singlet excited states requires particular care. A single-electron promotion from a closed-shell configuration produces two singly occupied spatial orbitals. In the corresponding MS=0M_S = 0 configuration, these orbitals are occupied by electrons with opposite spins. The resulting single-determinant wavefunction approximates an equal mixture of a singlet and a triplet state. Such a mixed-spin determinant exhibits substantial spin contamination, with ⟨S^2⟩≈1\langle\hat{S}^{2} \rangle\approx1 rather than the singlet value of zero. The corresponding UKS total energy can be used directly as an approximation to the open-shell singlet excited-state energy. However, an a posteriori spin-purification procedure is commonly employed to improve the accuracy of the singlet-energy estimate by combining the mixed-spin energy with the energy of the corresponding triplet configuration[26] as

ESUKS=2EMUKS−ETUKS.(2)E_{\mathrm{S}}^{\mathrm{UKS}} = 2E_{\mathrm{M}}^{\mathrm{UKS}} - E_{\mathrm{T}}^{\mathrm{UKS}} . \tag*{(2)}

Here, ESUKSE_{\mathrm{S}}^{\mathrm{UKS}} denotes the spin-purified estimate of the open-shell singlet energy, while EMUKSE_{\mathrm{M}}^{\mathrm{UKS}} and ETUKSE_{\mathrm{T}}^{\mathrm{UKS}} are the energies of the separately optimized mixed-spin (MS=0M_{\mathrm{S}} = 0) and triplet (MS=1M_{\mathrm{S}} = 1) determinants, respectively. The singlet excitation energy is then obtained by inserting ESUKSE_{\mathrm{S}}^{\mathrm{UKS}} into Eq. (1).

An alternative treatment is provided by the restricted open-shell Kohn-Sham (ROKS) formalism[27, 43]. For open-shell singlet excited states, ROKS directly optimizes a singlet-energy expression analogous to Eq. (2)[38, 44],

ESROKS[{ϕp}]=2EM[{ϕp}]−ET[{ϕp}],(3)E_{\mathrm{S}}^{\mathrm{ROKS}}[\{\phi_p\}] = 2E_{\mathrm{M}}[\{\phi_p\}] - E_{\mathrm{T}}[\{\phi_p\}], \tag*{(3)}

where the mixed-spin and triplet determinants are constructed from a common set of orthonormal spatial orbitals {ϕp}\{\phi_p\} but differ in their occupation patterns in the α\alpha- and β\beta-spin channels. Unlike in the a posteriori UKS procedure, these orbitals are optimized for the combined singlet energy rather than for the two determinant energies separately[40]. The triplet contribution is therefore evaluated with singlet-optimized orbitals, whereas the triplet excitation energies and singlet–triplet gaps reported here, unless stated otherwise, are obtained from separately optimized restricted open-shell triplet states.

The ROKS orbital equations involve occupation-dependent effective operators, making orbital optimization more involved than in conventional UKS calculations[38]. These equations can be solved, for instance, using a generalized effective Fock matrix or through direct orbital optimization. Moreover, multiple solutions and artificial mixing of the open-shell orbitals can complicate convergence to the intended excited state[38]. Appropriate initial orbitals and state-selection procedures are therefore important, together with checks of the converged state character and orbital stationarity. Alternatively, the singlet-energy expression in Eq. (3) can be optimized with respect to a common local multiplicative potential using the optimized effective potential (OEP) method[45]. This approach yields canonical KS orbital equations but is not employed in the present work.

The discussion above is limited to single-electron excitations from a spatially nondegenerate occupied orbital to a spatially nondegenerate unoccupied orbital. When either orbital belongs to a degenerate manifold, the description of the targeted electronic state may require symmetry-adapted combinations of orbitals or determinants. Such cases are not considered in the present work.

Finally, an important distinction relevant to the interpretation of our results concerns the lowest triplet and open-shell singlet excited states. For molecules with closed-shell singlet ground states, the lowest triplet can generally be obtained by minimizing the energy at a fixed spin projection MS=1M_{\mathrm{S}} = 1, provided that no higher-spin state has a lower energy[46]. The corresponding excitation energy is therefore a difference between two lowest-energy solutions obtained at different fixed spin projections, without requiring explicit targeting of a non-Aufbau excited state. In contrast, open-shell singlet excited states have MS=0M_{\mathrm{S}} = 0, like the ground state, and require state-specific orbital occupations together with an appropriate treatment of spin coupling. Consequently, both open-shell singlet excitation energies and the corresponding singlet-triplet gaps depend on non-Aufbau excited-state solutions.

Computational details

The calculations reported in the main text were performed with CP2K[47, 48], using the all-electron Gaussian and augmented plane-wave (GAPW) method[49, 50] and the aug-cc-pVTZ orbital basis[51, 52, 53]. Molecules were treated with nonperiodic boundary conditions and the Martyna-Tuckerman Poisson solver in cubic cells of side length 15 Å, with larger cells used for selected QUEST6 systems. The plane-wave cutoff and relative cutoff were 400 and 50 Ry, respectively, and the standard SCF convergence threshold was EPSSCF=10−5\mathrm{EPS}_{\mathrm{SCF}} = 10^{-5}. PBE0 employed the CP2K resolution-of-the-identity Hartree–Fock exchange implementation[54], using an automatically generated auxiliary basis set with the MEDIUM option. Skala 1.1 was evaluated through the molecular CP2K-GauxC interface[55], using the skala-1.1-rev1 checkpoint. The atom-centered quadrature employed the GauxC FINE grid with ROBUST pruning and Mura-Knowles radial quadrature. PBE and PBE0 used native CP2K GAPW XC integration, while r2^{2}SCAN employed the same framework with LibXC routines. No empirical dispersion correction was applied. The D3(BJ) correction associated with Skala[18] depends only on the nuclear geometry and therefore contributes equally to all electronic states at a fixed geometry, canceling from the calculated vertical excitation energies and singlet-triplet gaps.

The benchmark subsets comprise 12 molecules from QUEST1[31], 8 molecules from ST-gap[32], and 11 systems from QUEST6[34]. The subsets were selected to focus on single-electron excitations between nondegenerate spatial orbitals, avoiding complications associated with spatial symmetry breaking. Most of the targeted excitations were accessible through HOMO-LUMO promotions, facilitating consistent state initialization across XC functionals. The reference geometries and theoretical best estimates (TBEs) were used without further modification. tion.

Ground-state orbitals were optimized within the restricted KS formalism. For QUEST1 and ST-gap, all targeted excitations involved highest occupied molecular orbital (HOMO) to lowest unoccupied molecular orbital (LUMO) promotions. In UKS, mixed-spin states were initialized by promoting a β\beta-spin electron from the HOMO to the LUMO of the corresponding ground-state calculation. The orbitals were optimized using diagonalization with SCF mixing and DIIS, while the initial maximum overlap method (IMOM)[24, 25] was employed to maintain the targeted orbital occupations relative to a fixed initial reference. In ROKS, singlet energies were obtained by directly optimizing Eq. (3) using CP2K’s low-spin ROKS implementation, employing orbital transformation (OT) with the DIIS minimizer. Unlike the diagonalization-based UKS calculations, ROKS singlet optimization employs only the explicitly represented occupied orbitals and does not use MOM-based occupation tracking. UKS triplet states were optimized separately by diagonalization with IMOM tracking from the first SCF iteration for all three datasets. The high-spin restricted open-shell triplets used in the QUEST1 and ST-gap ROKS calculations were optimized separately by diagonalization without MOM-based occupation tracking. Open-shell singlet energies within UKS were calculated using the spin-purification expression in Eq. (2).

For QUEST6, only UKS results are reported because ROKS calculations encountered multiple solutions and mixing of open-shell orbitals. Some QUEST6 excitations required alternative orbital promotions or initial guesses from converged excited-state solutions.

To assess basis-set dependence, additional aug-cc-pVQZ calculations were performed. Independent calculations using a PySCF-based implementation[56] were also carried out to cross-check the CP2K results. The Supplementary Material (SM) presents these comparisons and provides benchmark reference data and details of excited-state optimization procedures.

Results

We first examine the selected singlet and triplet excitation energies and the corresponding singlet-triplet gaps for the 12-molecule QUEST1 subset. For ethylene and cyclopropene, the selected singlets lie above S1, so the reported gaps refer to the targeted π→π∗\pi\to\pi^* singlet and triplet states. Table I summarizes the mean absolute errors (MAEs) relative to the theoretical best estimates for PBE, r2r^2SCAN, PBE0, and Skala, using Δ\DeltaSCF-UKS and Δ\DeltaSCF-ROKS calculations.

Skala yields the lowest MAEs for both singlet and triplet excitation energies with either treatment. For Δ\DeltaSCF-UKS, its singlet MAE is 0.170 eV, compared with 0.411–0.507 eV for the conventional functionals. The improvement is particularly pronounced for triplet excitations, for which Skala achieves an MAE of 0.060 eV, compared with 0.255–0.435 eV for the other functionals. Skala also retains the lowest excitation-energy errors with ROKS, with singlet and triplet MAEs of 0.275 and 0.128 eV, respectively. However, both errors increase relative to the Δ\DeltaSCF-UKS results, whereas the conventional functionals generally exhibit lower excitation-energy MAEs with ROKS. The particularly small triplet errors may partly reflect the fact that lowest-triplet excitation energies involve differences between lowest-energy solutions at different spin projections, making them closer in character to the ground-state energetics that dominate Skala’s training data. In contrast, open-shell singlet excitation energies and the corresponding singlet-triplet gaps additionally probe non-Aufbau excited-state solutions that were not explicitly targeted during training.

The signed-error distributions for QUEST1 in Figure 1 further illustrate the differences in accuracy between singlet and triplet excitation energies. With Δ\DeltaSCF-UKS, the conventional functionals systematically underestimate both singlet and triplet excitation energies. Skala substantially reduces this negative bias, particularly for triplet excitations, whose errors are concentrated near zero. Its largest singlet underestimations occur for ethylene (-0.715 eV), cyclopropene (-0.316 eV), and the streptocyanine-C1 cation (-0.316 eV). These deviations become more pronounced with ROKS, reaching -1.046, -0.645, and -0.498 eV, respectively. The remaining ROKS singlet errors are predominantly positive, resulting in a relatively small mean signed error despite the substantial deviations for these three molecules. In contrast, Skala’s ROKS triplet errors are positive throughout the subset.

Figure 1. Signed errors relative to theoretical best estimates for singlet excitation energies (a,d), triplet excitation energies (b,e), and singlet-triplet gaps, ES−ETE_{\mathrm{S}}-E_{\mathrm{T}} (c,f), for the 12-molecule QUEST1 subset. The upper and lower rows show Δ\DeltaSCF-UKS and Δ\DeltaSCF-ROKS results, respectively, for PBE, r2^2SCAN, PBE0, and Skala. Each circle represents one molecule; colored horizontal bars indicate mean signed errors. Errors are defined as calculated values minus reference values, so positive values indicate overestimation.

The ranking changes when considering singlet-triplet gaps. PBE0 gives the lowest gap MAEs with both Δ\DeltaSCF-UKS and Δ\DeltaSCF-ROKS, at 0.085 and 0.147 eV, respectively, followed by r2r^2SCAN at 0.103 and 0.166 eV. The corresponding Skala errors are 0.183 and 0.272 eV. This behavior illustrates the importance of error cancellation: the gap error is the difference between the singlet and triplet excitation-energy errors. The systematic underestimation of both excitation energies by PBE0 and r2r^2SCAN permits favorable error cancellation, whereas for Skala with ROKS, the negative singlet errors of the three molecules identified above combine with positive triplet errors, amplifying the gap underestimation. These three cases account for approximately 80% of the total absolute ROKS gap error.

To assess the sensitivity of the results to these three outliers, we recomputed the MAEs after excluding them from all functional and method comparisons, leaving a common nine-molecule subset. Skala retains the lowest MAEs for singlet and triplet excitation energies, reaching 0.078 and 0.071 eV with Δ\DeltaSCF-UKS and 0.123 and 0.122 eV with Δ\DeltaSCF-ROKS, respectively. Its gap MAEs decrease from 0.183 to 0.102 eV with UKS and from 0.272 to 0.071 eV with ROKS. Thus, excluding these three molecules reverses the relative accuracy of UKS and ROKS for Skala’s singlet-triplet gaps, with ROKS now yielding the smaller MAE. Nevertheless, all three conventional functionals retain lower gap MAEs than Skala on the reduced subset.

We next consider the eight-molecule ST-gap subset comprising heptazine, cyclazine, and related compounds. All reference singlet-triplet gaps in this subset are negative, providing a targeted test of the ability of the functionals to reproduce inverted excited-state ordering. Table 1 summarizes the mean absolute errors (MAEs) of the

DatasetXC functionalΔ\DeltaSCF-UKSΔ\DeltaSCF-ROKS
SSTTΔEST\Delta E_{\mathrm{ST}}SSTTΔEST\Delta E_{\mathrm{ST}}
QUEST1PBE0.5070.2550.2520.4850.1980.307
r2^2SCAN0.4820.4350.1030.4380.2980.166
PBE00.4110.3580.0850.3890.2580.147
Skala0.1700.0600.1830.2750.1280.272
ST-gapPBE0.1300.1530.1130.1580.1490.232
r2^2SCAN0.2750.1350.1400.1820.0850.241
PBE00.2560.0780.1780.2670.0310.278
Skala0.1250.1100.0500.2570.1700.087
QUEST6PBE0.775-----
r2^2SCAN0.599-----
PBE00.335-----
Skala0.422-----

Table 1. Mean absolute errors (MAEs, in eV) of singlet (SS) and triplet (TT) excitation energies and singlet-triplet gaps (ΔEST\Delta E_{\mathrm{ST}}) obtained with Δ\DeltaSCF-UKS and Δ\DeltaSCF-ROKS for the QUEST1, ST-gap, and QUEST6 subsets. Open-shell singlet energies within UKS are obtained using spin purification. The lowest MAE for each subset, property, and treatment is highlighted in bold. For QUEST6, only UKS singlet excitation-energy MAEs are reported.

singlet and triplet excitation energies and singlet-triplet gaps, while Figure 2 presents the corresponding signed errors. Figure 3 compares the calculated singlet-triplet gaps with the theoretical best estimates.

Figure 2. Signed errors relative to theoretical best estimates for singlet excitation energies (a,d), triplet excitation energies (b,e), and singlet-triplet gaps, ΔEST=ES−ET\Delta E_{\mathrm{ST}} = E_{\mathrm{S}} - E_{\mathrm{T}} (c,f), for the eight-molecule ST-gap subset. The upper and lower rows show Δ\DeltaSCF-UKS and Δ\DeltaSCF-ROKS results, respectively, for PBE, r2^{2}SCAN, PBE0, and Skala. Each circle represents one molecule; colored horizontal bars indicate mean signed errors. Errors are defined as calculated values minus reference values, so positive values indicate overestimation.

Figure 3. Singlet-triplet energy gaps, ΔEST=ES−ET\Delta E_{\mathrm{ST}} = E_{\mathrm{S}} - E_{\mathrm{T}}, for the eight-molecule ST-gap subset, calculated using (a) Δ\DeltaSCF-UKS and (b) Δ\DeltaSCF-ROKS. Circles represent individual molecules, and short horizontal bars indicate mean gaps. TBEs are shown in gray as the rightmost group in each panel. The dashed line marks zero gap; the shaded region indicates inverted ordering, with the singlet below the triplet.

Skala yields the lowest singlet-triplet gap MAE with both computational treatments. For Δ\DeltaSCF-UKS, its MAE is 0.050 eV, compared with 0.113, 0.140, and 0.178 eV for PBE, r2^2SCAN, and PBE0, respectively. With the ROKS-based treatment, the Skala gap MAE increases to 0.087 eV but remains substantially below those of the conventional functionals, which range from 0.232 to 0.278 eV. This ranking differs from that obtained for QUEST1, where PBE0 and r2^{2}SCAN provide more accurate singlet-triplet gaps than Skala. The advantage of Skala for the gaps is not accompanied by uniformly smaller errors in the individual excitation energies. For Δ\DeltaSCF-UKS, its singlet MAE of 0.125 eV is comparable to the PBE value of 0.130 eV, while its triplet MAE of 0.110 eV exceeds the PBE0 value of 0.078 eV. With the ROKS-based treatment, Skala gives singlet and triplet MAEs of 0.257 and 0.170 eV, respectively. The former exceeds the corresponding PBE and r2^{2}SCAN errors, while the latter is the largest among the four functionals. As shown in Figure 2, Skala exhibits predominantly positive excitation-energy errors, with systematic overestimation of both singlet and triplet energies in the ROKS-based calculations. Partial cancellation of these errors leads to the smaller error in their difference. The accuracy of the gaps must therefore be distinguished from the accuracy of the individual excitation energies.

Figure 3 distinguishes the accuracy of the gap magnitudes from the prediction of their signs. With spin-purified Δ\DeltaSCF-UKS, r2^{2}SCAN and PBE0 predict inverted ordering for all eight molecules but systematically overestimate the magnitude of the inversion. Skala reproduces the inverted ordering for seven of eight molecules, with gap values generally closer to the reference estimates, whereas PBE produces gaps clustered around zero. The ROKS-based calculations show a different pattern: PBE, r2^{2}SCAN, and PBE0 predict positive gaps for all eight molecules, while Skala predicts negative gaps for compounds 1–6 and positive gaps for compounds 7 and 8. Notably, although the reference gaps for compounds 7 and 8 are negative (−0.042-0.042 and −0.029-0.029 eV, respectively), their magnitudes were considered too small to establish the inverted ordering definitively in the original benchmark³² Thus, Skala reproduces the inverted ordering for all six molecules in the selected subset whose negative reference gaps were considered definitive. However, the predicted gap magnitudes are not necessarily accurate, as illustrated by heptazine, for which Skala/ROKS yields −0.025-0.025 eV compared with the reference value of −0.219-0.219 eV.

To examine Skala’s distinctive behavior within ROKS, we investigated the dependence of the singlet-triplet gaps on the XC functional and the state-specific orbital sets. Specifically, we evaluated the ROKS singlet and triplet energies with Skala using their respective PBE-optimized orbital sets, without further optimization. As shown in Figure 4, replacing PBE with Skala at fixed PBE-optimized orbitals reduces the mean gap by 0.1140.114 eV and yields negative gaps for three molecules. Reoptimizing both the singlet and triplet orbital sets with Skala produces a further net reduction of 0.0300.030 eV, increasing the number of negative gaps to six. These changes describe the chosen comparison path and do not constitute a unique decomposition of functional and orbital effects. The molecular results and an alternative comparison path are provided in the SM.

Figure 4. Singlet-triplet gaps for the eight molecules of the ST-gap subset calculated using ROKS. Results are shown for PBE with optimized PBE orbitals (PBE@PBE), Skala evaluated on fixed PBE-optimized orbitals (Skala@PBE), and Skala with fully optimized orbitals (Skala@Skala). Each gap combines the ROKS singlet energy on donor singlet orbitals with the triplet energy on separately optimized donor triplet orbitals. Negative gaps indicate inverted singlet-triplet ordering, which is obtained for zero, three, and six molecules, respectively. The molecular labels follow the nomenclature of the original ST-gap benchmark dataset.

position of functional and orbital effects. The molecular results and an alternative comparison path are provided in the SM.

We next compare singlet-triplet splittings evaluated on the same set of ROKS singlet-optimized orbitals with gaps obtained after separate triplet optimization. In (3), the mixed-spin and triplet energy components are evaluated using the same spatial orbitals optimized for the ROKS open-shell singlet. The two configurations occupy the same spatial orbitals and therefore have identical total electron densities and noninteracting kinetic energies, but different spin densities. Consequently, their non-XC energy contributions cancel, leaving the common-orbital splitting determined entirely by the difference between their XC energies. Using the triplet component instead of the separately optimized triplet energy yields negative common-orbital splittings for seven of eight ST-gap molecules with Skala, with a mean of −0.066-0.066 eV. In contrast, PBE, r2r^{2}SCAN, and PBE0 yield positive common-orbital splittings for all eight molecules. Separate optimization of the triplet orbitals lowers the triplet energies and increases the Skala gaps by 0.0520.052 eV on average, leaving six negative gaps with a mean of −0.014-0.014 eV. Thus, Skala yields negative singlet-triplet splittings before separate triplet optimization, which opposes rather than induces the inverted ordering. Together, these comparisons indicate that Skala’s distinctive ROKS behavior is associated with its treatment of spin-dependent XC energetics rather than separate triplet relaxation. The molecular results for all four functionals and the definitions of both gap evaluations are provided in the SM.

The comparison between the UKS and ROKS treatments reveals a systematic sensitivity of the predicted singlet-triplet gaps to the open-shell treatment. For all four functionals, ROKS yields larger gap MAEs than spin-purified Δ\DeltaSCF-UKS. Skala retains the lowest gap MAEs among the tested functionals under both treatments, while the differences in the MAEs for individual singlet and triplet excitation energies further highlight the importance of the chosen open-shell treatment.

Finally, we consider singlet intramolecular charge-transfer (CT) excitations in the 11-system QUEST6 subset. Such excitations are known to be challenging for LR-TDDFT with semilocal and conventional global-hybrid XC functionals³⁰,³⁴. Although orbital-optimized Δ\DeltaSCF allows state-specific orbital relaxation, previous benchmarks have also found larger CT excitation-energy errors than for local valence and Rydberg excitations when using semilocal functionals⁴⁵. As summarized in Table 1, PBE0 yields the lowest MAE of 0.3350.335 eV for spin-purified Δ\DeltaSCF-UKS excitation energies, followed by Skala at 0.4220.422 eV, r2^{2}SCAN at 0.5990.599 eV, and PBE at 0.7750.775 eV. The scatter plot in Figure 5 shows that Skala has smaller absolute errors than PBE0 for three of the eleven excitations (phthalazine, twisted DMABN, and twisted PP), whereas PBE0 is more accurate for the other eight. PBE0 underestimates all eleven reference excitation enenergies, while Skala underestimates ten of them. The QUEST6 singlet MAEs are generally larger than those obtained with UKS for QUEST1 and ST-gap, consistent with the known challenges of describing CT excitations. Thus, although Skala outperforms PBE and r2^2SCAN for QUEST6, PBE0 remains more accurate on average, highlighting the dependence of Skala’s relative performance on the excitation class and electronic property considered.

Figure 5. Spin-purified Δ\DeltaSCF-UKS singlet excitation energies calculated with PBE, r2^2SCAN, PBE0, and Skala for the 11-system QUEST6 subset, plotted against theoretical best estimates (TBEs). The dashed line indicates perfect agreement, and the legend reports the mean absolute errors (MAEs) in eV.

Conclusions

We have assessed the performance of the machine-learned Skala XC functional for molecular vertical excitation energies and singlet-triplet gaps within the orbital-optimized Δ\DeltaSCF framework. We compared Skala with PBE, r2^2SCAN, and PBE0 using selected systems from the QUEST1, ST-gap, and QUEST6 datasets. Calculations were performed using UKS, including spin purification for open-shell singlets, and ROKS, with the latter applied only to QUEST1 and ST-gap.

For QUEST1, Skala yields the lowest mean absolute errors for singlet and triplet excitation energies with both UKS and ROKS, reaching MAEs of 0.170 and 0.060 eV, respectively, with UKS. However, PBE0 and r2^2SCAN provide more accurate singlet-triplet gaps due to more favorable error cancellation, highlighting the distinction between the accuracy of individual excitation energies and that of their differences. For ST-gap, Skala instead achieves the lowest gap MAEs of 0.050 and 0.087 eV with UKS and ROKS, respectively. Notably, within ROKS, Skala predicts inverted ordering for all six molecules in the selected subset whose negative reference gaps were considered definitive[32], whereas all three conventional functionals yield positive gaps throughout the subset.

The ROKS analysis provides further insight into the origin of these inverted gaps. Evaluating the mixed-spin and triplet energy components on the same orbitals optimized for the ROKS open-shell singlet yields negative splittings for seven of eight molecules with Skala, whereas all three conventional functionals yield positive splittings on their respective singlet-optimized orbital sets. Since the non-XC contributions cancel on the common orbital set, these splittings are determined entirely by differences in the XC energies of the mixed-spin and high-spin configurations. Separate optimization of the triplet increases the Skala gaps by 0.052 eV on average, but six negative gaps remain. Thus, the inverted ordering is associated with Skala’s distinct treatment of spin-dependent XC energetics and persists despite the opposing effect of separate triplet relaxation.

For QUEST6, where only UKS calculations were considered, Skala yields a singlet excitation-energy MAE of 0.422 eV, outperforming PBE and r2^2SCAN but remaining less accurate than PBE0 (0.335 eV). Across QUEST1 and ST-gap, Skala generally achieves lower MAEs with UKS than with ROKS, highlighting the importance of the open-shell treatment. The particularly accurate lowest-triplet excitation energies obtained with Skala for QUEST1 may partly reflect their similarity to the ground-state energetics represented in its training data, whereas open-shell singlet excitations and the corresponding gaps provide a more direct test of transferability to non-Aufbau electronic states. Overall, these results provide evidence of Skala’s transferability beyond ground-state energetics to molecular excited states without excited-state-specific retraining.

Supplementary Material

The Supplementary Material (SM) provides details on the selection of systems and electronic states, basis-set dependence, comparisons with a PySCF-based implementation, and ROKS analyses of functional substitution, state-specific orbital reoptimization, and separate triplet optimization for the ST-gap subset.

Acknowledgments

Part of the research was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), project number 417590517/CRC 1415.

Author declarations

Conflict of Interest

The authors have no conflicts to disclose.

Data Availability

The data supporting this study are archived on Zenodo[57], including CP2K calculation inputs and outputs, molecular geometries, calculated excitation energies and singlet–triplet gaps, reference values, and analysis scripts for reproducing the manuscript tables and figures. Results from the PySCF-based calculations are provided as CSV files; the original PySCF inputs, outputs, and custom implementation are not included. The analysis scripts are also available on GitHub[58].

Supplementary Material for: Beyond the Ground State: Assessing the Machine-Learned Skala Functional in Δ\DeltaSCF Calculations of Molecular Excitation Energies

Egor Trushin; Thomas D. Kühne

The Supplementary Material provides details on the selection of systems and electronic states, numerical comparisons using a larger orbital basis and a PySCF-based implementation, and ROKS analyses of functional substitution, state-specific orbital reoptimization, and separate triplet optimization for the ST-gap subset. The computational methods and numerical settings are described in the main text. CP2K calculation inputs and outputs, molecular geometries, state-resolved energy tables, PySCF-based numerical results and calculation details, and analysis scripts are available in the data repository archived on Zenodo[57]. The scripts for reproducing the manuscript tables and figures are also available on GitHub[58]. The PySCF-based comparisons can be reproduced from the provided CSV files; the original PySCF inputs and outputs and the custom implementation are not included.

Selection of systems and excitations

The study uses 12 molecules from QUEST1[31], 8 molecules from the ST-gap benchmark[32], and 11 systems from QUEST6[34]. The subsets were selected to focus on single-electron excitations between nondegenerate spatial orbitals, avoiding complications associated with spatial symmetry breaking and simplifying the identification of targeted electronic states. Preference was also given to excitations accessible through HOMO–LUMO promotions to facilitate consistent state initialization across XC functionals. Compounds 9 and 10 of the ST-gap benchmark were excluded because targeting their excitations required HOMO→\toLUMO+1 promotions for some functionals. QUEST1 and ST-gap were evaluated with UKS and ROKS, whereas QUEST6 was evaluated with UKS only.

Tables S1–S3 identify the selected reference states and theoretical best estimates (TBEs) used in the error analysis. Molecular geometries were taken from the corresponding reference datasets. Symmetry labels follow the reference publications, while ST-gap systems retain the original compound numbering. For QUEST1, all 12 selected triplets correspond to the lowest triplet excited states (T1T_1), whereas the selected singlets correspond to the lowest singlet excited states (S1S_1) for ten molecules. The exceptions are ethylene and cyclopropene, where the targeted π→π∗\pi\to\pi^* singlet states lie above lower-energy π→3s\pi\to3s and σ→π∗\sigma\to\pi^* singlet states, respectively. Consequently, the reported singlet–triplet gaps for these two molecules refer to the selected π→π∗\pi\to\pi^* singlet and triplet states rather than the S1S_1–T1T_1 energy differences. For QUEST6, the SnS_n labels indicate the reference LR-CCSD/cc-pVTZ ordering, which need not be preserved by other methods. These labels identify the benchmark targets and are distinct from the orbital indices used to initialize the calculations.

HOMO–LUMO promotions were used for the selected QUEST1 and ST-gap systems. In QUEST6, twisted PP required a HOMO→\toLUMO+1 promotion with PBE, r2^2SCAN, and Skala. The PBE0 mixed-spin calculations for dimethylaniline, twisted DMABN, and twisted PP were instead initialized from the corresponding converged PBE mixed-spin determinants. Only singlet excitation energies were included in the QUEST6 benchmark statistics. The corresponding high-spin triplet states were optimized separately for the UKS spin-purification correction but were not independently benchmarked, as QUEST6 does not provide reference triplet excitation energies.

The converged excited-state solutions were examined using orbital-based diagnostics to assess retention of the targeted electronic configurations and identify possible convergence to unintended states. For UKS, these checks included orbital correspondence with the initial excitation, spin contamination, and consistency between the mixed-spin and separately optimized triplet states. For ROKS, the occupied and active orbital spaces were analyzed, together with their correspondence to the intended singlet configuration and separately optimized triplet state. Orbital character and spatial symmetry were additionally examined in selected cases, particularly when alternative initial excitations were required. These checks were used to assess the converged electronic configurations rather than relying solely on numerical convergence or agreement with reference excitation energies.

As an additional consistency check, we compared our PBE excitation energies with previously published orbital-optimized DFT results. For seven QUEST1 molecules, the singlet and triplet excitation energies agree closely with those reported by Ivanov et al.[59], with mean and maximum absolute differences of approximately 0.015 and 0.025 eV, respectively. For all 11 QUEST6 systems, comparison with the results of Selenius et al.[30] yields corresponding differences of approximately 0.017 and 0.058 eV. This agreement provides further support for the consistency of the targeted electronic states across different implementations and orbital-optimization procedures.

Table S1. Selected QUEST1 targets and corrected TBEs (eV) from Table 6 of Ref. 31. Character refers to the singlet; V and R denote valence and Rydberg excitations.

SystemSingletTripletSinglet characterΔESTBE\Delta E_{\mathrm{S}}^{\mathrm{TBE}}ΔETTBE\Delta E_{\mathrm{T}}^{\mathrm{TBE}}
Acetaldehyde1A′′{}^{1}A^{\prime\prime}3A′′{}^{3}A^{\prime\prime}V; n→π∗n \to\pi^{*}4.313.98
Ammonia1A2{}^{1}A_{2}3A2{}^{3}A_{2}R; n→3sn \to3s6.666.37
Cyclopropene1B2{}^{1}B_{2}3B2{}^{3}B_{2}V; π→π∗\pi\to\pi^{*}6.784.38
Diazomethane1A2{}^{1}A_{2}3A2{}^{3}A_{2}V; π→π∗\pi\to\pi^{*}3.132.80
Ethylene1B1u{}^{1}B_{1u}3B1u{}^{3}B_{1u}V; π→π∗\pi\to\pi^{*}7.924.54
Formaldehyde1A2{}^{1}A_{2}3A2{}^{3}A_{2}V; n→π∗n \to\pi^{*}3.973.58
Ketene1A2{}^{1}A_{2}3A2{}^{3}A_{2}V; π→π∗\pi\to\pi^{*}3.863.77
Methanimine1A′′{}^{1}A^{\prime\prime}3A′′{}^{3}A^{\prime\prime}V; n→π∗n \to\pi^{*}5.214.64
Nitrosomethane1A′′{}^{1}A^{\prime\prime}3A′′{}^{3}A^{\prime\prime}V; n→π∗n \to\pi^{*}1.951.16
Streptocyanine-C1 (q=+1q = +1)1B2{}^{1}B_{2}3B2{}^{3}B_{2}V; π→π∗\pi\to\pi^{*}7.125.52
Thioformaldehyde1A2{}^{1}A_{2}3A2{}^{3}A_{2}V; n→π∗n \to\pi^{*}2.201.94
Water1B1{}^{1}B_{1}3B1{}^{3}B_{1}R; n→3sn \to3s7.707.33

Table S1.

Table S2. Selected ST-gap systems and vertical TBEs (eV) for S1S_{1} and T1T_{1} from Table S1 in the SM of Ref. 32. Compound numbering follows that reference; ΔEST=ΔES−ΔET\Delta E_{\mathrm{ST}} = \Delta E_{\mathrm{S}} - \Delta E_{\mathrm{T}}. The original benchmark considered the small negative gaps of compounds 7 and 8 insufficient to establish inverted ordering definitively.

SystemΔESTBE\Delta E_{\mathrm{S}}^{\mathrm{TBE}}ΔETTBE\Delta E_{\mathrm{T}}^{\mathrm{TBE}}ΔESTTBE\Delta E_{\mathrm{ST}}^{\mathrm{TBE}}
Heptazine (1)2.7172.936-0.219
Cyclazine (2)0.9791.110-0.131
Molecule 31.5621.663-0.101
Molecule 42.1772.296-0.119
Molecule 52.1272.230-0.103
Molecule 60.8330.904-0.071
Molecule 70.6930.735-0.042
Molecule 80.5540.583-0.029

Table S2.

Table S3. Selected QUEST6 singlet CT targets and aug-cc-pVQZ TBEs (eV) from Table 1 of Ref. 34. The SnS_{n} labels follow the LR-CCSD/cc-pVTZ ordering in its SM (Table S1).

SystemReference singletCharacterΔESTBE\Delta E_{\mathrm{S}}^{\mathrm{TBE}}
AminobenzonitrileS2S_{2} (1A1{}^{1}A_{1})π→π∗\pi\to\pi^{*}5.09
BenzothiadiazoleS2S_{2} (1B2{}^{1}B_{2})π→π∗\pi\to\pi^{*}4.28
Dimethylaminobenzonitrile (DMABN)S2S_{2} (1A1{}^{1}A_{1})π→π∗\pi\to\pi^{*}4.86
DimethylanilineS1S_{1} (1B2{}^{1}B_{2})π→π∗\pi\to\pi^{*}4.40
NitroanilineS4S_{4} (1A1{}^{1}A_{1})π→π∗\pi\to\pi^{*}4.39
NitrodimethylanilineS2S_{2} (1A1{}^{1}A_{1})π→π∗\pi\to\pi^{*}4.13
Nitropyridine NN-oxideS4S_{4} (1A1{}^{1}A_{1})π→π∗\pi\to\pi^{*}4.10
NN-Phenylpyrrole (PP)S3S_{3} (1B2{}^{1}B_{2})π→π∗\pi\to\pi^{*}5.32
PhthalazineS1S_{1} (1A2{}^{1}A_{2})n→π∗n \to\pi^{*}3.91
Twisted DMABNS1S_{1} (1A2{}^{1}A_{2})n→π∗n \to\pi^{*}4.12
Twisted PPS2S_{2} (1B2{}^{1}B_{2})π→π∗\pi\to\pi^{*}5.58

Table S3.

Basis-set dependence within CP2K

To assess basis-set dependence, we compared excitation energies and singlet–triplet gaps obtained with CP2K using the aug-cc-pVTZ and aug-cc-pVQZ basis sets. Table S4 summarizes the mean and maximum absolute differences between the two basis sets.

TreatmentXC functionalΔES\Delta E_{\mathrm{S}} MADΔES\Delta E_{\mathrm{S}} MaxADΔET\Delta E_{\mathrm{T}} MADΔET\Delta E_{\mathrm{T}} MaxADΔEST\Delta E_{\mathrm{ST}} MADΔEST\Delta E_{\mathrm{ST}} MaxAD
QUEST1
UKSPBE0.0040.0120.0030.0110.0020.005
UKSr2r^{2}SCAN0.0070.0140.0060.0110.0030.009
UKSPBE00.0040.0120.0030.0110.0020.005
UKSSkala0.0150.0350.0100.0280.0130.053
ROKSPBE0.0030.0100.0020.0090.0020.003
ROKSr2r^{2}SCAN0.0040.0100.0020.0060.0030.010
ROKSPBE00.0030.0080.0020.0090.0010.002
ROKSSkala0.0080.0230.0060.0120.0110.019
ST-gap
UKSPBE0.0020.0030.0010.0020.0010.002
UKSr2r^{2}SCAN0.0030.0050.0030.0050.0000.002
UKSPBE0––––––
UKSSkala0.0120.0190.0130.0190.0020.003
ROKSPBE0.0010.0010.0000.0010.0010.001
ROKSr2r^{2}SCAN0.0010.0030.0010.0030.0000.000
ROKSPBE0––––––
ROKSSkala0.0020.0050.0020.0060.0010.003

Table S4. Mean absolute differences (MADs) and maximum absolute differences (MaxADs) between CP2K aug-cc-pVTZ and aug-cc-pVQZ excitation energies and singlet–triplet gaps (eV). Statistics include 12 molecules for QUEST1 and eight for ST-gap, where available. Dashes indicate unavailable aug-cc-pVQZ results for ST-gap PBE0. No aug-cc-pVQZ calculations were performed for QUEST6.

For QUEST1, Skala exhibits larger basis-set differences than the conventional functionals, particularly with UKS. Its maximum absolute differences reach 0.035 and 0.028 eV for singlet and triplet excitation energies, respectively, and 0.053 eV for singlet–triplet gaps. The corresponding gap differences are smaller with ROKS, with a maximum of 0.019 eV. In contrast, the maximum gap differences for PBE, r2r^{2}SCAN, and PBE0 do not exceed 0.010 eV with either treatment.

For ST-gap, all available calculations yield maximum singlet–triplet gap differences of at most 0.003 eV. Although the maximum differences in individual excitation energies reach 0.019 eV for Skala with UKS, the corresponding gap differences remain small, indicating favorable cancellation of basis-set effects. Importantly, the number of inverted singlet–triplet gaps remains unchanged upon increasing the basis set from aug-cc-pVTZ to aug-cc-pVQZ. Overall, despite somewhat larger basis-set differences for Skala on QUEST1, these results indicate that aug-cc-pVTZ provides sufficiently converged excitation energies and singlet–triplet gaps for the QUEST1 and ST-gap systems included in the comparison, making it a suitable choice for practical calculations.

Comparison with a PySCF-based implementation

Here we compare singlet and triplet excitations and singlet–triplet gaps obtained with CP2K and a PySCF-based implementation using the aug-cc-pVTZ basis set. For Skala, we additionally considered the atomic-radius adjustment in Becke’s integration-grid partitioning, previously identified as a source of differences between CP2K/GauXC and PySCF calculations [55]. PySCF calculations with this adjustment enabled and disabled (denoted as radii on and radii off, respectively) were compared against the same CP2K results. Table S5 summarizes the mean and maximum absolute differences between the implementations.

TreatmentXC functionalΔES\Delta E_{\mathrm{S}}ΔET\Delta E_{\mathrm{T}}ΔEST\Delta E_{\mathrm{ST}}
MADMaxADMADMaxADMADMaxAD
QUEST1
UKSPBE0.0000.0010.0000.0010.0000.000
UKSr2r^{2}SCAN0.0020.0040.0030.0070.0030.008
UKSPBE00.0000.0010.0000.0010.0000.000
UKSSkala (radii on)0.0130.0350.0080.0300.0090.035
UKSSkala (radii off)0.0020.0040.0010.0030.0010.004
ROKSPBE0.0000.0010.0000.0010.0000.000
ROKSr2r^{2}SCAN0.0010.0040.0030.0050.0020.006
ROKSPBE00.0000.0010.0000.0010.0000.000
ROKSSkala (radii on)0.0130.0510.0080.0310.0080.026
ROKSSkala (radii off)0.0010.0030.0010.0020.0010.002
ST-gap
UKSPBE0.0010.0010.0010.0010.0000.000
UKSr2r^{2}SCAN0.0090.0100.0040.0050.0050.006
UKSPBE00.0010.0010.0010.0010.0000.001
UKSSkala (radii on)0.0060.0120.0060.0100.0020.004
UKSSkala (radii off)0.0010.0020.0010.0030.0010.001
ROKSPBE0.0010.0010.0010.0010.0000.000
ROKSr2r^{2}SCAN0.0030.0040.0030.0040.0000.000
ROKSPBE00.0010.0010.0010.0010.0000.000
ROKSSkala (radii on)0.0060.0150.0060.0100.0030.004
ROKSSkala (radii off)0.0010.0030.0010.0030.0010.001
QUEST6
UKSPBE0.0040.010––––
UKSr2r^{2}SCAN0.0050.018––––
UKSPBE00.0050.018––––
UKSSkala (radii on)0.0050.024––––
UKSSkala (radii off)0.0050.014––––

Table S5. Mean absolute differences (MADs) and maximum absolute differences (MaxADs) between PySCF and CP2K excitation energies and singlet–triplet gaps at aug-cc-pVTZ (eV). Statistics use 12 values per property and row for QUEST1, 8 for ST-gap, and 11 UKS singlet excitation energies for QUEST6. Radii on/off denotes the atomic-radius adjustment in the Becke integration-grid partitioning used by the PySCF-based Skala implementation; both variants are compared against the same CP2K results. Dashes denote properties outside the reported scope.

For QUEST1 and ST-gap, PBE and PBE0 show close agreement between the implementations, with maximum deviations not exceeding 0.001 eV. Somewhat larger differences are observed for r2r^{2}SCAN, reaching 0.010 eV for ST-gap. For Skala, the maximum deviations for QUEST1 and ST-gap are 0.051 and 0.015 eV, respectively, with radii on, decreasing to 0.004 and 0.003 eV with radii off. Notably, this close agreement between CP2K and PySCF-based calculations is achieved despite differences in the SCF optimization procedures and, for some systems, the initial orbitals, providing additional evidence of the numerical robustness of the calculated excitation energies.

For QUEST1 and ST-gap, PBE and PBE0 show close agreement between the implementations, with maximum deviations not exceeding 0.001 eV. Somewhat larger differences are observed for r2r^{2}SCAN, reaching 0.010 eV for ST-gap. For Skala, the maximum deviations for QUEST1 and ST-gap are 0.051 and 0.015 eV, respectively, with radii on, decreasing to 0.004 and 0.003 eV with radii off. Notably, this close agreement is obtained despite differences in the SCF optimization procedures and the initialization strategies.

Functional substitution and orbital relaxation in ROKS

To examine the functional and orbital contributions to the ST-gap results, we evaluated PBE and Skala on orbital sets optimized with each functional. All calculations use CP2K with aug-cc-pVTZ at fixed benchmark geometries. We denote an evaluation with functional FF on orbitals optimized with GG by F@GF@G. The singlet and restricted-triplet orbital sets, CSGC_{\mathrm{S}}^{G} and CTGC_{\mathrm{T}}^{G}, were optimized separately with GG and held fixed during evaluation with FF. Using the ROKS singlet-energy expression, Eq. (3), the corresponding gap is

ΔEST(F@G)=2EMF(CSG)−ETF(CSG)−ETF(CTG).(4)\Delta E_{\mathrm{ST}}(F@G) = 2E_{\mathrm{M}}^{F}(C_{\mathrm{S}}^{G}) - E_{\mathrm{T}}^{F}(C_{\mathrm{S}}^{G}) - E_{\mathrm{T}}^{F}(C_{\mathrm{T}}^{G}). \tag*{(4)}

Thus, each cross-functional gap uses the evaluating functional for all three component energies, including the triplet energy on the separately optimized donor orbitals. No further orbital optimization is performed in a cross-evaluation.

MoleculePBE@PBESkala@PBEPBE@SkalaSkala@Skala
Heptazine+0.109+0.001+0.135−0.025
Cyclazine+0.109−0.033+0.149−0.071
Molecule 3+0.125−0.022+0.164−0.062
Molecule 4+0.131+0.005+0.159−0.022
Molecule 5+0.132−0.009+0.170−0.047
Molecule 6+0.133+0.022+0.169−0.009
Molecule 7+0.147+0.066+0.177+0.042
Molecule 8+0.156+0.097+0.180+0.079
Mean+0.130+0.016+0.163−0.014

Table S6. Frozen-orbital ROKS singlet–triplet gaps for ST-gap (CP2K, aug-cc-pVTZ; eV). F@GF@G denotes evaluation with FF on the respective singlet and separately optimized restricted-triplet orbitals obtained with GG. The four columns contain 0, 3, 0, 6 negative gaps, respectively, among the eight molecules. Both functional/orbital comparison paths are retained; their contributions are path-dependent.

Table S6 gives all four functional/orbital combinations. Along the path PBE@PBE → Skala@PBE → Skala@Skala used in Figure 4, functional substitution lowers the mean gap by 0.114 eV, followed by a further decrease of 0.030 eV upon orbital optimization with Skala. Cyclazine and Molecules 3 and 5 already have negative gaps at Skala@PBE; Heptazine and Molecules 4 and 6 become inverted after orbital optimization.

The alternative path, PBE@PBE → PBE@Skala → Skala@Skala, instead raises the mean gap by 0.033 eV when the orbital sets are changed at fixed PBE and then lowers it by 0.177 eV when PBE is replaced by Skala at fixed Skala orbitals. Both paths connect the same endpoints and give a total mean reduction of 0.145 eV, but assign different changes to the individual steps. These quantities therefore describe the chosen comparison path rather than a unique decomposition of functional and orbital effects.

Effect of separate triplet optimization on ROKS gaps

To determine whether separate triplet optimization is required for the ROKS inversions, we compare common-orbital splittings and gaps between separately optimized states for PBE, r2r^{2}SCAN, PBE0, and Skala. For a given functional, let CSC_{\mathrm{S}} and CTC_{\mathrm{T}} denote the orbital sets optimized for the ROKS singlet and restricted open-shell triplet, respectively. All energies below use that same functional at a fixed nuclear geometry. In Eq. (3), the mixed-spin and triplet components are both evaluated on CSC_{\mathrm{S}}. Using this triplet component without separate triplet optimization gives the common-orbital splitting

ΔESTcommon=ES(CS)−ET(CS)=2[EM(CS)−ET(CS)].(5)\Delta E_{\mathrm{ST}}^{\mathrm{common}} = E_{\mathrm{S}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{S}}) = 2\left[E_{\mathrm{M}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{S}})\right]. \tag*{(5)}

The singlet orbitals are fully optimized in this evaluation; only the separate optimization of the triplet is omitted. The resulting splitting is therefore distinct from a gap between independently optimized states. Defining the triplet-relaxation correction as

δT=ET(CS)−ET(CT),(6)\delta_{\mathrm{T}} = E_{\mathrm{T}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{T}}), \tag*{(6)}

the gap obtained with the separately optimized triplet is

ΔESTopt=ES(CS)−ET(CT)=ΔESTcommon+δT.(7)\Delta E_{\mathrm{ST}}^{\mathrm{opt}} = E_{\mathrm{S}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{T}}) = \Delta E_{\mathrm{ST}}^{\mathrm{common}} + \delta_{\mathrm{T}}. \tag*{(7)}

The singlet energy is identical in the two gap evaluations, and no ground-state energy is required. On the common orbital set, the mixed and triplet determinants have the same total density, and the kinetic, external-potential, and Hartree contributions cancel. We verified this cancellation numerically, including the GAPW contributions. The common-orbital splitting is consequently determined by twice the difference between their XC energies, including exact exchange for PBE0.

Table S7 shows positive common-orbital splittings for all eight molecules with PBE, r2r^{2}SCAN, and PBE0, with means of 0.119, 0.116, and 0.149 eV, respectively. Separate triplet optimization increases the gaps for every molecule, giving mean gaps of 0.130, 0.139, and 0.176 eV. Skala instead gives negative common-orbital splittings for seven molecules, with a mean of −0.066 eV. Separate triplet optimization increases its gaps by 0.052 eV on average; six remain negative, with a mean gap of −0.014 eV. Only Molecule 7 changes sign, from −0.021 to +0.042 eV. The Skala inversions are therefore already present on the singlet-optimized orbital sets and do not require separate triplet relaxation. This comparison holds each functional and its singlet state fixed, whereas the orbital-change steps in Sec. S4 change both singlet and triplet orbital sets.

MoleculePBEr2r^{2}SCANPBE0Skala
CommonOptimizedCommonOptimizedCommonOptimizedCommonOptimized
Heptazine+0.101+0.109+0.088+0.103+0.124+0.139−0.053−0.025
Cyclazine+0.100+0.109+0.089+0.105+0.122+0.134−0.126−0.071
Molecule 3+0.114+0.125+0.109+0.130+0.147+0.177−0.115−0.062
Molecule 4+0.119+0.131+0.115+0.141+0.152+0.191−0.064−0.022
Molecule 5+0.119+0.132+0.115+0.142+0.158+0.204−0.099−0.047
Molecule 6+0.120+0.133+0.118+0.145+0.149+0.176−0.071−0.009
Molecule 7+0.134+0.147+0.139+0.168+0.165+0.193−0.021+0.042
Molecule 8+0.142+0.156+0.154+0.181+0.175+0.196+0.017+0.079
Mean+0.119+0.130+0.116+0.139+0.149+0.176−0.066−0.014

Table S7. Effect of separate triplet optimization on ROKS singlet–triplet gaps for ST-gap (CP2K, aug-cc-pVTZ; eV). Common: ES(CS)−ET(CS)E_{\mathrm{S}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{S}}); optimized: ES(CS)−ET(CT)E_{\mathrm{S}}(C_{\mathrm{S}}) - E_{\mathrm{T}}(C_{\mathrm{T}}), where CSC_{\mathrm{S}} and CTC_{\mathrm{T}} are singlet- and restricted-triplet-optimized orbitals. The singlet and nuclear geometry remain fixed. Skala gives 7 common-orbital and 6 optimized-gap inversions among the eight molecules. No inversions occur for the other functionals.

References

  1. [1]P. Hohenberg and W. Kohn, “Inhomogeneous Electron Gas,” Phys. Rev. 136, B864–B871 (1964).
  2. [2]W. Kohn and L. J. Sham, “Self-Consistent Equations Including Exchange and Correlation Effects,” Phys. Rev. 140, A1133–A1138 (1965).
  3. [3]R. G. Parr and W. Yang, Density-Functional Theory of Atoms and Molecules (Oxford University Press, Oxford, 1989).
  4. [4]A. Seidl, A. Görling, P. Vogl, J. A. Majewski, and M. Levy, “Generalized Kohn-Sham schemes and the band-gap problem,” Phys. Rev. B 53, 3764–3774 (1996).
  5. [5]J. P. Perdew and K. Schmidt, “Jacob’s ladder of density functional approximations for the exchange-correlation energy,” AIP Conference Proceedings 577, 1–20 (2001).DOI
  6. [6]J. P. Perdew, “Climbing the ladder of density functional approximations,” MRS Bull. 38, 743–750 (2013).
  7. [7]J. Tao, J. P. Perdew, V. N. Staroverov, and G. E. Scuseria, “Climbing the Density Functional Ladder: Nonempirical Meta-Generalized Gradient Approximation Designed for Molecules and Solids,” Phys. Rev. Lett. 91, 146401 (2003).
  8. [8]S. Kümmel and L. Kronik, “Orbital-dependent density functionals: Theory and applications,” Rev. Mod. Phys. 80, 3–60 (2008).
  9. [9]X. Ren, P. Rinke, C. Joas, and M. Scheffler, “Random-phase approximation and its applications in computational chemistry and materials science,” J. Mater. Sci. 47, 7447–7471 (2012).DOI
  10. [10]L. Goerigk and S. Grimme, “Double-hybrid density functionals,” Wiley Interdiscip. Rev. Comput. Mol. Sci. 4, 576–600 (2014).
  11. [11]N. Mardirossian and M. Head-Gordon, “Thirty years of density functional theory in computational chemistry: an overview and extensive assessment of 200 density functionals,” Mol. Phys. 115, 2315–2372 (2017).
  12. [12]J. P. Perdew, K. Burke, and M. Ernzerhof, “Generalized Gradient Approximation Made Simple,” Phys. Rev. Lett. 77, 3865–3868 (1996).
  13. [13]J. Sun, A. Ruzsinszky, and J. P. Perdew, “Strongly Constrained and Appropriately Normed Semilocal Density Functional,” Phys. Rev. Lett. 115, 036402 (2015).
  14. [14]S. Dick and M. Fernandez-Serra, “Machine learning accurate exchange and correlation functionals of the electronic density,” Nat. Commun. 11, 3509 (2020).
  15. [15]M. F. Kasim and S. M. Vinko, “Learning the Exchange-Correlation Functional from Nature with Fully Differentiable Density Functional Theory,” Phys. Rev. Lett. 127, 126403 (2021).DOI
  16. [16]K. Bystrom and B. Kozinsky, “CIDER: An Expressive, Nonlocal Feature Set for Machine Learning Density Functionals with Exact Constraints,” J. Chem. Theory Comput. 18, 2180–2192 (2022).DOI
  17. [17]N. Gao, E. Eberhardt, and S. Günnemann, “Learning Equivariant Non-Local Electron Density Functionals,” in International Conference on Learning Representations (2025) arXiv:2410.07972 [cs.LG].arxiv.org/abs/2410.07972
  18. [18]G. Luise, C.-W. Huang, T. Vogels, D. P. Kooi, S. Ehlert, S. Lanius, K. J. H. Giesbertz, A. Kartnig, D. Gunceler, S. Battaglia, G. N. C. Simm, P. B. Szabó, M. Stanley, W. P. Bruinsma, L. Huang, X. Wei, J. G. Torres, A. Katbashev, R. C. Zavaleta, B. Máté, S.-O. Kaba, R. Sordillo, Y. Chen, D. B. Williams-Young, C. M. Bishop, J. Hermann, R. van den Berg, and P. Gori-Giorgi, “Accurate and scalable exchange-correlation with deep learning,” (2026), arXiv:2506.14665 [physics.chem-ph].arxiv.org/abs/2506.14665
  19. [19]J. Kirkpatrick, B. McMorrow, D. H. P. Turban, A. L. Gaunt, J. S. Spencer, A. G. D. G. Matthews, A. Obika, L. Thiry, M. Fortunato, D. Pfau, L. R. Castellanos, S. Petersen, A. W. R. Nelson, P. Kohli, P. Mori-Sánchez, D. Hassabis, and A. J. Cohen, “Push-ing the frontiers of density functionals by solving the fractional electron problem,” Science 374, 1385–1389 (2021).DOI
  20. [20]H. Zhao, T. Gould, and S. Vuckovic, “Deep Mind 21 functional does not extrapolate to transition metal chemistry,” Phys. Chem. Chem. Phys. 26, 12289–12298 (2024).DOI
  21. [21]J. Pototschnig, F. Pöschel, J. Hutter, and T. D. Kühne, “Native implementation of the machine-learned Skala exchange-correlation functional in CP2K: Unified one-centre reconstruction for molecular and condensed-phase calculations,” (2026), arXiv:2609.34055 [cond-mat.mtrl-sci].arxiv.org/abs/2609.34055
  22. [22]L. Restaino, G. Gamboni, E. Selenius, and G. Levi, “Orbital-optimized density functional calculations of excited electronic states: Recent advances and perspectives,” (2026), arXiv:2606.13654 [physics.chem-ph].arxiv.org/abs/2606.13654
  23. [23]D. Hait and M. Head-Gordon, “Excited State Orbital Optimization via Minimizing the Square of the Gradient: General Approach and Application to Singly and Doubly Excited States via Density Functional Theory,” J. Chem. Theory Comput. 16, 1699–1710 (2020).
  24. [24]A. T. B. Gilbert, N. A. Besley, and P. M. W. Gill, “Self-Consistent Field Calculations of Excited States Using the Maximum Overlap Method (MOM),” J. Phys. Chem. A 112, 13164–13171 (2008).DOI
  25. [25]G. M. J. Barca, A. T. B. Gilbert, and P. M. W. Gill, “Simple Models for Difficult Electronic Excitations,” J. Chem. Theory Comput. 14, 1501–1509 (2018).
  26. [26]T. Ziegler, A. Rauk, and E. J. Baerends, “On the calculation of multiplet energies by the Hartree–Fock–Slater method,” Theoretica Chimica Acta 43, 261–271 (1977).
  27. [27]M. Filatov and S. Shaik, “Application of spin-restricted open-shell Kohn–Sham method to atomic and molecular multiplet states,” J. Chem. Phys. 110, 116–125 (1999).DOI
  28. [28]M. A. L. Marques, C. A. Ullrich, F. Nogueira, A. Rubio, K. Burke, and E. K. U. Gross, eds., Time-Dependent Density Functional Theory, Lecture Notes in Physics, Vol. 706 (Springer, Heidelberg, 2006).
  29. [29]C. A. Ullrich, Time-Dependent Density-Functional Theory (Oxford University Press, Oxford, 2012).
  30. [30]E. Selenius, A. E. Sigurdarson, Y. L. A. Schmerwitz, and G. Levi, “Orbital-Optimized Versus Time-Dependent Density Functional Calculations of Intramolecular Charge Transfer Excited States,” J. Chem. Theory Comput. 20, 3809–3822 (2024).
  31. [31]P.-F. Loos, A. Semcenco, A. Blondel, Y. Garniron, M. Caffarel, and D. Jacquemin, “A Mountaineering Strategy to Excited States: Highly Accurate Reference Energies and Benchmarks,” J. Chem. Theory Comput. 14, 4360–4379 (2018).
  32. [32]P.-F. Loos, F. Lipparini, and D. Jacquemin, “Heptazine, Cyclazine, and Related Compounds: Chemically-Accurate Estimates of the Inverted Singlet–Triplet Gap,” J. Phys. Chem. Lett. 14, 11069–11075 (2023).
  33. [33]J. C. Sancho-García, E. Brémond, G. Ricci, A. J. Pérez-Jiménez, Y. Olivier, and C. Adamo, “Violation of Hund’s rule in molecules: Predicting the excited-state energy inversion by TD-DFT with double-hybrid methods,” J. Chem. Phys. 156, 034105 (2022).DOI
  34. [34]P.-F. Loos, M. Comin, X. Blase, and D. Jacquemin, “Reference Energies for Intramolecular Charge-Transfer Excitations,” J. Chem. Theory Comput. 17, 3666–3686 (2021).DOI
  35. [35]J. W. Furness, A. D. Kaplan, J. Ning, J. P. Perdew, and J. Sun, “Accurate and Numerically Efficient r2SCAN Meta-Generalized Gradient Approximation,” J. Phys. Chem. Lett. 11, 8208–8215 (2020).DOI
  36. [36]J. P. Perdew, M. Ernzerhof, and K. Burke, “Rationale for mixing exact exchange with density functional approximations,” J. Chem. Phys. 105, 9982–9985 (1996).DOI
  37. [37]M. Ernzerhof and G. E. Scuseria, “Assessment of the Perdew–Burke–Ernzerhof exchange-correlation functional,” J. Chem. Phys. 110, 5029–5036 (1999).
  38. [38]T. Kowalczyk, T. Tsuchimochi, P.-T. Chen, L. Top, and T. Van Voorhis, “Excitation energies and Stokes shifts from a restricted open-shell Kohn-Sham approach,” J. Chem. Phys. 138, 164101 (2013).DOI
  39. [39]D. Valverde, G. Ricci, J. C. Sancho-García, D. Beljonne, and Y. Olivier, “Can ΔSCF and ROKS DFT-Based Methods Predict the Inversion of the Singlet–Triplet Gap in Organic Molecules?” J. Chem. Theory Comput. 21, 2558–2568 (2025).DOI
  40. [40]J. M. Herbert, “Density-functional theory for electronic excited states,” in Theoretical and Computational Photochemistry (Elsevier, 2023) Chap. 3, pp. 69–118.
  41. [41]A. T. Amos and G. G. Hall, “Single determinant wave functions,” Proc. R. Soc. Lond. A 263, 483–493 (1961).
  42. [42]P.-O. Löwdin, “Angular momentum wavefunctions constructed by projector operators,” Rev. Mod. Phys. 36, 966–976 (1964).DOI
  43. [43]M. Filatov and S. Shaik, “Spin-restricted density functional approach to the open-shell problem,” Chem. Phys. Lett. 288, 689–697 (1998).DOI
  44. [44]I. Frank, J. Hutter, D. Marx, and M. Parrinello, “Molecular dynamics in low-spin excited states,” J. Chem. Phys. 108, 4060–4069 (1998).
  45. [45]E. Trushin, O. Bertleff, and A. Görling, “Potential-Averaged ΔSCF Methods: Underlying Formalism and Evaluation of Accuracy of Excitation Energies,” J. Chem. Theory Comput. 22, 8324–8349 (2026).DOI
  46. [46]O. Gunnarsson and B. I. Lundqvist, “Exchange and correlation in atoms, molecules, and solids by the spin-density-functional formalism,” Phys. Rev. B 13, 4274–4298 (1976).
  47. [47]J. VandeVondele, J. Krack, F. Mohamed, M. Parrinello, T. Chassaing, and J. Hutter, “Quickstep: Fast and accurate density functional calculations using a mixed Gaussian and plane waves approach,” Comput. Phys. Commun. 167, 103–128 (2005).
  48. [48]T. D. Kühne et al., “CP2K: An electronic structure and molecular dynamics software package - Quickstep: Efficient and accurate electronic structure calculations,” J. Chem. Phys. 152, 194103 (2020).DOI
  49. [49]G. Lippert, J. Hutter, and M. Parrinello, “The Gaussian and Augmented-Plane-Wave Density Functional Method for Ab Initio Molecular Dynamics Simulations,” Theor. Chem. Acc. 103, 124–140 (1999).DOI
  50. [50]M. Krack and M. Parrinello, “All-electron ab-initio molecular dynamics,” Phys. Chem. Chem. Phys. 2, 2105–2112 (2000).
  51. [51]T. H. Dunning, Jr., “Gaussian basis sets for use in correlated molecular calculations. I. The atoms boron through neon and hydrogen,” J. Chem. Phys. 90, 1007–1023 (1989).DOI
  52. [52]R. A. Kendall, T. H. Dunning, Jr., and R. J. Harrison, “Electron affinities of the first-row atoms revisited. Systematic basis sets and wave functions,” J. Chem. Phys. 96, 6796–6806 (1992).
  53. [53]D. E. Woon and T. H. Dunning, Jr., “Gaussian basis sets for use in correlated molecular calculations. III. The atoms aluminum through argon,” J. Chem. Phys. 98, 1358–1371 (1993).DOI
  54. [54]A. Bussy, O. Schütt, and J. Hutter, “Sparse tensor based nuclear gradients for periodic Hartree-Fock and low-scaling correlated wave function methods in the CP2K software package: A massively parallel and GPU accelerated implementation,” J. Chem. Phys. 158, 164109 (2023).
  55. [55]F. Pöschel, J. Pototschnig, F. Stein, A. Knüpfer, T. Vogels, S. Battaglia, S. Ehlert, J. Hutter, and T. D. Kühne, “Molecular Implementation of the Machine-Learned Scala Exchange-Correlation Functional in CP2K through GauXC,” (2026), arXiv:2608.19033 [physics.chem-ph].arxiv.org/abs/2608.19033
  56. [56]Q. Sun et al., “The Python simulations of chemistry framework: 10 years of an open-source quantum chemistry project,” J. Chem. Phys. 165, 102502 (2026).
  57. [57]Zenodo, https://doi.org/10.5281/zenodo.24374660 (2026).
  58. [58]E. Trushin, “Skala ΔSCF benchmark data,” https://github.com/EgorTrushin/skala-delta-scf (2026).
  59. [59]A. V. Ivanov, G. Levi, E. Ö. Jónsson, and H. Jónsson, “Method for Calculating Excited Electronic States Using Density Functionals and Direct Orbital Optimization with Real Space Grid or Plane-Wave Basis Set,” J. Chem. Theory Comput. 17, 5034–5049 (2021).

Paper details

vlnc:W_xsummdre
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 7

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents