# Taming Convergence in the Determinant Approach for X-Ray Excitation Spectra

###### Abstract

A determinant formalism in combination with ab initio calculations was proposed recently liang2017accurate (); liang2018quantum () and has paved a new way for simulating and interpreting x-ray excitation spectra in condensed-phase systems. The new method systematically takes into account many-electron effects in the Mahan-Noziéres-De Dominicis (MND) theory, including core-level excitonic effects, the Fermi-edge singularity, shakeup excitations, and wavefunction overlap effects such as the orthogonality catastrophe, all within a universal framework using many-electron configurations. A heuristic search algorithm liang2018quantum () was introduced to search for the configurations that are important for defining the x-ray spectral lineshape, instead of enumerating them in a brute-force way. The algorithm has proven to be efficient for calculating \ceO edges of transition metal oxides, which converge at the second excitation order (denoted as with ), i.e., the final-state configurations with two e-h pairs (with one hole being the core hole). However, it remains unknown how the determinant x-ray spectra converge for general cases and at which excitation order should one stop the determinant calculation. Even with the heuristic algorithm, the number of many-electron configurations still grows exponentially with the excitation order . In this work, we prove two theorems that can indicate the order of magnitude of the contribution of the configurations, so that one can estimate their contribution very quickly without actually calculating their amplitudes. The two theorems are based on the singular-value decomposition (SVD) analysis, a method that is widely used to quantify entanglement between two quantum many-body systems. We examine the edges of several metallic systems with the determinant formalism up to to illustrate the usefulness of the theorems.

## I Introduction

X-ray spectroscopy has become increasingly important for providing insights into many problems in materials characterization at microscopic scale de2008core (); fadley2010x (); singh2010advanced (); ament2011resonant (); van2016x (), especially in recent times when this area is propelled by the development of light sources enabled by free-electron lasers emma2010first (); schlotter2012soft (); lemke2013femtosecond (). We consider resonant x-ray excitations, where a core electron of a specific type of atoms is promoted into orbitals localized on or near that atomic site, revealing a wealth of information of local chemical environment and electronic structure. The near-edge part of a x-ray spectrum, i.e., a few eVs above onset, is of particular interest, where most intriguing physics and chemical processes are related to de2008core (). The interpretation of x-ray spectra, however, is often a nontrivial task that requires accurate first-principles modeling of both atomic and electronic structure of interest and their associated spectra prendergast2006x (); cabaret2010first (); gougoussis2009first (). While the structural properties of a wide range of materials can be mostly captured by density-functional theory (DFT) parr1980density (); dudarev1998electron (); bickelhaupt2000kohn (); wang2006oxidation (); hautier2012accuracy (), predicting x-ray excited-state spectra in a reliable and efficient manner presents a greater theoretical challenge.

There has been a broad spectrum of theoretical approaches for simulating x-ray excitation spectra. At one extreme, exact diagonalization chen1991electronic (); hybertsen1992model (); haverkort2012multiplet (); kourtis2012exact (); uldry2012systematic (); chen2013doping (); jia2016using (); lu2017nonperturbative () has been applied to rigorously solve the many-electron Hamiltonian. This method represents the most accurate solutions and is most suitable for localized x-ray excitations that occur within a few atomic orbitals, due to the exponential growth of the many-electron Hilbert space. Wannier down-folding is typically required for reducing the size of the Hamiltonian haverkort2012multiplet (); uldry2012systematic () and the Coulomb interaction is usually simplified as an on-site Hubbard term. Similar methodology is also employed in the quantum chemistry community within the configuration interaction sherrill1999configuration (); tubman2016deterministic () and other post-Hartree-Fock methods bartlett2007coupled (); szalay2011multiconfiguration (), in which realistic Coulomb interactions and superposition of many-electron configurations are considered explicitly in the calculation. Likewise, increasing the size of the excited-state calculation is hindered by the exponential barrier associated with the size of the Hilbert space, although placing restrictions on the active orbital space can mitigate the problem to some extent roemelt2013excited (); pinjari2014restricted (); maganas2017restricted (). Due to its rigor, this class of methods can be used for system with strong electron correlation, but due to its computational inefficiency, it is limited to specific cases such as small molecules roemelt2013excited (); maganas2017restricted () or clusters lu2017nonperturbative () and metal edges (dominate d by localized atomic multiplet effects) haverkort2012multiplet (); jia2016using () so far.

At the other extreme, excited-state spectra of condensed phases can be routinely obtained using ab initio methods based on DFT and many-body perturbation theory (MBPT), where electron correlation is treated with less rigor but higher efficiency. There are two representative methods. One is the Delta-self-consistent-field (SCF) approach nyberg1999core (); taillefumier2002x (); prendergast2006x (); liang2017accurate () that treats the core hole as an external potential, and maps a many-electron excited state to an empty orbital. Many-electron response is taken into account by DFT electronic relaxation, and then the transition matrix elements are calculated using the Fermi’s Golden rule. In previous formalisms, however, only one-body orbitals are employed for final states, which does not account for proper time ordering of the many-electron processes in x-ray excitations liang2017accurate (); liang2018quantum (), leading to possible failures in predicting the intensity of an absorption edge. The other method is the core-level Bethe-Salpeter Equation (BSE) shirley1998ab (); olovsson2009all (); vinson2011bethe () within MBPT, that utilizes DFT ground state as a zero-order approximation and incorporate many-electron correlations in a perturbative manner. A subset of Feynman diagrams generated by the direct and exchange kernels are included to account for e-h interactions (excitonic effects). and hence the correct time-ordering is retained in this approach. Formulations akin to the BSE are also adopted in some versions of time-dependent DFT (TDDFT) besley2009time (); besley2010time (); lopata2012linear (); zhang2012core (), in which exchange-correlation kernels play the roles of e-h interaction kernel, and real-time evolution could be involved lopata2012linear (). There are many successful application of the SCF core-hole approach nyberg1999core (); taillefumier2002x (); prendergast2006x (); pascal2014finite (); velasco2014structure () and the core-level BSE vinson2011bethe (); liang2017accurate (); zhan2017enabling () in extended systems, and even in molecules nyberg1999core () where the Coulomb interaction is not well screened.

### i.1 Motivations and Advantages of the Determinant Formalism

Following the philosophy of the post DFT methods, we recently proposed a determinant formalism liang2017accurate (); liang2018quantum () for simulating x-ray excitation spectra based on the one-body core-hole approach. The determinant formalism has three main advantages: First, it provides an exact solution to all the many-electron effects considered within the Mahan-Noziéres-De Dominicis (MND) model mahan1967excitons (); nozieres1969singularities (); ohtaka1990theory (); mahan2013many (), which is beyond the scope of e-h attraction in the BSE. These effects include the power-law edge singularity as considered by Mahan using Feynman diagrams mahan2013many (), and the many-body wavefunction overlap effect considered by Anderson in the orthogonality catastrophe anderson1967pw (). In a less dramatic manner, the latter often manifests as shakeup effects kim1975x (); stern1983many (); calandra2012k (), but not edge-rounding effects. The shake-up effects are the fragmentation of an absorption feature to higher energy, which would not be described by the BSE.

Secondly, the determinant formalism adopts many-electron configurations in the calculation, and hence provides a conceptually simple picture for understanding x-ray excited states. In the x-ray final-state system, a many-body state is simply a single determinant (single reference) of the occupied Kohn-Sham orbitals. Each excited state is now mapped to its composite orbitals. We denote the group of singles as , which comprises a core hole and an electron; the groups of doubles as , which comprises an additional valence e-h pair; and so forth. The as in can be understood as the order of excitations. This enables a straightforward assignment of absorption features to excited states, making the interpretation of the spectrum simple.

Thirdly, an alternative solution for solving the MND Model using DFT orbitals as input was introduced in Ref. wessely2005ab (); wessely2006dynamical (); wessely2007dynamical (); ovcharenko2013specific (), and good agreement has been achieved in some carbon systems and metals. In this method, a time-dependent matrix integral equation needs to be solved and matrix inversion is required for each point on the discretized time axis. Then a Fourier transformation is performed to obtain the spectrum. The determinant approach we proposed only requires a one-shot matrix inversion and no real-time evolution is involved. It is physically more intuitive and computationally less complex.

Finally, although many-electron configurations are employed for condensed-phase systems with hundreds to thousands of electrons in a supercell, the determinant calculation is not at all intractable. We have developed a heuristic search algorithm for finding the many-electron configurations that are important for determining the x-ray spectra liang2018quantum (). For transition metal oxides (TMOs), it is found the x-ray absorption spectra (XAS) can be well defined by just configurations up to the order (not their superposition and no diagonalization of many-body Hamiltonian is needed), which are inexpensive calculations given the current computational capability.

It is, however, unknown yet how expensive the determinant calculations are in other systems apart from TMOs. It remains unclear if configurations with are important for shaping the x-ray excitation spectra. Even with the heuristic search algorithm liang2018quantum () that truncates the number of many-electron configurations, the number of meaningful configurations still tends to diverge exponentially with respect to the shakeup order . If one can estimate the spectral contributions from the configurations before actually calculating them, it will be of great benefit for saving computational resources. In this work, we propose a useful criterion for estimating the contributions of , which helps one to decide at what one should stop the determinant calculation. It is based on an singular-value decomposition (SVD) analysis of the -matrix, the auxiliary matrix used to obtain the determinant transition amplitude. An SVD analysis of the -matrix reflects how the one-body basis set is rotated due to the perturbation of the core hole, and how the final-state occupied manifold is entangled with the initial state (typically the many-electron ground state). Besides TMOs, we have chosen several metallic systems such as \ceLi and \ceCu metal and performed exhaustive calculations up to to test the convergence criterion in this work.

### i.2 Review of the Determinant Formalism

The central formula for calculating the x-ray absorption amplitudes from the ground-state (initial state) to a specific final state is liang2017accurate (); liang2018quantum ()

(1) |

in which the transition amplitude also takes a determinant form

(2) |

and , where is one final-state orbital and is one initial-state orbital. Alternatively, can be regarded as a “Slater determinant”of a set of final-state orbitals , expanded over the lowest initial-state orbitals (rather than ). The first step we use to simplify the calculation is to move the summation over into the determinant expression:

(3) |

There are an enormous number of combinations of , representing possible final-state configurations, but it is only meaningful to visit a small subset of this space. The determinant amplitude is a significant number only when the most of overlaps significantly with the lowest-energy configuration , because in most realistic materials, the core hole only slightly perturbs the system and the orthogonality catastrophe does not occur. Therefore, may only differ from by a few indices.

To simplify the notation, we may denote as a single, or configuration, as a double, or configuration, and so forth.

Each line of can be denoted as:

(4) |

Next we can introduce the -matrix to calculate all the ’s in an iterative manner. The -matrix is the linear transformation from ’s of the occupied orbitals ( plus ) to the ’s of the empty orbitals (i ¿ N)

(5) |

Rewriting the above matrix multiplication in a compact form, we have , where . Thus the -matrix can be obtained from .

With the auxiliary matrix, we can quickly calculate the determinants for many excited-state configurations without repeatedly using the determinant algorithm. Instead, an algorithm can be used. Once the determinant for the ground state, , is obtained, the determinant of each excited state can be computed by multiplying by a pre-factor. The pre-factor is a small determinant that composes the matrix elements of the matrix. For example, the amplitude of a single (), double (), and triple () configuration can be obtained respectively as

(6) |

These are the essential formulae to obtain the amplitudes for the excited-state configuration with the updating algorithm. A configuration corresponds to a sub-determinant of the matrix.

Directly enumerating all such sub-determinants will be a computationally expensive task. Also, it is not necessary to do so because the matrix could be a sparse matrix. In a previous work liang2018quantum (), we have proposed a heuristic search algorithm for quickly finding significant sub-determinants of a sparse matrix. Our general search algorithm is not merely specific to the matrix for x-ray spectroscopic problems.

What was overlooked in the previous work, however, is that the matrix for x-ray excitations does have structures. It can be seen that the matrices for \ceSiO2, \ceTiO2, \ceCrO2 all display a vertical (horizontal) stripe pattern (Fig. 8 (d) of Ref. liang2018quantum ()). This stripe pattern can also be seen in other chosen examples, which are discussed later in this work. These stripe patterns imply a further simplification of the matrix that it can be approximately expressed as the Kronecker product of two vectors:

(7) |

If strictly holds, then all the sub-determinants for will be exactly zero and only the amplitudes are non-vanishing. It is the deviation of from that determines the size of higher-order terms (). If one can expand into just a few terms, then it is highly probable that the size of higher-order terms can be quickly estimated. In this regard, a singular-value decomposition (SVD) of the matrix is most relevant for this problem. SVD has been widely used to analyze the entanglement structure between two quantum many-body systems vidal2007classical (); li2008entanglement (); schollwock2011density ().

In the following discussion, we first provide and prove two theorems that will give upper bounds on the size of the terms, for a specific , using SVD analysis for the matrix. The bounds will enable one to determine the contribution of the terms to the x-ray excitation spectrum, without explicitly calculating these terms. This will save a substantial amount of computational cost and help one obtain a meaningful x-ray excitation spectrum faster. Then we apply the theorems to several small band-gap and metallic systems, in which higher-order terms () are expected to contribute to the spectrum significantly. It is, however, found that in none of the chosen systems, the contribution from () can significantly alter the spectral lineshapes (more precisely, the peak intensity ratios). In other words, the spectra have already taken shape at the order of .

## Ii Results and Discussion

### ii.1 Two theorems about sub-determinants

###### Theorem 1.

Let be the determinant of an sub-matrix that spans over rows and columns of an matrix . Suppose the singular-value decomposition (SVD) of is

(8) |

where are the singular values of , and () is a normalized vector for a given . Then the determinant can be expanded as the summation

(9) |

in which () is the determinant of the sub-matrix that spans over rows and columns of the matrix ().

###### Proof.

Without loss of generality, we may assume , , , . According to the definition of determinant, can be expanded using the Levi-Civita symbol:

(10) |

Inserting the SVD expression of the matrix element as in Eq. [3] (examples of can be found in Fig. 3),

(11) |

Note that the inner summation with respect to for a specific () gives rise to a determinant, which can be denoted as :

(12) |

This determinant corresponds to the sub-matrix formed by row and column .

In the outer summation of Eq. [11], each index can range from to the number of singular values. is non-zero only when are not equal to each other, thus placing constraints on values of in the outer summation.

Next, we may consider the case where the values of are taken from , without loss of generality. Note that there is no ordering presumed in the outer summation of , therefore summing over all ’s will generate permutations of . For these permutations, the corresponding will have the same absolute value, and its sign depends on whether the permutation is odd or even, due to the nature of determinant. If we enforce ordering , we may use the Levi-Civita symbol to represent the sign due to permutation.

(13) |

where the tuple iterate over all permutation of . Therefore,

(14) |

∎

###### Theorem 2.

The absolute value of the determinant of an sub-matrix of is bound by the product of its largest singular values provided by SVD

(15) |

where the singular values satisfy .

###### Proof.

We may start by proving the absolute value of the determinant () is bound by . Without loss of generality, we may again assume and . According to its definition:

(16) |

Each row of the above determinant is a vector , which is a truncation of a full vector . is the first dimension of and . Since the matrix is obtained from SVD of , each of its row vector is normalized to 1: , and therefore:

(17) |

The geometric meaning of the determinant is the volume of a parallelepiped spanned by vectors , where . Since the length of each of its edge , then the volume of the parallelepiped will be no larger than 1, and thus ().

### ii.2 An analysis of -matrices with singular-value decomposition

We analyze several representative examples here to illustrate the usefulness of the two theorems for matrices: a 1D single-atom chain at half filling, the \ceC edge of graphite, the \ceCu edge copper, the \ceLi edge of lithium metal, and the \ceO edge of rutile \ceTiO2, \ceCrO2, \ceRuO3, and \ceLiCoO2. The crystal structures of \ceRuO3, and \ceLiCoO2 are shown in Fig. 1. Both systems are layered structures that will allow lithium insertion/removal, and are being studied as cathode prototypes of rechargeable batteries. The chosen systems are gapless except for \ceTiO2 and \ceLiCoO2, which have a DFT-PBE band gap of and eV (with a Hubbard value of eV on the \ceCo atom) respectively.

The tight-binding model for the 1D chain reads:

(19) |

where a periodic boundary condition is employed and each site has double occupancy. The above model is considered as the initial-state Hamiltonian . The core-hole potential is assumed to act on a single site (the site at ): , thus the final-state Hamiltonian is . It can be solved that the 1p wavefunctions for are:

(20) |

where and . We then define the 1p XAS matrix element as:

(21) |

In the actual calculation, we choose the number of sites , the number of electrons (half-filled), , a perturbation potential of at the excited site to simulate the core hole effect (set to 100 for exaggeration). We find the determinant spectrum barely changes after .

First, we plot the matrices for the XAS (\ceLi, \ceC, \ceO, and \ceCu edges) of six chosen systems in order to exemplify the aforementioned stripe pattern. Once we have completed the SCF calculation for both the initial and final state, the matrices can be calculated using Eq. [5]. Several matrices are shown in Fig. 2. Although the chosen systems are vastly different in terms of crystal symmetry and bonding nature, it can be seen that all the plotted matrices display a cross-strip pattern that runs both vertically and horizontally. This cross-strip pattern suggested that the matrix for x-ray excitations can be universally expressed in terms of Kronecker product of two vectors: , with a few small residual terms. Thus it becomes natural to introduce an SVD analysis to the matrix, and apply the two theorems proved above to determine the spectral convergence with respect to shakeup order.

The twenty most significant singular values of the matrices of the chosen systems are shown in Fig. 3 (the singular values are plotted logarithmically). The first 5 largest singular values (denoted as ) are also tabulated in Table. 1. It can immediately be seen for all the matrices that only a few singular values are larger than , especially for graphite, \ceTiO2, \ceLiCoO2 and the insulating (spin-down) channel of \ceCrO2 with only 1 . The latter three are systems with a large band gap. The other systems only have two singular values larger than . Note that in \ceLi, and , which can be rounded to 1. In all the cases, for , which are orders of magnitude smaller than . This means only a few singular values are relevant for the analysis of shakeup orders.

System | |||||||||
---|---|---|---|---|---|---|---|---|---|

1D Chain | 9.9683 | 1.0287 | 0.2810 | 0.0592 | 0.0094 | 10.2545 | 2.8820 | 0.1707 | 0.0016 |

Li | 478.8850 | 1.9354 | 0.9774 | 0.6528 | 0.4657 | 926.8103 | 905.8236 | 591.2829 | 275.3625 |

\ceTiO2 | 7092.6499 | 0.5008 | 0.4417 | 0.3118 | 0.2006 | 3552.0365 | 1569.0875 | 489.1961 | 98.1572 |

\ceRuO3 | 267.8267 | 1.5267 | 0.5323 | 0.3790 | 0.2721 | 408.8852 | 217.6645 | 82.4916 | 22.4428 |

Graphite | 7.8617 | 0.5691 | 0.3137 | 0.2325 | 0.1913 | 4.4744 | 1.4035 | 0.3264 | 0.0624 |

\ceCu | 1076.8833 | 1.7903 | 0.4386 | 0.4087 | 0.3919. | 1927.8910 | 845.5359 | 345.5765 | 135.4185 |

\ceCrO2 | 37.0903 | 1.5178 | 0.6071 | 0.4586 | 0.3631 | 56.2962 | 34.1768 | 15.6735 | 5.6917 |

\ceCrO2 | 310.3019 | 0.3667 | 0.3556 | 0.3157 | 0.1634 | 113.7812 | 40.4625 | 12.7736 | 2.0867 |

\ceLiCoO2 | 113.3031 | 0.5227 | 0.4932 | 0.3257 | 0.2632 | 59.2231 | 29.2065 | 9.5120 | 2.5036 |

With these numerical results and the properties of , we can revisit the two theorems and discuss the contributions from different shake-up order to the x-ray spectra. Because the vast majority of are small, we could take the product of the leading to form an analysis of order of approximation. As indicated in the Theorem 1, the sub-determinants corresponding to the terms are associated with the coefficients . We may thus take the largest singular values and calculate their product to estimate the contribution of :

(22) |

The accumulative product of some leading-order singular values are also shown in Table. 1. For \ceLi, \ceRuO3, \ceCu, \ceCrO2, is significantly larger than because . This suggests the contribution of the terms is of the same order of magnitude of . An extreme case is \ceLi in which even is larger to . This requires one to go beyond in the XAS determinant calculation for these systems.

### ii.3 XAS calculated by the determinant formalism

To test how good this empirical estimate is, we perform determinant calculations for XAS of the chosen systems, at least at the order of . The obtained spectra decomposed by different shake-up orders are shown in Fig. 4 (odd rows). We find it is indeed true that the contribution from the terms is as significant as in \ceLi, \ceRuO3, \ceCu, \ceCrO2 (as studied in Ref. liang2017accurate (); liang2018quantum ()). In every case, the contribution from constitutes more than of the entire computed spectrum. In particular for \ceLi, a trend of convergence is only seen after including the terms. The contributions from , , , , and to the full spectrum () are , , , , and . This is consistent with the fact that , , and are comparable to in this system. But note that the contribution is not entirely proportional to the accumulative product . It is observed that decays more quickly than as increases. This is because we haven’t taken into account the decomposed determinants and in this empirical estimate, and holds strictly as proved in Theorem 2.

In other investigated systems such as graphite, \ceLiCoO2, \ceTiO2, and \ceCrO2, the contribution from the terms is noticeably less significant, constituting less than of the full spectrum. Their corresponding second largest singular values , suggesting that and hence would not be as important as the terms. One severe deviation from this estimate would be the tight-binding 1D chain. The corresponding , which is comparable to . However, the contribution is tiny, about of the full () spectrum. Again, this is because the decomposed determinants and are missing. In this regard, it would be better to view the accumulative product as the upper bound of the contribution. In other words, if is significantly small compared to the leading order terms ( and ), then it is already safe to neglect the terms.

To define the smallness of the cumulative product, we may introduce the ratio such that: , where is the maximum of the cumulative product. According to the examples studied in this work, we find one could safely neglect the configurations with .

Although we have gone beyond configurations in the determinant calculation, we still find the spectra for all the cases studied in this work can be well defined by just the configurations up to . This applies even to \ceLi, in which up to configurations are included. The configurations slightly increase intensities of the two absorption humps at and eV compared to the absorption peak at eV. And the spectra beyond (summed from to for ) can basically be reproduced by scaling up the spectrum using an energy-independent factor.

Here, we take a closer examination of the intensity contribution from configurations (as shown by black dotted curves in Fig. 4). The contributions in the 1D chain, graphite, and \ceLiCoO2 (the first row of Fig. 4) are different from the ones as in \ceLi, \ceRuO3, and \ceCu (the third row of Fig. 4). In the former group, the contribution does not have as many absorption features compared to . In particular, the contribution does not have a well-defined peak at the absorption edge as manifests in . In the latter group, the contribution mimics the contribution in that they have similar absorption structures (peaks). All the absorption peaks that appear in also appear in , including the peaks at the absorption onset. A primary reason for the contribution mimicking the one in \ceLi, \ceRuO3, and \ceCu is due to low-energy e-h pair production in these metallic systems. There are many orbitals of similar energies near the Fermi level in the final-state system (the supercell that contains an impurity for modeling core-excited states). More speficially, there are more than 12 orbitals within an energy window of 0.3 eV at the -point of the supercell, as found by the SCF calculations. Some of these orbitals are occupied and some are not. The majority of the configurations in these systems can be understood as a transition from the core level to one empty final-state orbital , coupled with a low-energy e-h pair (as labeled by and ), whose excitation energy is negligibly small. Therefore the spectral contribution from mimics the one from , which is only defined by empty final-state orbitals, in a one-body manner. This partially explains why the one-body final-state method can often reproduce the XAS of many metallic systems adequately, even though the physics of MND theory is completely missing.

The contributions in the 1D chain, graphite, and \ceLiCoO2 are more complex to analyze, which involves not just low-energy e-h pairs near the Fermi level / band gap. In graphite, for instance, many configurations that contribute modestly to XAS are composed of a core-level transition to which is coupled to an e-h pair with being a low-lying empty orbital (), and going over the continuum of occupied orbitals that span more than eV ( and continuum). So the transition energy should be added from the two e-h pairs: , in which both and can vary across a wide energy range. This explains why the spectral contribution in graphite is smeared out without well-defined peaks. Similar analysis applies to the continuum between and eV in \ceLiCoO2, which involves transitions from the core level and some valence orbitals (mainly \ceO ) around eV below the valence band maximum (VBM) to two low-lying empty orbitals and . This continuum fills out the energy gap between and eV, and explains why there is no spectral gap between near-edge peaks ( eV from onset) and the high-energy humps ( eV from onset) in the \ceO edge of TMOs, although there is no single-body orbital within this gap. Such is true for the energy gap near eV in \ceRuO3.

It should be noted that configuration interaction is absent from the above analysis of configurations. Interaction within may introduce excitonic effects between and and plasmon excitations. So far there is no electron-plasmon (plasmaron) coupling present in the determinant approach. Configuration interaction between and may remix the spectral contribution from the two sets of configurations and modify the shakeup effects. So far the ratio of the intensities of the near-edge peaks to the high-energy humps in TMOs is still too high in the determinant calculation up to , as compared with experiments. Introducing configuration interaction may resolve this problem, which is beyond the scope of this work.

### ii.4 Initial-state, final-state, and the determinant XAS

Lastly, we rationalize the determinant calculation by comparing the determinant spectra with the initial- and final-state spectra (even rows in Fig. 4).

For the 1D tight-binding chain, the MND effects manifest as an asymmetric, power-law singularity that diverges at the absorption edge. Note that this singularity has already been reproduced at the level. Thanks to the final-state orbitals in the determinant formalism, one does not need to go over many orders of Feynman diagrams expanded in the initial-state orbitals to produce the edge singularity. The determinant spectrum does not resemble to the one-body final-state spectrum, which looks like a ”half dome”, making the inclusion of MND effects essential to the spectral calculation. The singularity at eV is the van Hove singularity due to the 1D band edge.

Similar MND effects also manifest in the XAS (polarization vector is off-plane) of graphite. After the correction of the determinant approach, the first-peak (around eV, due to ) intensity is significantly magnified compared with the final-state XAS. The corrected intensity ratio of the first peak to the second (around eV) is ( in the final-state spectrum), which is in good agreement with in a previous experiment weser2010induced (). The spectral plateau between and eV (due to the constant joint DOS in 2D systems) is also tilted upward at the low-energy end, due to the MND effects. Such MND effects in graphite were also obtained from first-principles using a more complex approach based on Green’s function, which involves energy and time integral, and Fourier transformation wessely2005ab (); wessely2006dynamical (); ovcharenko2013specific (). Here, the determinant approach provides equivalent spectra by only a one-shot matrix inversion and a heuristic search of computationally accessible configuration space.

Significant intensity correction of the peak at onset is also observed in \ceLiCoO2, \ceLi, and \ceRuO3. In \ceLiCoO2, the intensity ratio of the peak at eV to the peak at eV as found by the determinant approach is , which is in good agreement with a previous measurement juhin2010angular (). In the same work, the intensity ratio by the one-body final-state approach with GGA + U is , which is consistent with our calculation. In \ceRuO3, the intensity ratios of two near-edge peaks are reversed after correction, which was also reported in our previous work on 3d TMOs liang2017accurate (); liang2018quantum ().

The Li edge calculated from the determinant formalism (at the level of ) for \ceLi metal is in good agreement with a previous experiment miedema2014in_situ (). Thermal vibration of the lattice could further modify the spectrum pascal2014finite (), and may broaden the peaks at 61 and 63 eV, making it in closers agreement with the experiment. However, thermal effects will not be discussed in this work, because we focus on the convergence with respect to shakeup orders.

The core-hole attraction effect is most significant in the 1D Chain, graphite, and \ceLi, although they are gapless systems. After the inclusion of the core hole, the initial-state spectra dramatically redshift. However, the core-hole effect only causes the initial-state spectra to redshift rigidly in \ceLiCoO2, \ceRuO3, and \ceCu. The redshifts of the lowest-energy peaks in \ceLiCoO2 and \ceRuO3 are and eV respectively, which are not negligibly small, although the core hole is at the \ceO site where the near-edge orbitals are mainly composed of TM orbitals. This explains why initial-state spectra are sometimes good approximation to XAS for \ceO edges in TMOs, as discussed in Ref. de2008core ().

## Iii Conclusions

In summary, we have introduced two theorems for regulating the convergence of the determinant calculation, using a SVD analysis over the auxiliary -matrix. The convergence with respect to the excitation order depends on the number of the significant singular values of the matrix. We show that the cumulative product of the singular values can be used as an effective estimate for the contribution. It is found empirically that it is safe to neglect the contribution and higher-order when . However, satisfactory determinant spectra have been achieved at the order of for all the examined cases (in this work and the TMOs as in Ref. liang2018quantum ()).

## Acknowledgement

Theoretical and computational work was performed by Y. L. and D. P. at The Molecular Foundry, which is supported by the Office of Science, Office of Basic Energy Sciences, of the United States Department of Energy under Contact No. DE-AC02-05CH11231. Computations were performed with the computing resources at the National Energy Research Scientific Computing Center (NERSC).

## Appendix A Computational Details

The single-body energies and orbitals for both the initial- and final-state systems are obtained with DFT SCF calculations, as described in Ref. liang2017accurate (); liang2018quantum (). Modified pseudopotentials (by changing to ) are generated for simulating the core-hole potential of edges. Supercell dimensions are chosen to be approximately Å that is sufficient to minimize spurious periodic interactions among the core-hole impurities. The SCF calculations for TMOs are performed using the DFT+ theory dudarev1998electron () with the value adopted from Ref. wang2006oxidation (). A -grid is used to sample the BZ of the supercell, which is essential for high-energy scattering states and metallic systems. The DFT part of the calculations is performed using a local repository of the ShirleyXAS code, which is available at the David Prendergast’s group at the Molecular Foundry.

The determinant calculations are performed using an open source software package, MBXASPY, which is available at https://github.com/yufengliang/mbxaspy.

## References

- () Y. Liang, J. Vinson, S. Pemmaraju, W. S. Drisdell, E. L. Shirley, and D. Prendergast. Accurate X-Ray Spectral Predictions: An Advanced Self-Consistent-Field Approach Inspired by Many-Body Perturbation Theory, Phys. Rev. Lett. 118, 096402 (2017).
- () Y. Liang, and D. Prendergast. Quantum many-body effects in x-ray spectra efficiently computed using a basic graph algorithm, Phys. Rev. B 97, 205127 (2018).
- () F. De Groot, A. Kotani. Core level spectroscopy of solids, CRC press (2008)
- () C. S. Fadley. X-ray photoelectron spectroscopy: Progress and perspectives, J. Electron Spectro. Relat. Phenomena 178, 2 (2010).
- () J. Singh, C. Lamberti, and J. A. van Bokhoven. Advanced X-ray absorption and emission spectroscopy: in situ catalytic studies, Chem. Soc. Rev. 39, 4754 (2010).
- () L. J. Ament, M. Van Veenendaal, T. P. Devereaux, J. P. Hill, and J. Van Den Brink. Resonant inelastic x-ray scattering studies of elementary excitations, Rev. Mod. Phys. 83, 705 (2011).
- () J. A. Van Bokhoven, C. Lamberti. X-ray absorption and X-ray emission spectroscopy: theory and applications, John Wiley & Sons (2016)
- () P. Emma, R. Akre, J. Arthur, R. Bionta, C. Bostedt, J. Bozek, A. Brachmann, P. Bucksbaum, R. Coffee, F. J. Decker, and others. First lasing and operation of an ångstrom-wavelength free-electron laser, Nat. Photonics 4, 641 (2010).
- () W. F. Schlotter, J. J. Turner, M. Rowen, P. Heimann, M. Holmes, O. Krupin, M. Messerschmidt, S. Moeller, J. Krzywinski, R. Soufli, and others. The soft x-ray instrument for materials studies at the linac coherent light source x-ray free-electron laser, Rev. Sci. Instrum. 83, 043107 (2012).
- () H. T. Lemke, C. Bressler, L. X. Chen, D. M. Fritz, K. J. Gaffney, A. Galler, W. Gawelda, K. Haldrup, R. W. Hartsock, H. Ihee, and others. Femtosecond X-ray absorption spectroscopy at a hard X-ray free electron laser: application to spin crossover dynamics, J. Phys. Chem. A 117, 735 (2013).
- () D. Prendergast, and G. Galli. X-ray absorption spectra of water from first principles calculations, Phys. Rev. Lett. 96, 215502 (2006).
- () D. Cabaret, A. Bordage, A. Juhin, M. Arfaoui, and E. Gaudry. First-principles calculations of X-ray absorption spectra at the K-edge of 3d transition metals: an electronic structure analysis of the pre-edge, Phys. Chem. Chem. Phys. 12, 5619 (2010).
- () C. Gougoussis, M. Calandra, A. P. Seitsonen, and F. Mauri. First-principles calculations of x-ray absorption in a scheme based on ultrasoft pseudopotentials: From -quartz to high-T c compounds, Phys. Rev. B 80, 075102 (2009).
- () R. G. Parr. Density functional theory of atoms and molecules, Springer, pp. 5–15 (1980)
- () S. L. Dudarev, G. A. Botton, S. Y. Savrasov, C. J. Humphreys, and A. P. Sutton. Electron-energy-loss spectra and the structural stability of nickel oxide: An LSDA+ U study, Phys. Rev. B 57, 1505 (1998).
- () F. M. Bickelhaupt, and E. J. Baerends. Kohn-Sham density functional theory: predicting and understanding chemistry, Rev. Comp. Chem. , 1 (2000).
- () L. Wang, T. Maxisch, and G. Ceder. Oxidation energies of transition metal oxides within the GGA+ U framework, Phys. Rev. B 73, 195107 (2006).
- () G. Hautier, S. P. Ong, A. Jain, C. J. Moore, and G. Ceder. Accuracy of density functional theory in predicting formation energies of ternary oxides from binary oxides and its implication on phase stability, Phys. Rev. B 85, 155208 (2012).
- () C. T. Chen, F. Sette, Y. Ma, M. S. Hybertsen, E. B. Stechel, W. M. C. Foulkes, M. Schulter, S. W. Cheong, A. S. Cooper, L. W. Rupp Jr, and others. Electronic states in La 2- x Sr x CuO 4+ probed by soft-x-ray absorption, Phys. Rev. Lett. 66, 104 (1991).
- () M. S. Hybertsen, E. B. Stechel, W. M. C. Foulkes, and M. Schlüter. Model for low-energy electronic states probed by x-ray absorption in high-T c cuprates, Phys. Rev. B 45, 10032 (1992).
- () M. W. Haverkort, M. Zwierzycki, and O. K. Andersen. Multiplet ligand-field theory using Wannier orbitals, Phys. Rev. B 85, 165113 (2012).
- () S. Kourtis, J. van den Brink, and M. Daghofer. Exact diagonalization results for resonant inelastic x-ray scattering spectra of one-dimensional Mott insulators, Phys. Rev. B 85, 064423 (2012).
- () A. Uldry, F. Vernay, and B. Delley. Systematic computation of crystal-field multiplets for x-ray core spectroscopies, Phys. Rev. B 85, 125133 (2012).
- () C. C. Chen, M. Sentef, Y. F. Kung, C. J. Jia, R. Thomale, B. Moritz, A. P. Kampf, and T. P. Devereaux. Doping evolution of the oxygen K-edge x-ray absorption spectra of cuprate superconductors using a three-orbital Hubbard model, Phys. Rev. B 87, 165144 (2013).
- () C. Jia, K. Wohlfeld, Y. Wang, B. Moritz, and T. P. Devereaux. Using RIXS to uncover elementary charge and spin excitations, Phys. Rev. X 6, 021020 (2016).
- () Y. Lu, and M. W. Haverkort. Nonperturbative series expansion of Greenâs functions: the anatomy of resonant inelastic x-ray scattering in the doped Hubbard model, Phys. Rev. Lett. 119, 256401 (2017).
- () C. D. Sherrill, H. F. Schaefer III. The configuration interaction method: Advances in highly correlated approaches, Elsevier, pp. 143–269 (1999)
- () N. M. Tubman, J. Lee, T. Y. Takeshita, M. Head-Gordon, and K. B. Whaley. A deterministic alternative to the full configuration interaction quantum Monte Carlo method, J. Chem. Phys. 145, 044112 (2016).
- () R. J. Bartlett, and M. Musiał. Coupled-cluster theory in quantum chemistry, Rev. Mod. Phys. 79, 291 (2007).
- () P. G. Szalay, T. Muller, G. Gidofalvi, H. Lischka, and R. Shepard. Multiconfiguration self-consistent field and multireference configuration interaction methods and applications, Chem. Rev. 112, 108 (2011).
- () M. Roemelt, and F. Neese. Excited states of large open-shell molecules: an efficient, general, and spin-adapted approach based on a restricted open-shell ground state wave function, J. Phys. Chem. A 117, 3069 (2013).
- () R. V. Pinjari, M. G. Delcey, M. Guo, M. Odelius, and M. Lundberg. Restricted active space calculations of L-edge X-ray absorption spectra: From molecular orbitals to multiplet states, J. Chem. Phys. 141, 124116 (2014).
- () D. Maganas, S. DeBeer, and F. Neese. A Restricted Open Configuration Interaction with Singles Method To Calculate Valence-to-Core Resonant X-ray Emission Spectra: A Case Study, Inorg. Chem. 56, 11819 (2017).
- () M. Nyberg, Y. Luo, L. Triguero, L. G. Pettersson, and H. Ågren. Core-hole effects in x-ray-absorption spectra of fullerenes, Phys. Rev. B 60, 7956 (1999).
- () M. Taillefumier, D. Cabaret, A. Flank, and F. Mauri. X-ray absorption near-edge structure calculations with the pseudopotentials: Application to the K edge in diamond and -quartz, Phys. Rev. B 66, 195107 (2002).
- () E. L. Shirley. Ab initio inclusion of electron-hole attraction: Application to x-ray absorption and resonant inelastic x-ray scattering, Phys. Rev. Lett. 80, 794 (1998).
- () W. Olovsson, I. Tanaka, T. Mizoguchi, P. Puschnig, and C. Ambrosch-Draxl. All-electron Bethe-Salpeter calculations for shallow-core x-ray absorption near-edge structures, Phys. Rev. B 79, 041102 (2009).
- () J. Vinson, J. J. Rehr, J. J. Kas, and E. L. Shirley. Bethe-Salpeter equation calculations of core excitation spectra, Phys. Rev. B 83, 115106 (2011).
- () N. A. Besley, M. J. Peach, and D. J. Tozer. Time-dependent density functional theory calculations of near-edge X-ray absorption fine structure with short-range corrected functionals, Phys. Chem. Chem. Phys. 11, 10350 (2009).
- () N. A. Besley, and F. A. Asmuruf. Time-dependent density functional theory calculations of the spectroscopy of core electrons, Phys. Chem. Chem. Phys. 12, 12024 (2010).
- () K. Lopata, B. E. Van Kuiken, M. Khalil, and N. Govind. Linear-response and real-time time-dependent density functional theory studies of core-level near-edge x-ray absorption, J. Chem. Theory Computation 8, 3284 (2012).
- () Y. Zhang, J. D. Biggs, D. Healion, N. Govind, and S. Mukamel. Core and valence excitations in resonant X-ray spectroscopy using restricted excitation window time-dependent density functional theory, J. Chem. Phys. 137, 194306 (2012).
- () T. A. Pascal, U. Boesenberg, R. Kostecki, T. J. Richardson, T. Weng, D. Sokaras, D. Nordlund, E. McDermott, A. Moewes, J. Cabana, and others. Finite temperature effects on the X-ray absorption spectra of lithium compounds: First-principles interpretation of X-ray Raman measurements, J. Chem. Phys. 140, 034107 (2014).
- () J. Velasco-Velez, C. H. Wu, T. A. Pascal, L. F. Wan, J. Guo, D. Prendergast, and M. Salmeron. The structure of interfacial water on gold electrodes studied by x-ray absorption spectroscopy, Science 346, 831 (2014).
- () C. Zhan, Z. Yao, J. Lu, L. Ma, V. A. Maroni, L. Li, E. Lee, E. E. Alp, T. Wu, J. Wen, and others. Enabling the high capacity of lithium-rich anti-fluorite lithium iron oxide by simultaneous anionic and cationic redox, Nat. Energy 2, 963 (2017).
- () G. D. Mahan. Excitons in metals, Phys. Rev. Lett. 18, 448 (1967).
- () P. Nozieres, and C. T. De Dominicis. Singularities in the X-ray absorption and emission of metals. III. One-body theory exact solution, Phys. Rev. 178, 1097 (1969).
- () K. Ohtaka, and Y. Tanabe. Theory of the soft-x-ray edge problem in simple metals: historical survey and recent developments, Rev. Mod. Phys. 62, 929 (1990).
- () G. D. Mahan. Many-particle physics, Springer Science & Business Media (2013)
- () P. W. Anderson. PW Anderson, Phys. Rev. Lett. 18, 1049 (1967)., Phys. Rev. Lett. 18, 1049 (1967).
- () K. S. Kim. X-ray-photoelectron spectroscopic studies of the electronic structure of CoO, Phys. Rev. B 11, 2177 (1975).
- () E. A. Stern, and J. J. Rehr. Many-body aspects of the near-edge structure in x-ray absorption, Phys. Rev. B 27, 3351 (1983).
- () M. Calandra, J. P. Rueff, C. Gougoussis, D. Céolin, M. Gorgoi, S. Benedetti, P. Torelli, A. Shukla, D. Chandesris, and C. Brouder. K-edge x-ray absorption spectra in transition-metal oxides beyond the single-particle approximation: Shake-up many-body effects, Phys. Rev. B 86, 165102 (2012).
- () O. Wessely, M. I. Katsnelson, and O. Eriksson. Ab initio theory of dynamical core-hole screening in graphite from x-ray absorption spectra, Phys. Rev. Lett. 94, 167401 (2005).
- () O. Wessely, O. Eriksson, and M. I. Katsnelson. Dynamical core-hole screening in the x-ray absorption spectra of graphite, C 60, and carbon nanotubes: A first-principles electronic structure study, Phys. Rev. B 73, 075402 (2006).
- () O. Wessely, M. I. Katsnelson, A. Nilsson, A. Nikitin, H. Ogasawara, M. Odelius, B. Sanyal, and O. Eriksson. Dynamical core-hole screening in the x-ray absorption spectra of hydrogenated carbon nanotubes and graphene, Phys. Rev. B 76, 161402 (2007).
- () R. E. Ovcharenko, I. I. Tupitsyn, E. P. Savinov, E. N. Voloshina, B. Paulus, Y. S. Dedkov, and A. S. Shulakov. Specific many-electron effects in X-ray spectra of simple metals and graphene, Phys. Chem. Chem. Phys. 15, 6749 (2013).
- () G. Vidal. Classical simulation of infinite-size quantum lattice systems in one spatial dimension, Phys. Rev. Lett. 98, 070201 (2007).
- () H. Li, and F. D. M. Haldane. Entanglement spectrum as a generalization of entanglement entropy: Identification of topological order in non-abelian fractional quantum hall effect states, Phys. Rev. Lett. 101, 010504 (2008).
- () U. Schollwöck. The density-matrix renormalization group in the age of matrix product states, Annals Phys. 326, 96 (2011).
- () M. Weser, Y. Rehder, K. Horn, M. Sicot, M. Fonin, A. B. Preobrajenski, E. N. Voloshina, E. Goering, and Yu. S. Dedkov. Induced magnetism of carbon atoms at the graphene/\ceNi(111) interface, Appl. Phys. Lett. 96, 012504 (2010).
- () AmÃ©lie Juhin, Frank de Groot, GyÃ¶rgy VankÃ³, Matteo Calandra, and Christian Brouder. Angular dependence of core hole screening in \ceLiCoO2: A DFT+U calculation of the oxygen and cobalt -edge x-ray absorption spectra, Phys. Rev. B 81, 115115 (2010).
- () P. S. Miedema, P. Ngene, A. M. J. van der Eerden, D. Sokaras, T. C. Weng, D. Nordlund, Y. S. Aua, and F. M. F. de Groot. In situ X-ray Raman spectroscopy study of the hydrogen sorption properties of lithium borohydride nanocomposites, Phys. Chem. Chem. Phys. 16, 22651 (2014).