Open Access Article
This Open Access Article is licensed under a
Creative Commons Attribution 3.0 Unported Licence

Towards high-resolution X-ray scattering as a probe of electron correlation

Andrés Moreno Carrascosa *ac, Jeremy P. Coe b, Mats Simmermacher ac, Martin J. Paterson b and Adam Kirrander *ac
aEaStCHEM, School of Chemistry, University of Edinburgh, Edinburgh EH9 3FJ, UK. E-mail: andres.morenocarrascosa@chem.ox.ac.uk; adam.kirrander@chem.ox.ac.uk
bInstitute of Chemical Sciences, School of Engineering and Physical Sciences, Heriot-Watt University, Edinburgh EH14 4AS, UK
cDepartment of Chemistry, Physical and Theoretical Chemistry Laboratory, University of Oxford, South Parks Road, Oxford OX1 3QZ, UK

Received 28th June 2022 , Accepted 12th September 2022

First published on 4th October 2022


Abstract

X-ray scattering cross sections are calculated using a range of increasingly correlated methods: Hartree–Fock (HF), complete active space self-consistent field (CASSCF), Monte Carlo configuration interaction (MCCI), and full configuration interaction (FCI). Even for the seemingly straightforward case of ground state Ne, the accuracy of the total scattering is significantly better with a more correlated wavefunction. Scanning the bond distance in ground state CO shows that the total scattering signal tracks the multireference character. We examine the convergence of the elastic, inelastic, and total scattering of O3. Overall, the inelastic and total components are found to be the most sensitive to the strength of correlation. Our results suggest that highly accurate measurement of X-ray scattering could provide a sensitive probe of pair-wise correlation between electrons.


1 Introduction

X-ray and electron scattering have had great impact on our understanding of the structure of matter.1–3 In X-ray crystallography, the relationship between the arrangement of the atoms in the unit cell and the elastic scattering measured in the Bragg peaks has enabled remarkable progress in structure determination.4–6 The corresponding measurements in the gas phase appeared early, with important contributions made by Debye and colleagues, who established the widely-used independent atom model (IAM).7,8 Electrons have larger cross sections compared to photons, which allowed gas-phase electron scattering to develop into an important technique for the structure determination of free molecules.9 Recently, the emergence of X-ray free-electron lasers (XFELs) has spurred a revival of gas-phase scattering using X-rays,10–13 not the least in the domain of ultrafast X-ray scattering.14–20 The high intensity and repetition rate at next-generation XFELs opens the prospect of accurate scattering measurements with excellent signal-to-noise on isolated and unperturbed targets in the gas phase.

Experiments capable of probing quantitatively the intriguing relationship between total scattering and electron correlation, originally pointed out by Bartell and Gavin21,22 and illustrated in Fig. 1, may thus be approaching. It is therefore pertinent to develop the theoretical and computational tools to analyse such experimental data and to examine the relationship between electronic structure calculations and scattering signals, especially given the potential for new experimental benchmarks. Computational methods that calculate scattering cross sections from electronic wavefunctions can now efficiently provide elastic, inelastic, and total scattering cross sections for both electronic ground and excited states.23–36 Notably, the accuracy of the cross section depends crucially on the quality of the underlying electronic wavefunction and therefore on the electronic structure method from which it is derived.


image file: d2cp02933b-f1.tif
Fig. 1 Schematic illustration of the importance of electron correlation in X-ray scattering, with k0 and ks being the incoming and outgoing wave vectors of the incident and scattered X-ray photons, respectively. See Section 2.1 for details.

In the following, we examine the effect of electron correlation on scattering cross sections and demonstrate that highly correlated methods are necessary to match the anticipated accuracy of future X-ray scattering experiments. One of the tools employed for this purpose is Monte Carlo configuration interaction (MCCI), which is capable of converging close to the benchmark of full configuration interaction (FCI), but with a much more compact expansion and at significantly lower computational cost.37,38 As a result, highly accurate total scattering cross sections can be obtained that more rigorously account for the effect of strong electron correlation in atoms and small molecules.

2 Theory

2.1 Scattering

The non-resonant scattering of hard X-rays by an atom or molecule can be described by first-order time-dependent perturbation theory and quantum electrodynamics.39,40 If the system is in the stationary electronic ground state, the expression for the experimentally observable differential X-ray scattering cross section, dσ/dΩ, derived within this framework reads,41,42
 
image file: d2cp02933b-t1.tif(1)
where Ω is the solid angle, (dσ/dΩ)Th the Thomson scattering cross section of a free electron, and |Ψ0〉 the electronic ground state. In this treatment, we treat the nuclear degrees of freedom as frozen.29,41,42 Moreover, image file: d2cp02933b-t2.tif is the scattering operator with q = ksk0 the momentum transfer vector where the wave vectors of the incident and scattered photons are k0 and ks, while rn is the coordinate of an electron with index n, and Ne is the number of electrons in the system. The matrix element in eqn (1) implies integration over all electronic coordinates and can be expressed as,
 
image file: d2cp02933b-t3.tif(2)
where Stotal(q) corresponds to the total, i.e., energy-integrated scattering, |Ψf〉 are the energetically accessible electronic states of the system, and where f = 0 gives the elastic and f ≠ 0 the inelastic X-ray scattering components. The quantity Stotal(q) can be obtained via a Fourier transform of the ground-state two-electron density, Γ0(r1,r2),
 
image file: d2cp02933b-t4.tif(3)
The two-electron density, Γ0(r1,r2), carries information about the probability of the correlated occurrence of a pair of electrons at coordinates r1 and r2 and eqn (3) thus implies that electron–electron correlation is important for total scattering.21,22,43 Correspondingly, the elastic component of the scattering signal, Sel(q), is proportional to the |〈Ψ0|[L with combining circumflex](q)|Ψ0〉|2 term in the sum in eqn (2), which corresponds to the absolute-squared Fourier transform of the ground-state one-electron density, ρ0(r),
 
image file: d2cp02933b-t5.tif(4)
where F(q) is known as the molecular form factor and r are the coordinates of an electron. It is common to define the total inelastic scattering, Sinel(q), as the difference between the total and the elastic scattering,
 
Sinel(q) = Stotal(q) − Sel(q).(5)
In order to correctly benchmark the different components of X-ray scattering, is important to note that their limiting behaviour with respect to the norm of the momentum transfer vector, q = |q|, are F(0) = Sinel(∞) = Ne and F(∞) = Sinel(0) = 0.

As mentioned in the Introduction, a key difference between crystalline and gas-phase targets is the absence of a lattice that coherently amplifies the elastic signal in the latter. This has profound consequences. While elastic scattering in crystallography stems predominantly from the electron density of the target (eqn (4)), the total scattering measured in the gas phase with energy-integrating detectors is sensitive to static and dynamic correlation via the two-electron density (eqn (3)), which incorporates all electron–electron correlations of the system.

2.2 Multiconfigurational wavefunctions

Due to the above-mentioned importance of electron correlation, we anticipate that accurate scattering cross sections will require post Hartree–Fock (HF) methods. Multiconfigurational methods such as complete active space self-consistent field (CASSCF) are capable of capturing a large fraction of the electron correlation44 but fall short of full configuration interaction (FCI), which is exact within the limits of a given basis. In order to quantify the effect of electron correlation on gas-phase X-ray scattering, we compare HF and CASSCF with the highly correlated MCCI method. In each case, the results are benchmarked against truncated CI or, when possible, FCI. While MCCI, alongside FCI and multireference CI (MRCI), is able to capture a great portion of the static and dynamic correlation, methods such as CASSCF often include the latter to a smaller degree, with the quality of the results strongly dependent on the selected active space.

All these methods construct the wavefunction as a linear combination of Slater determinants,

 
image file: d2cp02933b-t6.tif(6)
where the ci are the configuration interaction coefficients, NSD the number of Slater determinants of the expansion, and |ΦSDi〉 the Slater determinants. Each Slater determinant in eqn (6) is an anti-symmetrised Hartree product of spin–orbitals, ϕj(r), where r is the electron coordinate.

In contrast to single-reference methods such as HF, coupled cluster, or Møller–Plesset perturbation theory, FCI considers all possible determinants within a given basis to build the wavefunction. The number of Slater determinants therefore grows combinatorially with the size of the basis. Complete active space (CAS), restricted active space (RAS), and generalised active space (GAS) self-consistent field (SCF) circumvent this problem by restricting the number of occupied orbitals and therefore the number of Slater determinants. These methods are affordable for medium-sized systems, but the selection of a good active space requires experience and chemical intuition. In contrast, MCCI provides an automated, unbiased, and efficient truncation of the FCI expansion by stochastically selecting the smallest number of configurations needed to achieve the desired value of energy convergence and does not require extensive benchmarking to confirm that the active space produces reliable results. The number of configurations included in the MCCI expansion will depend on the cut-off value, which relates to the retention of configurations based on their coefficients. The smaller the cut-off, the more configurations are included, and the closer the result is to FCI. Overall, the flexibility, accuracy, and adaptability of MCCI permits the prediction of exceptionally accurate scattering cross sections.

2.3 One- and two-electron densities

Following eqn (3) and (4), the calculation of elastic and total scattering cross sections requires one- and two-electron densities. These can be calculated directly from the multiconfigurational wavefunction in eqn (6). The two-electron density required for the calculation of the total scattering in eqn (3) is,
 
image file: d2cp02933b-t7.tif(7)
where γklmn are elements of the reduced two-electronic density matrix that are calculated using the configuration interaction coefficients from the multiconfigurational wavefunction and related to the spin–orbitals with indices k, l, m, and n.45 The Norb in eqn (7) is the number of occupied spin–orbitals. This expression can also be used to obtain the two-electron transition density between different electronic states for the simulation of coherent mixed scattering.42,46

Analogously, the one-electron density required to calculate elastic scattering, eqn (4), can be constructed as,

 
image file: d2cp02933b-t8.tif(8)
where Dkl are elements of the reduced one-electron density matrix. They are directly related to the occupation of each spin–orbital and can be easily calculated knowing the Slater determinants involved in the wavefunction.

3 Results and discussion

To demonstrate the influence of the multireference character of the wavefunction on the scattering cross section, we consider three systems with increasing strength of correlation in their electronic ground state: Ne, CO, and O3. We use the 6-31G* basis set for Ne and the 6-31G basis set for CO and O3 throughout to ensure consistency across all methods, up to the computationally demanding FCI reference calculations. In each case, the active spaces for CASSCF and complete active space configuration interaction (CASCI) have been chosen to account for a full-valence description, closing the appropriate orbitals to match the FCI/CISDTQ references. The convergence of scattering cross sections with respect to the basis sets has been analysed elsewhere.28,30 As mentioned before, we do not consider nuclear motion42 and the nuclei are hence treated as frozen, with no integration over nuclear coordinates involved.29 Finally, the results are rotationally averaged, as appropriate when considering static ground-state scattering.

In the following, the computational results are presented and analysed in terms of the percent difference scattering,

 
image file: d2cp02933b-t9.tif(9)
where q is, again, the norm of the momentum-transfer vector, Sκ(q) is the cross section we wish to evaluate (κ is total, elastic, or inelastic), and Srefκ(q) is the corresponding reference cross section calculated using either FCI or truncated CI. We also evaluate the integrated absolute percent difference,
 
image file: d2cp02933b-t10.tif(10)
where we integrate the percent difference on the interval [qmin, qmax] = [0, 20] Å−1. We quantify the degree of multireference character of the wavefunction using the metric ςMR,47,48
 
image file: d2cp02933b-t11.tif(11)
where NSD is the number of Slater determinants and ci are the configuration interaction coefficients introduced in eqn (6). ςMR takes values in the range [0, 1), where ςMR = 0 corresponds to a single determinant and ςMR → 1 indicates that many configurations contribute and a multireference method may be needed. Finally, the degree of convergence of the electronic structure calculations is quantified by the percent recovered correlation energy,
 
image file: d2cp02933b-t12.tif(12)
where EHF is the Hartree–Fock energy, E is the energy calculated using the method of choice, and Ecorr is the correlation energy defined as Ecorr = EHFEref, with Eref the most accurate electronic energy available.

3.1 The Ne atom

We use the closed-shell ground state Ne atom to evaluate the effect of electron correlation on scattering for a system with small multireference character. Fig. 2a shows the percent difference |%ΔIκ| for the total X-ray scattering cross section calculated at different levels of theory, with FCI(1-Frozen)/6-31G* used as the reference. The maximum percent difference for HF/6-31G* and CASSCF(8,8)/6-31G* is ∼2.1%, while for MCCI(0.001)(1-Frozen)/6-31G* it is one order of magnitude more accurate with ∼0.1%. This means that even for Ne, which has weak multireference character (ςMR = 0.08 for the FCI(1-Frozen)/6-31G* wavefunction), a highly correlated wavefunction makes a significant difference in the convergence of the total X-ray scattering cross section. We note that is also true if the coupled cluster singles and doubles (CCSD) two-electron density is used.49 This density can be calculated with the PySCF package,50 and has an error comparable to MCCI(0.001). The similar magnitude of the HF and CASSCF errors suggests that their deviation from the FCI reference stems primarily from their lack of dynamic correlation, well described by both CCSD and MCCI.
image file: d2cp02933b-f2.tif
Fig. 2 Percent differences for total scattering, Δ%Itot(q), calculated using eqn (9) for the following systems in their electronic ground states: (a) Ne, (b) CO (equilibrium geometry, Req = 2.13 a0), (c) CO (stretched geometry, R = 4 a0), (d) O3 (equilibrium geometry). FCI(1-Frozen)/6-31G* and FCI(2-Frozen)/6-31G are used as the references for Ne and CO, while for O3 we used CISDTQ(3-Frozen)/6-31G as the reference. Results are shown for HF, CASSCF, and MCCI(0.001)(1-2-3 Frozen). Further details are provided in the text.

Integrated absolute percent differences, the percent recovered correlation energy, and the numbers of configurations included in each calculation are given in the first column of Table 1. The table shows a close relation between the quality of the results, as measured by the integrated |%ΔItot|, and the percent recovered correlation energy %Ecorr. The small number of Slater determinants included in the MCCI wavefunction (291) compared to FCI (>105), demonstrates the ability of MCCI to capture a significant part of the electron correlation with a compact expansion.

Table 1 Results as a function of the level of theory for Ne, CO (at equilibrium R = 2.13 a0 and stretched to R = 4 a0), and O3. The table includes the integrated absolute total scattering percent differences, |%ΔItot| in eqn (10), the percent recovered correlation energy, %Ecorr in eqn (12), and the number of Slater determinants with a nonzero contribution NSD in the MCCI expansion (a 10−15 cutoff has been used to choose these configurations), which considers 1, 2 and 3 frozen orbitals for Ne, CO and O3 respectively. The total number of configurations has been included in parenthesis for CAS and CASCI methods. The reference is FCI(1-Frozen)/6-31G* for Ne, FCI(2-Frozen)/6-31G CO, and CISDTQ (3-Frozen)/6-31G for O3
Method Ne CO (R = 2.13 a0) CO (R = 4.00 a0) O3
|%ΔItot| %Ecorr N SD |%ΔItot| %Ecorr N SD |%ΔItot| %Ecorr N SD |%ΔItot| %Ecorr N SD
HF 10.1 0 1 5.41 0 1 8.46 0 1 4.09 0 1
CAS 8.33 49 873(4900) 3.54 65 1223(3136) 4.18 69 1315(3136) 2.08 53 12[thin space (1/6-em)]111(48[thin space (1/6-em)]400)
CASCI 2.42 32 1307(3136) 11.6 53 1191(3136) 2.40 54 6079(48[thin space (1/6-em)]400)
MCCI(0.001) 0.65 98 291 0.57 95 1757 0.46 96 3934 0.90 89 6160
CCSD 0.75 98 0.45 96 6.46 46
FCI/CISDTQ 100 125[thin space (1/6-em)]861 100 4[thin space (1/6-em)]777[thin space (1/6-em)]056 100 4[thin space (1/6-em)]777[thin space (1/6-em)]056 100 6[thin space (1/6-em)]526[thin space (1/6-em)]866


3.2 The CO molecule

3.2.1 Equilibrium and stretched geometries. The ground state of CO has significantly larger multireference character than Ne. Although it can, in principle, be described using active-space based methods such as CASSCF, it exhibits non-negligible dynamic correlation, which requires highly correlated wavefunctions, especially for stretched geometries. The multireference character varies strongly with the bond length and in the following we consider the equilibrium geometry (Req ≈ 2.13 a0) and a stretched geometry (R = 4.00 a0) that is close to dissociation and where the wavefunction is most strongly correlated in this work.

Comparing the total scattering percent differences at Req with the FCI(2-Frozen)/6-31G reference, shown in Fig. 2b, we unsurprisingly see that the HF/6-31G calculation displays the largest maximum error at ∼1.9%. This is followed by CASSCF(10,8)/6-31G, which performs better with a maximum error of ∼1.1%, reflecting that the multiconfigurational CASSCF wavefunction recaptures a sizeable portion of the static correlation absent in the HF wavefunction. As for Ne, MCCI(0.001)(2-Frozen)/6-31G outperforms the other methods with a maximum error of ∼0.2%, getting quite close to the FCI reference with only a small fraction of the configurations of FCI (see Table 1). CCSD wavefunctions also perform well with a deviation comparable to the one seen in MCCI, reflecting the small multireference character of equilibrium CO.

Fig. 2b also includes a CASCI(10,8)/6-31G calculation where, in contrast to CASSCF, the HF orbitals have not been re-optimised. Possibly thanks to a larger number of significantly contributing Slater determinants, NSD = 1307 compared to NSD = 1223 for CASSCF, this calculation achieves better convergence of the scattering cross section, with a maximum error of ∼0.6%. It is notable that, although the cross section improves, the energy does not. This is to be expected, since it is the purpose of the orbital re-optimisation in CASSCF to aid the optimisation of the energy. The integrated absolute percent differences are listed in Table 1 alongside the percent recovered correlation energy and the number of Slater determinants.

Examining stretched CO, shown in Fig. 2c, we see similar overall trends as for the molecule's equilibrium structure. However, in this case, CCSD fails to account for the stronger multireference character and its error is comparable to HF. Nevertheless, the comparison between CASSCF and CASCI displays an interesting difference. As before, the orbital-optimisation decreases the energy but the orbital-frozen calculation yields worse scattering cross sections compared to CASSCF. The cause of this discrepancy is most likely the smaller number of non-zero Slater determinants in the CASCI calculation (Table 1). However, one should be cautious not to draw too general conclusions about the link between the number of Slater determinants in the wavefunction and the convergence of the scattering cross section. The latter is clearly also a question of including the correct configurations, as illustrated by the fact that the MCCI calculations manage to capture a large portion of the electron correlation and converge the scattering cross sections close to the FCI reference with significantly more compact expansions.

3.2.2 Scanning the CO bond length. To examine the influence of the strength of electron correlation on the total X-ray scattering cross sections in greater detail, calculations were carried out for a series of increasing bond lengths of CO. The multireference character increases as the bond stretches, as seen by the values of ςMR included in Table 2. The table also contains the integrated absolute percent difference of the scattering signal, the maximum error, the number of configurations in the MCCI wavefunction, and the respective data for HF for comparison. The bond length is scanned over the range from 1.5 a0 to 4.0 a0, with a HF/6-31G and a MCCI(0.0005)/6-31G calculation carried out at each bond length and a FCI/6-31G calculation taken as the reference. MCCI expectedly outperforms HF, with the failure of HF increasing as the bond stretches. At the same time, MCCI is forced to include larger numbers of Slater determinants to achieve the same convergence for all bond lenghts, with NSD increasing from 2398 at the minimum to 8059 at the maximum bond length. However, despite the increasing effort required to converge the calculations, the maximum errors and |%ΔItot| remain fairly constant, demonstrating the flexibility and adaptability of MCCI.
Table 2 Results for different bond lengths R of ground-state CO using MCCI(0.0005)(2-Frozen)/6-31G, with FCI(2-Frozen)/6-31G calculations taken as the reference. The table includes the number of configurations NSD included in the MCCI expansion, the multireference character, ςMR, defined in eqn (11), the integrated absolute percent difference for total scattering, |%Itot|, defined in eqn (10), and the maximum percent difference thereof, max|%Itot|. The percent recovered correlation energy (eqn (12)) is %Ecorr ≈ 97% for the MCCI calculations and zero by definition for HF
R (a0) MCCI HF
N SD ς MR |%ΔItot| max(|%ΔItot|) |%ΔItot| max(|%ΔItot|)
1.5 2398 0.09 0.14 0.07 2.63 1.32
2.13 3997 0.17 0.17 0.11 2.87 1.79
2.5 5418 0.25 0.18 0.12 3.11 2.11
3.0 6797 0.43 0.19 0.10 3.62 2.80
3.5 7967 0.85 0.20 0.12 3.77 3.81
4.0 8059 0.95 0.19 0.13 5.73 4.79


Fig. 3 shows the percent difference as a function of q with FCI/6-31G as the reference for a sequence of increasing bond lengths that correspond to the calculations featured in Table 2. Overall, the results at different bond lengths are quite similar, with the values oscillating between 0.02% and 0.12%. The maximum errors occur for values of q between 2.0 Å−1 and 4.0 Å−1, where the electron correlation manifests most strongly. In this region of q, the scattering is to a large part inelastic but has not yet reached the large-q limit, Sinel(∞) = Ne. We note that the reciprocal relationship between real and momentum space causes the maxima of the scattering signal to shift to smaller values of q with increasing bond length. Also, the second peak in the percent difference relates to the appearance of a second maximum in the scattering signal when the atoms are separated by more than R = 3 a0.


image file: d2cp02933b-f3.tif
Fig. 3 Percent differences for total X-ray scattering from CO calculated at a sequence of bond lengths R ranging from 1.5 to 4.0 a0 (solid blue lines). The cross sections are calculated using MCCI(0.0005)(2-Frozen)/6-31G with FCI(2-Frozen)/6-31G used as the reference. (To aid comparison, the result from the preceding R value is included as a faint red line in the panels for R > 1.5 a0.)

3.3 The O3 molecule

3.3.1 Total scattering. The final system considered is O3. Ozone is well known for having a strong multireference character in its electronic ground state. Although it can be reasonably well described by statically correlated methods such as CASSCF,51 highly-correlated methods are expected to achieve significantly better results. Fig. 2d and Table 1 show the total X-ray scattering percent differences and other results including the notably high multireference character of ςMR = 0.38 for the molecule in its equilibrium geometry. The curves show the same trends as in the previous examples. Again, as appears to be the case for systems with strong dynamic correlation, the HF and CASSCF results have large errors, though CASSCF and CASCI perform better. As a consequence, the cross sections obtained with these methods differ greatly from the CI singles, doubles, triples, and quadruples (CISDTQ) reference. Also, at an MCCI cut-off 0.001 the error is high compared to the other calculations presented in this article, reflecting that the large multireference character of O3 requires more Slater determinants and thus a smaller cut-off value for the scattering cross sections to converge. In the next two sections, we use O3 to systematically examine the convergence of scattering cross sections for the different components of X-ray scattering and as a function of the cut-off in the MCCI calculations.
3.3.2 Convergence of scattering components. We begin by examining how the degree of electron correlation affects the convergence of the elastic, inelastic, and total scattering cross sections. Fig. 4 shows the percent difference for each of these components for a range of MCCI cut-offs freezing 3 orbitals with CISDTQ(3-Frozen)/6-31G used as the reference. A comparison of the total and elastic scattering in Fig. 4a and Fig. 4b, respectively, manifests the importance of electron correlation for total scattering. The percent differences are significantly larger and the convergence with decreasing cut-offs is slower than for elastic scattering. This is further confirmed by examination of the inelastic component, calculated as the difference between the total and elastic scattering (eqn 5), shown in Fig. 4c. The inelastic cross sections clearly have the largest percent difference errors. It is thus the inelastic component that is most strongly affected by the electron correlation and correspondingly displays the slowest convergence with respect to the MCCI cut-off.
image file: d2cp02933b-f4.tif
Fig. 4 Percent differences as a function of MCCI(3-Frozen) cut-offs for (a) total, (b) elastic, and (c) inelastic X-ray scattering cross sections for ground-state O3 in its equilibrium geometry. The percent differences Δ%Itot/elas/inel(q) are calculated using eqn (9) with CISDTQ(3-Frozen)/6-31G taken as the reference. The percent differences at q ∼ 0 Å−1 and q ∼ 15 Å−1 have been filtered out as they are highly sensitive to numerical errors. Also, the area between 0 < q < 0.5 Å−1 has been shaded to indicate that numerical instabilities are likely to occur in this region. Panel (d) shows the integrated absolute percent differences |%ΔItot| with the corresponding ΔE in electronvolts.

We note, however, that the relative errors of the inelastic scattering cross sections at low values of q in Fig. 4c do not provide reliable information about the signal's convergence. These errors should be considered largely a numerical artefact that stems from the division by a small reference value since inelastic scattering is weak at low momentum transfer (at q = 0, it is exactly zero). This is different for elastic and total scattering, which are largest at q = 0. Nevertheless, even for elastic and total scattering, it is of limited use to evaluate the performance of an electronic structure method in the low momentum-transfer region. At q = 0, they are proportional to the squared number of the molecule's electrons, not affected by electron correlation, and thus, in principle, identical for all methods. To indicate that one should interpret the respective relative errors of the inelastic component with caution, the region of low q in Fig. 4c is shaded. The effect of electron correlation reliably manifests itself in the region of intermediate momentum transfer, roughly between 1.5 Å−1 and 6.0 Å−1.

3.3.3 Convergence with MCCI cut-off. We now examine the effect of the MCCI(3-Frozen) cut-off value on the cross sections, using O3 as an example. The cut-off value defines the degree of energy convergence and implies the necessary tradeoff between accuracy and speed of the calculations. The results are displayed in Fig. 4 and in Table 3. Fig. 4a shows the percent differences for the total scattering cross sections. The error decreases dramatically for cut-offs smaller than 0.001 and the gains for 0.00005 over 0.0001 are small. Fig. 4a also demonstrates that large cut-offs (0.01 and 0.005) result in comparatively large errors, close to the CASSCF results. These trends are repeated for elastic (Fig. 4b) and inelastic (Fig. 4c) scattering. We note that the comparison of the errors of the total (Fig. 4a) and elastic (Fig. 4b) scattering shows that the elastic errors are significantly smaller, emphasising yet again the important role of electron correlation for total scattering. However, the decreases in the errors as a function of decreasing cut-off follow a similar trend for all three components of the scattering signal in Fig. 4a–c.
Table 3 Integrated percent differences |%ΔIx| for total (tot), elastic (elas), and inelastic (inel) scattering as a function of the MCCI(3-Frozen) cut-off in ground-state equilibrium O3. The integrated percent differences are re-normalised by their value for MCCI(0.01)(3-Frozen) for clarity. Reference values are taken from CISDTQ(3-Frozen)/6-31G. The percent recovered correlation energy %Ecorr is used as a proxy for ab initio convergence
Cutoff |%ΔItot| |%ΔIelas| |%ΔIinel| %Ecorr N SD
0.01 1.00 0.44 0.63 50 215
0.005 0.57 0.20 0.45 90 786
0.001 0.16 0.05 0.19 92 6160
0.0005 0.13 0.05 0.14 98 12[thin space (1/6-em)]961
0.0001 0.05 0.02 0.04 99 149[thin space (1/6-em)]850
0.00005 0.02 0.01 0.02 100 393[thin space (1/6-em)]620
CISDTQ 100 6[thin space (1/6-em)]525[thin space (1/6-em)]866


Finally, we examine the relationship between the convergence of the calculated energies and the scattering signals. Fig. 4d shows the integrated absolute percent differences for total X-ray scattering (red bars) alongside the corresponding correlation energies for the MCCI calculations (blue bars) for decreasing cut-offs. The convergence of the energy and the scattering cross sections follows the same trend, as seen previously. The rate of convergence is also similar, with both quantities converging at the same rate towards a negligible energy and scattering difference beyond the 0.001 cut-off.

3.4 Further examinations of MCCI

3.4.1 Pre-optimisation. The standard variant of MCCI selects among the Slater determinants constructed from the occupied and virtual HF orbitals. The number of Slater determinants necessary to achieve a given degree of convergence can therefore be quite large and sometimes even intractable. One approach to tackle this is to pre-optimise the orbitals with a multiconfigurational SCF method such as CASSCF and then use the optimised orbitals instead of the canonical HF orbitals. This can reduce the total number of required Slater determinants and, while the orbital optimisation is expensive, the reduction in NSD can speed up the overall calculation significantly.

The orbital optimisation is performed within a given active space and for a chosen set of electronic states. Here, we use equilibrium-geometry CO and O3 in their electronic ground states to investigate the effect of orbital pre-optimisation on the scattering cross sections. We calculate the total scattering cross sections and compare them to FCI(3-Frozen)/6-31G and CISDTQ(3-Frozen)/6-31G references, respectively, using CAS(14,10) pre-optimised orbitals in each case. The results for a 0.0001 MCCI cut-off are shown in Fig. 5. A notable improvement is achieved in the cross sections when pre-optimised orbitals are used. The calculations of the two-electron density and of the cross sections are faster, since the pre-optimised orbital approach reduces the number of Slater determinants required. Likewise, the energies improve slightly when the pre-optimisation is used. The results are summarised in Table 4. We note, however, that this advantage is diminished by the additional computational overhead of the pre-optimisation.


image file: d2cp02933b-f5.tif
Fig. 5 Percent differences for total scattering cross sections calculated using MCCI(0.0001) with and without orbital pre-optimisation for (a) CO and (b) O3. Both molecules are in their electronic ground states and equilibrium geometries. FCI(2-Frozen)/6-31G is used as the reference for CO and CISDTQ(3-Frozen)/6-31G for O3.
Table 4 Comparison between MCCI(0.0001) (with 2 frozen orbitals for CO and 3 for O3) calculations using a configuration space derived from the standard HF orbitals and from pre-optimised (preopt) orbitals for the CO and O3 in their electronic ground states and equilibrium geometries. Total X-ray scattering integrated percent differences |%ΔItot|, percent recovered correlation energy %Ecorr, and number of configurations NSD are shown using FCI(2-Frozen)/6-31G and CISDTQ(3-Frozen)/6-31G calculations as the references
Method CO O3
|%ΔItot| %Ecorr N SD |%ΔItot| %Ecorr N SD
MCCI(0.0001) 0.08 99.5 25960 0.28 98 149[thin space (1/6-em)]850
MCCI(0.0001)/preopt 0.07 99.6 20495 0.20 99 111[thin space (1/6-em)]180


3.4.2 MCCI stochasticity. MCCI is a stochastic method and the selected Slater determinants will vary from one calculation to another. We examine how this stochastic behaviour affects the cross sections and consider whether further statistical analysis should be prescribed as part of the MCCI procedure, e.g., carrying out multiple calculations at each cut-off and using the average and the standard deviation. We carry out this test on a set of ten MCCI(0.001)(3-Frozen) calculations for O3 in its electronic ground state at equilibrium geometry. The results for the total cross sections are analysed statistically, particularly looking at the variability as a function of the absolute momentum transfer q.

Fig. 6 shows the variability of the MCCI cross sections at different values of q. The standard error Est(q) is defined as,

 
image file: d2cp02933b-t13.tif(13)
where Istd.dev.(q) is the standard deviation for the Ns samples considered. The variability is greatest at intermediate values of q, where the accuracy of the wavefunction plays an important role, while it is negligible for very small and large values of q. However, the magnitude of the percent error is extremely small with maxima around Est = 0.001%, confirming that it is not necessary to carry out a statistical analysis when using MCCI. Looking at the mean average integrated value of the scattering, 708.88, and the standard deviation of 0.0047, the stability of the MCCI results becomes even clearer, with the standard deviation amounting to only 0.0001% of the integrated signal. These findings are in agreement with previous studies that examined the second hyperpolarisability,48 X-ray emission,52 and energies.53


image file: d2cp02933b-f6.tif
Fig. 6 The standard error Est as a function of the momentum transfer vector q calculated using eqn (13). A sampling space of Ns = 10 MCCI(0.001)(3-Frozen)/6-31G calculations is used.

4 Conclusion

We have demonstrated that electron–electron correlation influences X-ray scattering cross sections, with stronger effects seen in the inelastic and total components. In order to accurately converge the total scattering signal, correlation must be accounted for even in comparably simple systems such as the Ne atom. In this context, MCCI emerges as a powerful method, capable of reproducing FCI results at a fraction of their computational cost. Notably, MCCI delivers compact and highly correlated wavefunctions that yield accurate scattering cross sections even in challenging cases. Possible future work includes examining if there are general patterns in how the approximations involved in different ab initio methods translate into scattering signals for different values of the momentum transfer q and a detailed examination of basis set effects in MCCI. However, the present results clearly demonstrate that MCCI is a strong option for calculating highly accurate X-ray scattering cross sections.

For elastic scattering, mean-field methods such as HF already offer a significant improvement over the independent atom model (IAM),26,28,54 quite possibly delivering all the accuracy needed to reproduce accurate measurements of the elastic signals in X-ray crystallography, as in the burgeoning field of quantum crystallography.55 Given that IAM form factors are occasionally used outside the realm of crystallography, one might consider updating tabulated non-relativistic IAM inelastic scattering functions56 using post-HF methods, which would constitute a potential extension of the work presented in this article.

Importantly, for gas-phase experiments that measure total rather than elastic scattering, electron correlation should ideally be included via methods such as for instance MCCI or density matrix renormalization group (DMRG).57,58 One context of growing importance is ultrafast X-ray scattering.42,46,59–64 As demonstrated recently, the accuracy achievable in gas-phase scattering is now sufficient to distinguish different electronic states.20 Considering the progress towards high-repetition rate and high-energy modes at the European XFEL and the next-generation LCLS-II, it is reasonable to anticipate that measurements on static molecules in the gas phase could achieve large values of qmax and experimental accuracy on the order of 0.1% or less. Such measurements would provide exciting opportunities to probe the electronic structure of atoms and molecules in a manner complementary to spectroscopy and with a direct link between the observable and the two-electron density. Conceivably, future experiments may achieve such measurements on rotationally aligned molecules, further increasing the amount of information available in the experimental data.10,65 The coming years are likely to see rapid progress towards an experimental-evidence based understanding of electron correlation.

Conflicts of interest

There are no conflicts to declare.

Acknowledgements

Funding from the Engineering and Physical Sciences Research Council UK (EPSRC) is gratefully acknowledged: EP/V006819 (A. K. and A. M. C.), EP/V049240 (A. K. and M. S.), EP/V006746 (M. J. P. and J. P. C.), EP/P001459 (M. J. P.), and EP/T021675 (M. J. P.). M. J. P. and A. K. also acknowledge support from the Leverhulme Trust (RPG-2020-208). Finally, A. K. acknowledges a Fellowship at the Swedish Collegium for Advanced Studies supported by the Erling-Persson Family Foundation and the Knut and Alice Wallenberg Foundation, as well as support by the Department of Energy, Office of Science, Basic Energy Sciences, under award number DE-SC0020276.

Notes and references

  1. M. V. Laue, Nobelprize.org, Nobel Media AB 2014, 1915 Search PubMed.
  2. W. H. Bragg and W. L. Bragg, Nature, 1913, 91, 557 CrossRef.
  3. M. H. Pirenne, The Diffraction of X-Rays and Electrons by Free Molecules, Cambridge University Press, London, 1946 Search PubMed.
  4. J. D. Watson and F. H. C. Crick, Nature, 1953, 171, 737–738 CrossRef CAS PubMed.
  5. M. Perutz, Proc. R. Soc. London, Ser. A, 1954, 225, 287 Search PubMed.
  6. D. C. Hodgkin, J. Kamper, M. Mackay, J. Pickworth, K. N. Trueblood and J. G. White, Nature, 1956, 178, 64 EP CrossRef.
  7. P. Debye, L. Bewilogua and F. Ehrhardt, Phys. Zeits., 1929, 30, 84 CAS.
  8. P. Debye, Phys. Zeits., 1930, 31, 419–428 CAS.
  9. I. Hargittai and M. Hargittai, Stereochemical applications of gas-phase electron diffraction: Part A The Electron Diffraction Technique, VCH, New York, 1st edn, 1988 Search PubMed.
  10. J. Küpper, S. Stern, L. Holmegaard, F. Filsinger, A. Rouzée, A. Rudenko, P. Johnsson, A. V. Martin, M. Adolph, A. Aquila, S. Bajt, A. Barty, C. Bostedt, J. Bozek, C. Caleman, R. Coffee, N. Coppola, T. Delmas, S. Epp, B. Erk, L. Foucar, T. Gorkhover, L. Gumprecht, A. Hartmann, R. Hartmann, G. Hauser, P. Holl, A. Hömke, N. Kimmel, F. Krasniqi, K.-U. Kühnel, J. Maurer, M. Messerschmidt, R. Moshammer, C. Reich, B. Rudek, R. Santra, I. Schlichting, C. Schmidt, S. Schorb, J. Schulz, H. Soltau, J. C. H. Spence, D. Starodub, L. Strüder, J. Thøgersen, M. J. J. Vrakking, G. Weidenspointner, T. A. White, C. Wunderer, G. Meijer, J. Ullrich, H. Stapelfeldt, D. Rolles and H. N. Chapman, Phys. Rev. Lett., 2014, 112, 083002 CrossRef.
  11. M. P. Minitti, J. M. Budarz, A. Kirrander, J. Robinson, T. J. Lane, D. Ratner, K. Saita, T. Northey, B. Stankus, V. Cofer-Shabica, J. Hastings and P. M. Weber, Faraday Discuss., 2014, 171, 81 RSC.
  12. M. Stefanou, K. Saita, D. V. Shalashilin and A. Kirrander, Chem. Phys. Lett., 2017, 683, 300–305 CrossRef CAS.
  13. L. Ma, H. Yong, J. D. Geiser, A. Moreno Carrascosa, N. Goff and P. M. Weber, Struct. Dyn., 2020, 7, 034102 CrossRef CAS.
  14. M. P. Minitti, J. M. Budarz, A. Kirrander, J. S. Robinson, D. Ratner, T. J. Lane, D. Zhu, J. M. Glownia, M. Kozina, H. T. Lemke, M. Sikorski, Y. Feng, S. Nelson, K. Saita, B. Stankus, T. Northey, J. B. Hastings and P. M. Weber, Phys. Rev. Lett., 2015, 114, 255501 CrossRef CAS.
  15. H. Yong, N. Zotev, B. Stankus, J. M. Ruddock, D. Bellshaw, S. Boutet, T. J. Lane, M. Liang, S. Carbajo, J. S. Robinson, W. Du, N. Goff, Y. Chang, J. E. Koglin, M. D. J. Waters, T. I. Sølling, M. P. Minitti, A. Kirrander and P. M. Weber, J. Phys. Chem. Lett., 2018, 9, 6556–6562 CrossRef CAS PubMed.
  16. B. Stankus, H. Yong, N. Zotev, J. M. Ruddock, D. Bellshaw, T. J. Lane, M. Liang, S. Boutet, S. Carbajo, J. S. Robinson, W. Du, N. Goff, Y. Chang, J. E. Koglin, M. P. Minitti, A. Kirrander and P. M. Weber, Nat. Chem., 2019, 11, 716–721 CrossRef CAS PubMed.
  17. J. M. Ruddock, N. Zotev, B. Stankus, H.-W. Yong, D. Bellshaw, S. Boutet, T. J. Lane, M. Liang, S. Carbajo, W. Du, A. Kirrander, M. P. Minitti and P. M. Weber, Angew. Chem., Int. Ed., 2019, 58, 6371–6375 CrossRef CAS.
  18. J. M. Ruddock, H. Yong, B. Stankus, W. Du, N. Goff, Y. Chang, A. Odate, A. M. Carrascosa, D. Bellshaw, N. Zotev, M. Liang, S. Carbajo, J. Koglin, J. S. Robinson, S. Boutet, A. Kirrander, M. P. Minitti and P. M. Weber, Sci. Adv., 2019, 5, eaax6625 CrossRef CAS PubMed.
  19. H. Yong, N. Zotev, J. M. Ruddock, B. Stankus, M. Simmermacher, A. M. Carrascosa, W. Du, N. Goff, Y. Chang, D. Bellshaw, M. Liang, S. Carbajo, J. E. Koglin, J. S. Robinson, S. Boutet, M. P. Minitti, A. Kirrander and P. M. Weber, Nat. Commun., 2020, 11, 2157 CrossRef CAS PubMed.
  20. H. Yong, S. M. Cavaletto and S. Mukamel, J. Phys. Chem. Lett., 2021, 12, 9800–9806 CrossRef CAS.
  21. L. Bartell and R. Gavin, J. Am. Chem. Soc., 1964, 86, 3493–3498 CrossRef CAS.
  22. L. Bartell and R. Gavin, J. Chem. Phys., 1965, 43, 856–861 CrossRef CAS.
  23. A. Debnarova and S. Techert, J. Chem. Phys., 2006, 125, 224101 CrossRef PubMed.
  24. A. Debnarova, S. Techert and S. Schmatz, J. Chem. Phys., 2010, 133, 124309 CrossRef PubMed.
  25. A. Debnarova, S. Techert and S. Schmatz, J. Chem. Phys., 2011, 134, 054302 CrossRef PubMed.
  26. T. Northey, N. Zotev and A. Kirrander, J. Chem. Theory Comput., 2014, 10, 4911–4920 CrossRef CAS PubMed.
  27. H. J. Suominen and A. Kirrander, Phys. Rev. Lett., 2014, 112, 043002 CrossRef PubMed.
  28. T. Northey, A. M. Carrascosa, S. Schäfer and A. Kirrander, J. Chem. Phys., 2016, 145, 154304 CrossRef PubMed.
  29. A. M. Carrascosa, T. Northey and A. Kirrander, Phys. Chem. Chem. Phys., 2017, 19, 7853–7863 RSC.
  30. A. M. Carrascosa and A. Kirrander, Phys. Chem. Chem. Phys., 2017, 19, 19545–19553 RSC.
  31. G. Hermann, V. Pohl, J. C. Tremblay, B. Paulus, H.-C. Hege and A. Schild, J. Comput. Chem., 2016, 37, 1511–1520 CrossRef CAS.
  32. V. Pohl, G. Hermann and J. C. Tremblay, J. Comput. Chem., 2017, 38, 1515–1527 CrossRef CAS PubMed.
  33. G. Hermann, V. Pohl and J. C. Tremblay, J. Comput. Chem., 2017, 38, 2378–2387 CrossRef CAS PubMed.
  34. R. M. Parrish and T. J. Martínez, J. Chem. Theory Comput., 2019, 15, 1523–1537 CrossRef CAS PubMed.
  35. A. M. Carrascosa, H. Yong, D. L. Crittenden, P. M. Weber and A. Kirrander, J. Chem. Theory Comput., 2019, 15, 2836–2846 CrossRef.
  36. N. Zotev, A. Moreno Carrascosa, M. Simmermacher and A. Kirrander, J. Chem. Theory Comput., 2020, 16, 2594–2605 CrossRef CAS PubMed.
  37. J. Greer, J. Comput. Phys., 1998, 146, 181–202 CrossRef.
  38. L. Tong, M. Nolan, T. Cheng and J. Greer, Comput. Phys. Commun., 2000, 131, 142–163 CrossRef CAS.
  39. N. E. Henriksen and K. B. Møller, J. Phys. Chem. B, 2008, 112, 558 CrossRef CAS PubMed.
  40. G. Dixit, O. Vendrell and R. Santra, Proc. Natl. Acad. Sci. U. S. A., 2012, 109, 11636 CrossRef CAS PubMed.
  41. W. Schülke, Electron Dynamics by Inelastic X-Ray Scattering, Oxford Science Publications, 1st edn, 2007 Search PubMed.
  42. M. Simmermacher, A. Moreno Carrascosa, N. E. Henriksen, K. B. Møller and A. Kirrander, J. Chem. Phys., 2019, 151, 174302 CrossRef PubMed.
  43. R. A. Bonham and M. Fink, High Energy Electron Scattering, Van Nostrand Reinhold Company, ACS Monograph, 169 edn, 1974 Search PubMed.
  44. C. J. Stein, V. von Burg and M. Reiher, J. Chem. Theory Comput., 2016, 12, 3764–3773 CrossRef CAS PubMed.
  45. J. P. Coe, A. M. Carrascosa, M. Simmermacher, A. Kirrander and M. J. Paterson, J. Chem. Theory Comput., 2022 Search PubMed , submitted.
  46. M. Simmermacher, N. E. Henriksen, K. B. Møller, A. Moreno Carrascosa and A. Kirrander, Phys. Rev. Lett., 2019, 122, 073003 CrossRef CAS PubMed.
  47. J. P. Coe and M. J. Paterson, J. Chem. Theory Comput., 2015, 11, 4189–4196 CrossRef CAS PubMed.
  48. J. P. Coe and M. J. Paterson, J. Chem. Phys., 2014, 141, 124118 CrossRef CAS PubMed.
  49. R. J. Bartlett and M. Musiał, Rev. Mod. Phys., 2007, 79, 291–352 CrossRef CAS.
  50. Q. Sun, T. C. Berkelbach, N. S. Blunt, G. H. Booth, S. Guo, Z. Li, J. Liu, J. D. McClain, E. R. Sayfutyarova, S. Sharma, S. Wouters and G. K.-L. Chan, Wiley Interdiscip. Rev.: Comput. Mol. Sci., 2018, 8, e1340 Search PubMed.
  51. S. Keller, K. Boguslawski, T. Janowski, M. Reiher and P. Pulay, J. Chem. Phys., 2015, 142, 244104 CrossRef PubMed.
  52. J. P. Coe and M. J. Paterson, Theor. Chem. Acc., 2015, 134, 58 Search PubMed.
  53. J. P. Coe, D. J. Taylor and M. J. Paterson, J. Chem. Phys., 2012, 137, 194111 CrossRef PubMed.
  54. T. Northey and A. Kirrander, J. Phys. Chem. A, 2019, 123, 3395–3406 CrossRef CAS PubMed.
  55. Modern Charge-Density Analysis, ed. C. Gatti and P. Macchi, Springer, Netherlands, 1st edn, 2012 Search PubMed.
  56. J. H. Hubbell, W. J. Veigele, E. A. Briggs, R. T. Brown, D. T. Cromer and R. J. Howerton, J. Phys. Chem. Ref. Data, 1975, 4, 471–538 CrossRef CAS.
  57. K. H. Marti and M. Reiher, Z. Phys. Chem., 2010, 224, 583–599 CrossRef CAS.
  58. S. Wouters and D. V. Neck, Eur. Phys. J. D, 2014, 68, 1–20 CrossRef CAS.
  59. J. M. Budarz, M. P. Minitti, D. V. Cofer-Shabica, B. Stankus, A. Kirrander, J. B. Hastings and P. M. Weber, J. Phys. B, 2016, 49, 034001 CrossRef.
  60. B. Stankus, H. Yong, J. Ruddock, L. Ma, A. Moreno Carrascosa, N. Goff, S. Boutet, X. Xu, N. Zotev, A. Kirrander, M. P. Minitti and P. M. Weber, J. Phys. B: At., Mol. Opt. Phys., 2020, 53, 234004 CrossRef.
  61. A. Odate, A. Kirrander, P. M. Weber and M. P. Minitti, Adv. Phys. X, 2022 Search PubMed , under submission.
  62. A. Kirrander, K. Saita and D. V. Shalashilin, J. Chem. Theory Comput., 2016, 12, 957–967 CrossRef CAS PubMed.
  63. A. Kirrander and P. M. Weber, Appl. Sci., 2017, 7, 534 CrossRef.
  64. M. Simmermacher, N. E. Henriksen and K. B. Møller, Phys. Chem. Chem. Phys., 2017, 19, 19740–19749 RSC.
  65. J. Yang, V. Makhija, V. Kumarappan and M. Centurion, Struct. Dyn., 2014, 1, 044101 CrossRef PubMed.

Footnotes

For FCI the method dependence in the value of ςMR is removed. However, the value of ςMR may remain sensitive to the orbitals used.
MCCI(0.001) indicates that the MCCI cutoff is 0.001, while ‘(N-Frozen)’ indicates that the number of frozen orbitals is N.

This journal is © the Owner Societies 2022
Click here to see how this site uses Cookies. View our privacy policy here.