Introduction

Matter at extreme temperatures (\(T\sim 10^{3}-10^8\,\)K) and pressures (\(P\sim 1-10^{4}\,\)Mbar) is ubiquitous throughout nature1,2 and occurs within astrophysical objects such as giant planet interiors3 and brown dwarfs4. In addition, such high energy density (HED) conditions can be realized in the laboratory using different techniques5,6. Prominent examples include inertial confinement fusion7 as it is realized at the National Ignition Facility (NIF)8, and isochoric heating using free-electron X-ray laser beams9. Indeed, there have been a number of spectacular experimental achievements over the last years, including the observation of diamond formation at planetary interior conditions by Kraus et al.10,11 and a number of breakthroughs related to nuclear fusion at NIF12,13,14.

However, the extreme conditions render the diagnostics a formidable challenge as often even basic parameters such as the temperature cannot be directly measured. Instead, they have to be inferred indirectly from other observations. In this regard, the X-ray Thomson scattering (XRTS) technique15,16 has emerged as a widely used tool that is available both in the HED regime9,17,18 and at ambient conditions19. The measured XRTS intensity \(I(\textbf{q},\omega )\) (with \(\textbf{q}\) and \(\omega\) being the scattering momentum and energy, respectively) can be expressed as20

$$\begin{aligned} I(\textbf{q},\omega ) =A\, S_{ee}(\textbf{q},\omega ) \circledast R(\omega ), \end{aligned}$$
(1)

with \(S_{ee}(\textbf{q},\omega )\) being the electron–electron dynamic structure factor and \(R(\omega )\) being the combined source and instrument function (SIF). The latter is often known from either separate source monitoring or the characterization of backlighter sources21. Moreover, A denotes a normalization constant that is a priori unknown.

In practice, the numerical deconvolution of Eq. (1) to extract \(S_{ee}(\textbf{q},\omega )\) is unstable due to the noise in the experimental data. Therefore, the traditional way to interpret an XRTS signal is to construct a model \(S_\text {model}(\textbf{q},\omega )\) and then convolve it with \(R(\omega )\). Comparing with the experimental signal then allows one to obtain the unknown variables such as the temperature, which are being treated as free parameters22. On the one hand, this forward modeling procedure gives one access e.g. to the equation-of-state23,24, which is of prime importance for a gamut of practical applications. On the other hand, the inferred system parameters can strongly depend on the employed model assumptions, such as the Chihara decomposition into bound and free electrons25,26.

Very recently, Dornheim et al.20,27,28 have suggested to instead analyze the two-sided Laplace transform of \(S_{ee}(\textbf{q},\omega )\),

$$\begin{aligned} F_{ee}(\textbf{q},\tau ) = \mathscr {L}\left[ S_{ee}(\textbf{q},\omega )\right] =\int _{-\infty }^\infty \text {d}\omega \ e^{-\hbar \omega \tau } S_{ee}(\textbf{q},\omega )\, \end{aligned}$$
(2)

which has a number of key advantages. First, the deconvolution with respect to the SIF is straightforward in the Laplace domain, see Eq. (3) below. Second, the Laplace transform is remarkably robust with respect to noise in the intensity20. Third, Eq. (2) directly corresponds to the imaginary-time correlation function (ITCF) \(F_{ee}(\textbf{q},\tau )\)28. The latter corresponds to the usual intermediate scattering function \(F_{ee}(\textbf{q},t)\), but evaluated at an imaginary argument \(t=-i\hbar \tau\), with \(\tau \in [0,\beta ]\) and \(\beta =1/k_\text {B}T\) being the usual inverse temperature. In thermodynamic equilibrium, \(F_{ee}(\textbf{q},\tau )\) is symmetric around \(\tau =\beta /2\), which means that Eq. (2) allows one to extract the temperature without any models or approximations20,27.

While the ITCF, by definition, contains exactly the same information as \(S_{ee}(\textbf{q},\omega )\)28,29, knowing its proper normalization is crucial for the extraction of other system parameters beyond the temperature. For example, the relation \(S_{ee}(\textbf{q})=F_{ee}(\textbf{q},\tau =0)\) then gives one direct access to the electron–electron static structure factor. Moreover, absolute knowledge of the ITCF will potentially open the way toward experimental measurements of the exchange–correlation kernel [cf. Eq. (12)] of real materials, which will be of high value for the benchmarking and further development of ab initio density functional theory (DFT) simulations30,31,32,33. Other important parameters that are encoded into \(F_{ee}(\textbf{q},\tau )\), but cannot be obtained from its symmetry alone, include the number density n and the ionization degree Z, which are of key importance for equation-of-state tables23,24.

In this work, we overcome this obstacle without the need for empirical parameters, models or approximations. Specifically, we demonstrate how to determine the normalization of an XRTS signal by utilizing the well-known f-sum rule in the imaginary-time domain. Our method works for all wave numbers covering both the collective and the single-particle regime. We apply it to measurements at HED conditions taken at NIF34 and ambient conditions investigated at the European XFEL35. Finally, the general validity of the f-sum rule makes it available even in the case of nonequilibrium36.

Theory

A key advantage of the two-sided Laplace transform defined in Eq. (2) above is the convolution theorem

$$\begin{aligned} AF_{ee}(\textbf{q},\tau )=A\mathscr {L}\left[ S_{ee}(\textbf{q},\omega )\right] = \frac{\mathscr {L}\left[ I(\textbf{q},\omega ) \right] }{\mathscr {L}\left[ R(\omega )\right] }, \end{aligned}$$
(3)

which gives us straightforward access to \(A F_{ee}(\textbf{q},\tau )\). The numerical stability of Eq. (3) with respect to experimental noise has been analyzed in detail in Ref.20.

To determine the normalization constant A, we consider the frequency moments of the dynamic structure factor29

$$\begin{aligned} M_\alpha ^{S} = \int _{-\infty }^\infty \text {d}\omega \ S_{ee}(\textbf{q},\omega )\ \omega ^\alpha \ . \end{aligned}$$
(4)

It is easy to see that all positive integer \(M_\alpha ^{S}\) can be obtained from \(\tau\)-derivatives of the ITCF around \(\tau =0\)28,37,

$$\begin{aligned} M_\alpha ^{S}= \frac{\left( -1 \right) ^\alpha }{\hbar ^\alpha } \left. \frac{\partial ^\alpha }{\partial \tau ^\alpha } F_{ee}(\textbf{q},\tau ) \right| _{\tau =0} \ . \end{aligned}$$
(5)

We note that Eq. (5) has been employed in the recent Ref.37 to extract \(M^S_\alpha\) up to fifth order from ab initio path integral Monte Carlo (PIMC) simulations of the warm dense electron gas over a broad range of wavenumbers. The final ingredient to our approach is given by the well-known f-sum rule38,39. It is an expression of particle (charge) conservation and a very profound property of any system that does require in its derivation nothing beyond the (almost always) fulfilled requirement that the Hamiltonian of the system commutes with the density operator. This is easily the case for equilibrium, but also applies to almost all non-equilibrium situations and for homogeneous and inhomogeneous systems.

The f-sum rule states that \(M_1^S=\hbar q^2/2m_\text {e}\), which, when being combined with Eqs. (3) and (5), leads to the relation

$$\begin{aligned} A = \left. - \frac{2m_e}{(\hbar q)^2} \frac{\partial }{\partial \tau } \frac{\mathscr {L}\left[ I(\textbf{q},\omega )\right] }{\mathscr {L}\left[ R(\omega )\right] }\right| _{\tau =0}\ . \end{aligned}$$
(6)

Eq. (6) implies that we can directly calculate A from the slope of the ratio of the Laplace transforms of the intensity and the SIF around the origin.

The physical manifestation of this idea is demonstrated in Fig. 1 for the uniform electron gas (UEG) at the metallic density of \(r_s=2\) at the electronic Fermi temperature \(\Theta =k_\text {B}T/E_\text {F}=1\), i.e., \(T=12.53\,\)eV. In panel a), we show synthetic intensities that have been obtained by convolving the dynamic structure factor of the UEG with a Gaussian model SIF of width \(\sigma =3.33\,\)eV. The solid green curve corresponds to the non-collective single-particle regime where the entire spectrum is described by a single inverse parabola, and the dashed red curve to half the Fermi wave number, which is mostly collective and results in a distinct peak around the plasma frequency. Panel b) shows the corresponding deconvolved ITCFs, which are symmetric around \(\tau =\beta /2\); this symmetry relation directly follows from the well-known detailed balance relation \(S_{ee}(\textbf{q},-\omega )=S_{ee}(\textbf{q},\omega )e^{-\beta \hbar \omega }\) that holds in thermal equilibrium. Indeed, this relation allows one, in principle, to extract the temperature from a measured XRTS intensity without the need for models or simulations20,27. In the present work, we exclusively focus on the vicinity of \(\tau =0\), where the dashed black lines depict the f-sum rule that describes the slope of \(F_{ee}(\textbf{q},\tau )\) around the origin. An imaginary-time diffusion perspective on the physical meaning of \(F_{ee}(\textbf{q},\tau )\) has been presented in the recent Ref.40.

Figure 1
figure 1

(a) Synthetic XRTS intensity for a uniform (free) electron gas at \(r_s=2\) and \(\Theta =1\) (\(T=12.53\,\)eV) with the Fermi wave number \(q_\text {F}=1.81\,\)Å\(^{-1}\). The dynamic structure factors \(S_{ee}(\textbf{q},\omega )\) for \(q=3q_\text {F}\) (solid green) and \(q=0.5q_\text {F}\) (dashed red) have been convolved with a Gaussian instrument function of width \(\sigma =3.33\,\)eV. (b) Corresponding ITCF, cf. Eq. (2). The dotted black lines show asymptotic linear expansions around \(\tau =0\) and have been obtained from the f-sum rule.

While the basic idea to use the f-sum rule to normalize XRTS measurements has been reported in the literature16,43, the present approach combines two key advantages. First, it does not require an explicit deconvolution in the \(\omega\)-domain to get \(S_{ee}(\textbf{q},\omega )\), which would be required to directly evaluate Eq. (4). Second, it does also not presuppose any decomposition into effectively elastic and inelastic contributions to the signal as it was assumed e.g. in Ref.41.

Results

Synthetic scattering data

An additional important question is the stability of the numerical derivative in Eq. (6) with respect to experimental noise. Following Refs.15,20, we express the experimental signal \(I_\text {exp}(\textbf{q},\omega )\) as15,20

$$\begin{aligned} I_\text {exp}(\textbf{q},\omega ) = I(\textbf{q},\omega ) + \xi _{\sigma _\Delta }(\omega )\sqrt{I(\textbf{q},\omega )}, \end{aligned}$$
(7)

with \(\xi _{\sigma _\Delta }(\omega )\) being a Gaussian random variable distributed around zero with \(\sigma _\Delta\) being the variance. In Fig. 2, we again consider the UEG model shown in Fig. 1, with the dotted green curve being the exact result, and the solid red and dashed black lines have been perturbed with random noise with different values of \(\sigma _\Delta\).

Figure 2
figure 2

Synthetic intensity computed for a pure UEG model42,43 with \(r_s=2\) and \(\Theta =1\) (\(T=12.53\,\)eV) for \(q=0.5q_\text {F}\). The dynamic structure factor has been convolved with a Gaussian instrument function of width \(\sigma =3.33\,\)eV. Dotted green: exact data; solid red and dashed black: perturbed with different noise levels \(\sigma _\Delta\), cf. Eq. (7).

To rigorously quantify the impact of the random noise onto the numerical derivative of the ITCF, we compute \(K=10^4\) noisy synthetic intensity signals for different values of \(\sigma _\Delta\). In the left panel of Fig. 3, we show corresponding histograms (bars) for \(\sigma _\Delta =0.025\) (red) and \(\sigma _\Delta =0.1\) (blue). The solid green curves depict Gaussian fits that are in excellent agreement to the histograms. In other words, the presence of random noise governed by Eq. (7) leads to a Gaussian distribution of the slope of the corresponding ITCF around the exact value.

Figure 3
figure 3

Sampling \(K=10^4\) noisy intensity signals via Eq. (7) for each considered value of the noise level \(\sigma _\Delta\). (a) Histogram of computed slopes from the K noisy I samples for \(\sigma _\Delta =0.1\) and \(\sigma _\Delta =0.025\), cf. Fig. 2. (b) Estimated variance of slope samples as a function of \(\sigma _\Delta\).

This can be seen particularly well in the right panel of Fig. 3, where we show the mean value over \(K=10^4\) samples (green crosses) as a function of \(\sigma _\Delta\), with the error bars depicting the corresponding variance. Clearly, the mean values nicely reproduce the exact value (dashed red). Moreover, the variance appears to be linear with \(\sigma _\Delta\). Indeed, even for the largest considered noise level of \(\sigma _\Delta =0.15\), we find a variance within \(10\%\) of the exact normalization.

Strongly compressed beryllium

In Fig. 4a, we show an XRTS signal (solid green) that has been obtained for warm dense beryllium at the NIF by Döppner et al.34. Capsules with an outer layer of beryllium and a core of air were compressed using 184 laser beams of the NIF and an additional 8 laser beams where used as backlighters to generate the x-rays for the scattering diagnostics. The created conditions at \(t=0.48\) ns after peak x-ray emission were diagnosed to be at a temperature of \(T=119^{+10}_{-50}\,\)eV and a density of \(n=1.9\pm 0.2\times 10^{24}\,\)cm\(^{-3}\) corresponding to five-fold compression of solid beryllium34. In addition, the dashed blue and dotted red curves correspond to two model SIFs taken from the original Ref.34 and the more recent analysis by Böhme et al.44, respectively.

Figure 4
figure 4

(a) XRTS intensity (solid green) and model SIF (dashed blue) for a NIF shot of strongly compressed Be34 with a nominal temperature and density of \(T=119^{+10}_{-50}\,\)eV and \(n=1.9\pm 0.2\times 10^{24}\,\)cm\(^{-3}\). The scattering angle is given by \(\theta =120^\circ\), corresponding to \(q=7.89\,\)Å\(^{-1}\). (b) Convergence of the normalized static structure factor \(S_{ee}(\textbf{q})=F_{ee}(\textbf{q},0)\) as a function of the symmetrically truncated integration range x. Dashed blue: full evaluation of Eq. (6); solid green: setting \(\mathscr {L}[R(\omega )]\equiv 1\); dotted red: truncating the wings of the model SIF at \(x=\pm 150\,\)eV.

A practical obstacle regarding the evaluation of Eq. (6) is given by the limited frequency range of the detector. In practice, we symmetrically truncate the integration range for the two-sided Laplace transform of \(I(\textbf{q},\omega )\) (Eq. 2) at \(\pm x\). In Fig. 4b, we show the convergence of the thus determined, properly normalized static structure factor \(S_{ee}(\textbf{q})=F_{ee}(\textbf{q},0)\) with x. The solid green curve has been computed without taking into account the impact of \(R(\omega )\) [i.e., setting \(\mathscr {L}[R(\omega )]\equiv 1\) in Eq. (6)], whereas the dashed blue and dotted red curves are based on the full evaluation of Eq. (6) using the two different model SIFs. Empirically, we observe an exponential convergence of \(S_{ee}(\textbf{q})\) with the integration range that is well reproduced by the ansatz

$$\begin{aligned} f(x) = A + B e^{-Cx}\, \end{aligned}$$
(8)

where A, B and C are free parameters. The corresponding fits are included as the solid black curves, and are in very good agreement with the input data for \(x\gtrsim 500\,\)eV. The slight dip for \(x\gtrsim 1000\,\)eV is likely an artefact due to a spurious small bump in the measured XRTS signal, see panel a).

From a physical perspective, all three curves exhibit the same qualitative behavior and converge around \(S_{ee}(\textbf{q})=1\) in the limit of large x. This is indeed the expected vicinity for \(S_{ee}(\textbf{q})\) of Be in the single-particle limit of large q at these conditions, which further substantiates our approach. A second important point is given by the impact of the SIF model, which has noticeable consequences for the determination of the normalization and, in this way, for the extracted electron–electron static structure factor \(S_{ee}(\textbf{q})\). This clearly highlights the need for improved source function characterization21 for future experiments. This is, in principle, straightforward at XFEL facilities such as the European XFEL45, but more challenging at the NIF for practical reasons such as the low repetition rate.

Figure 5
figure 5

(a) XRTS intensity (solid green) and SIF (dashed blue) of carbon measured by Voigt et al.35 at the European XFEL. The scattering angle and wave number are given by \(\theta =155^\circ\) and \(q=5.94\,\)Å\(^{-1}\). (b) Corresponding convergence of the normalized static structure factor \(S_{ee}(\textbf{q})=F_{ee}(\textbf{q},0)\) with the integration range x. The solid black curve shows an exponential fit to the deconvolved data [cf. Eq. (8)], and the red data point marks our final estimation of \(S_{ee}(\textbf{q})=0.783\pm 0.003\).

Diamond at ambient conditions

To demonstrate the versatility of our idea, we next consider an XRTS measurement of diamond at ambient conditions that has been performed at the European XFEL by Voigt et al.35 in Fig. 5. The wave number is given by \(q=5.94\,\)Å\(^{-1}\), which is close to, though not directly on top of, a Bragg peak. This makes the correct value of \(S_{ee}(\textbf{q})\) unclear prior to our analysis. We note the high accuracy of the measured intensity (solid green) over four orders of magnitude, and the remarkably narrow width of the SIF (dashed blue). In addition, Voigt et al.35 have captured the entire relevant down-shifted (i.e., \(\omega >0\)) spectral range well beyond the K-shell feature around \(\omega =290\,\)eV. This is essential for the proper estimation of the normalization as we shall elaborate in more detail in the discussion below. In Fig. 5b, we show the corresponding convergence of \(S_{ee}(\textbf{q})\) with x. Evidently, we cannot resolve any significant impact of the SIF, which is unsurprising given its narrow bandwidth. We observe a monotonic behavior for \(x \gtrsim 400\,\)eV that is again well reproduced by the exponential ansatz given by Eq. (8) above.

To get an empirical estimate for the associated uncertainty, we have performed multiple fits between \(x\ge 300\,\)eV and \(x\ge 600\,\)eV, and the resulting set of possible fits is depicted as the light grey area. This leads to our final estimate for the static structure factor as \(S_{ee}(\textbf{q})=0.783\pm 0.003\).

Frequency-resolved contributions and implications

Let us finish our discussion of the imaginary-time evaluation of the f-sum rule by considering the spectrally resolved contribution to the numerical derivative Eq. (6); it is given by

$$\begin{aligned} g(\omega ) = \lim _{\epsilon \rightarrow 0} f_\epsilon (\omega )\, \end{aligned}$$
(9)

with the definition

$$\begin{aligned} f_\epsilon (\omega )= \frac{I(\textbf{q},\omega )}{\epsilon }\left( \frac{e^{-\hbar \omega \epsilon }}{\mathscr {L}\left[ R\right] (\epsilon )} - \frac{1}{\mathscr {L}\left[ R)\right] (0)} \right) \ . \end{aligned}$$
(10)

Thus, Eq. (6) can be re-written as

$$\begin{aligned} A = - \frac{2m_e}{(\hbar q)^2} \int _{-\infty }^\infty \text {d}\omega \ g(\omega )\ . \end{aligned}$$
(11)

In Fig. 6a, we show \(g(\omega )\) for the Be NIF shot shown in Fig. 4. Clearly, most contributions to the normalization come from positive scattering energies, \(\omega >0\). In fact, the absolute values of the contributions to A qualitatively follow \(I(\textbf{q},\omega )\). This is in stark contrast to the ITCF thermometry method introduced in Refs.20,27, where negative frequencies contribute with a weight that exponentially increases with \(\tau\) due to the exponent in the two-sided Laplace transform, cf. Eq. (2). As a consequence, the present approach is available over a broad range of temperatures including cold samples (ambient conditions). For completeness, we note that the slightly negative contributions around \(\omega =1\,\)keV are potentially spurious; a possible explanation for this artefact might be the employed background subtraction of the XRTS lineouts, which will be discussed in more detail in a dedicated future publication.

Figure 6
figure 6

Spectrally resolved contribution to the numerical derivative of the ITCF around \(\tau =0\), cf. Eqs. (9) and (10). Panels a) and b) correspond to the Be NIF shot (Fig. 2) and the carbon XFEL shot (Fig. 3), respectively.

In Fig. 6b, we repeat this analysis for the carbon data shown in Fig. 5. It can be seen that contributions for \(\omega <0\) are negligible in practice and we observe a fast, monotonic decrease of \(g(\omega )\) with \(\omega\).

Discussion

We have presented a new, simulation-free approach for the computation of the a-priori unknown normalization of XRTS measurements. Our approach works for any degree of collectivity, and over a broad range of temperatures including ambient conditions and the HED regime. Furthermore, it is not restricted to thermal equilibrium and, therefore, can readily be applied e.g. to self-scattering experiments that cannot be described rigorously with existing simulation capabilities. Moreover, we note the high stability of our method with respect to the inevitable noise in the experimental data, and the observed exponential convergence with respect to the integration boundaries.

We are convinced that our scheme provides the basis for a range of interesting future work. Previously, evaluating the Laplace transform of the bare experimental signal allowed one to exploit the symmetry of the ITCF with respect to \(\tau\), giving one access to a single parameter, namely the temperature20,27. Having absolute knowledge of the ITCF contributes to unlocking additional information about the system in various ways. For example, the normalization gives us direct access to the static structure factor \(S_{ee}(\textbf{q})\), which is important in its own right. This additional bit of information might help to further constrain the forward modelling of XRTS measurements via chemical models9,16,26 or ab initio simulations46,47,48,49, which can be further aided by extracting higher-order frequency moments, see Ref.37. The rigorous quantification of the associated uncertainties in the extracted parameters based on Markov chain Monte Carlo (MCMC) calculations22 with and without using our new approach is beyond the scope of the present work and will be pursued in dedicated future projects.

In addition, the present scheme makes XRTS a useful tool for the probing of electron–electron correlations on different length scales. The fact that XRTS measurements allow us to check the integration over the available spectral range can also be useful as a rigorous benchmark for X-ray diffraction50. More importantly, the ITCF \(F_{ee}(\textbf{q},\tau )\), by definition, contains the same information as the dynamic structure factor \(S_{ee}(\textbf{q},\omega )\). Experimental results for the properly normalized ITCF will, therefore, allow us to extract a wealth of additional information from XRTS measurements beyond the temperature20,27, such as the number density n or the charge state Z, thereby completing knowledge of an equation-of-state. Furthermore, it has been suggested that the ITCF also gives one access to quasi-particle excitation energies and even to nontrivial processes such as the roton-type feature that has recently been reported in an interacting electron gas at low density28,40,51,52. In this context, a particularly important relation is given by the imaginary-time version of the fluctuation–dissipation theorem28,

$$\begin{aligned} \chi (\textbf{q},0) = - n \int _0^\beta \text {d}\tau \ F_{ee}(\textbf{q},\tau )\, \end{aligned}$$
(12)

that connects the ITCF with the static limit of the linear density response function, \(\chi (\textbf{q},0)\). In particular, Eq. (12) gives one direct access to the static exchange–correlation kernel \(K_\text {xc}(\textbf{q})\), which is a key property in quantum many-body theory29,53,54. In this way, our idea will open up the possibility to rigorously test existing kernels against XRTS measurements at modern XFEL facilities such as the European XFEL45. Moreover, the high repetition rate at these facilities might allow one to accumulate enough statistics to attempt the unstable deconvolution of the measured intensity, which would then facilitate a comparison between the present method and a straightforward evaluation of the frequency-moments in the \(\omega\)-domain.

From a methodological perspective, future tasks include the rigorous quantification of the remaining uncertainty in the normalization due to effects such as q-vector blurring or the potential small dependence of q on the scattering frequency \(\omega\)20. An additional issue emerges for XRTS measurements of heavier elements, where the excitation of tightly bound-core electrons to the continuum will lead to contributions in \(S_{ee}(\textbf{q},\omega )\) and, thus, \(I(\textbf{q},\omega )\) that are outside of the available detector range. On the one hand, an incomplete spectral range prevents the direct determination of the normalization in either the \(\omega\)- or \(\tau\)-representation by default. On the other hand, XRTS is an inelastic spectroscopy and the scattering intensity contributed by processes involving core electrons will decay rapidly with increasing binding energy unless the probe beam energy is nearly resonant with a real transition55. One can imagine quantifying the uncertainty that the finite detection bandwidth introduces by predicting the weight of low-intensity high-energy features associated with bound-free56 and bound-bound57 transitions involving deeply bound core electrons with highly efficient all-electron average atom methods58. Further methodological improvements include improved statistical error quantification models, as well as taking into account potential sources of systematic error such as incomplete knowledge of the SIF or the subtraction of a radiation background in the XRTS intensity.