Introduction

Elimination reactions are an important class of chemical processes in which a pair of atoms or two groups of atoms are removed from a reactant to form a new product1. Most elimination reactions involve the formation of a new bond, and often result in the ejection of a small molecule like water, hydrogen, or hydrogen halides2,3. Such reactions can proceed via concerted or stepwise mechanisms1,2,3 and typically require a coordinated motion of several atoms involved in multiple bonds breaking and forming. With the development of femtosecond techniques that provide a time-domain view of molecular processes4,5, elimination reactions attracted particular attention because they often involve different dynamics leading to the same final products6,7,8,9,10,11,12,13,14.

One of the most extensively studied reactions of this type is the light-induced elimination of molecular halogens from halomethanes9,10,11,12,13,14,15,16,17,18,19,20. Such photolysis processes in halomethanes are important because of their relevance in atmospheric chemistry and, in particular, because of their suggested role in the catalytic ozone layer depletion21,22. Depending on the wavelength and the intensity of the light driving the reaction, they can happen in either the neutral or the ionic state and can eliminate a neutral halogen molecule9,10,11,12,13,14,16,17,18 or a molecular ion15,19,20. The products of such reactions have been characterized by mass spectrometry15,19, fluorescence detection9,10,11,12,13,14, or transient absorption20. All of these studies led to the conclusion that the elimination of a molecular halogen proceeds in a concerted manner. More specifically, two different concerted scenarios, termed “synchronous” and “asynchronous”, have been suggested, implying symmetric and asymmetric geometries, respectively, at the time of molecular halogen formation9,10,11,12,13,14,15,16. For the microscopic understanding of the actual reaction mechanism, it would be crucial to trace the motion of individual atoms leading to the formation of the halogen molecule, whose timescale is comparable to the molecular vibrations. These initial steps are, however, difficult to disentangle from the motion of the bound molecule and from contributions of various competing dissociation pathways. In particular for diffraction-based techniques such as ultrafast electron diffraction7,23,24 and X-ray scattering25, the characterization of such elimination reactions is challenging if the distance between the two strongly scattering halogen atoms in the product and reactant are identical. Moreover, diffraction-based techniques probe the entire ensemble of target molecules and, as such, are most sensitive to the major reaction channel(s), especially for dilute gas-phase targets.

Here we report on imaging of molecular iodine elimination from laser-ionized diiodomethane (CH2I2) in the gas phase employing Coulomb explosion by intense femtosecond X-ray pulses. Because of its rich photoinduced dynamics and its atmospheric relevance, diiodomethane has been recently studied in various time-resolved experiments employing ultrafast electron diffraction24, photoelectron spectroscopy24,26, ultrafast X-ray scattering27,28, extreme-ultraviolet transient absorption20,29, and ion momentum spectroscopy30,31. By combining coincident Coulomb explosion imaging (CEI)32,33,34,35 with element-specific X-ray ionization, we disentangle the signatures of molecular halogen formation from competing dynamical processes including the vibrational motion of the bound molecule and all other dissociation pathways involving cleavage of one or both iodine-carbon bonds. Our data show that the iodine molecule (most often ejected as a singly charged molecular ion) is formed at a broad range of internuclear separations, corresponding to a variety of bound and metastable excited states. We trace the vibrational motion of the formed I2+ molecule and show that both “synchronous” and “asynchronous” mechanisms contribute to its formation. While the motion of molecular constituents during the bond formation and subsequent vibrations of the formed product have recently been mapped by X-ray scattering in solution (using the [AuCN2] trimer as an example)36, to the best of our knowledge, such mapping has not been demonstrated for the motion of individual atoms in a gas-phase reaction. Our results provide the long sought-after mechanistic picture of the rich light-induced structural dynamics in diiodomethane and presents an efficient scheme for identifying and disentangling several competing interweaved reaction pathways—a common challenge for all ultrafast molecular imaging techniques.

Results and discussion

The experiment, schematically illustrated in Fig. 1a, was performed using the COLTRIMS (COLd Target Recoil Ion Momentum Spectroscopy) reaction microscope37,38 at the Small Quantum Systems (SQS) scientific instrument at the European X-ray Free-Electron Laser (EuXFEL). Intense (~1 × 1014 W/cm2) near-infrared (NIR) laser pulses were used to irradiate CH2I2 molecules delivered as a dilute supersonic molecular beam, triggering the reactions of interest. The reaction dynamics were probed via multiple ionization and subsequent rapid fragmentation (Coulomb explosion) of the molecules by intense 2-keV X-ray pulses arriving at variable time delays with respect to the NIR pump pulse. We analyzed four or five ionic fragments detected in coincidence for each fragmentation event and reconstructed their three-dimensional (3D) molecular-frame momentum distributions (MFMDs) following the analysis approach introduced in ref. 35. The MFMD obtained with only the X-ray pulse is shown in Fig. 1b, for fragmentation into the final charge-state combination C+/I4+/I5+/H+/H+ (in the following, we omit H+ from the notation). The 3D pattern shows a structure that can be associated with the equilibrium geometry of the molecule (shown in the inset), reflecting its C2v symmetry, and mapping all five molecular constituents into localized spots in momentum space. The MFMDs for other charge-state combinations obtained with only the X-ray pulse are qualitatively similar, see Supplementary Fig. 1a–c.

Fig. 1: Experiment sketch and molecular-frame momentum distributions of ions from X-ray ionization of laser-excited CH2I2 molecules.
figure 1

a Illustration of the photoexcitation of a CH2I2 molecule by a NIR pulse, possible nuclear dynamics after NIR excitation, and probing by an XFEL pulse arriving after time delay τ. b, c Molecular-frame momentum distributions of ion fragments from the C+/I4+/I5+/H+/H+ coincidence channel resulting from XFEL ionization of unpumped CH2I2 molecules (b) and from XFEL ionization of CH2I2 molecules 500 fs after the irradiation by an 800-nm NIR laser pulse (c). Panels b and c share the same color bars shown in (d).

Figure 1c shows the MFMD for the same coincidence channel at a pump-probe delay of 500 fs. Compared to the data for unpumped molecules (Fig. 1b), in addition to the localized spots, it displays a broader structure for the iodine ions. This broad structure in momentum space corresponds to ions with low kinetic energies (Supplementary Fig. 1i), suggesting that it originates from molecules with larger interatomic distances (and thus, weaker electrostatic repulsion)—i.e., those dissociated by the pump pulse39. Remarkably, the appearance and shape of this additional structure depends on the particular charge-state combination selected (Fig. S1e–g). We find that these differences between the observed pump-probe patterns for different channels reflect the fact that certain charge-state combinations produced by the X-ray probe strongly favor particular molecular configurations created by the NIR pump pulse, thus effectively selecting specific pump-induced dynamics (see Supplementary Table 1a and Section 2 of Supplementary Discussion for details on the reaction pathway selectivity of different charge-state combinations).

In the following, we will exploit this pathway selectivity to study molecular iodine elimination by focusing on the C+/I4+/I5+ final state. The production of such ion fragment combinations, with low carbon charge state and high charge states of both iodines, is favored if the NIR pulse triggers I2 or I2+ ejection because at 2 keV, X-ray ionization is predominantly localized at the iodine sites and charge transfer to carbon is suppressed due to the increased C-I distances40. Therefore, this channel contains a significant fraction of events resulting from the elimination reaction of interest, which helps to disentangle it from competing, more probable processes triggered by the NIR pump pulse. Since the NIR-induced dynamics at the intensity used in this work are dominated by the cationic states15,19,20, a reasonable estimate of the branching ratios of different reaction pathways can be obtained from the NIR-only measurement. As shown in Supplementary Table 1b, the pathways involving molecular iodine formation (mainly I2+) constitute only ~10% of the total ionization and fragmentation yield generated by the NIR pulse, whereas the majority of the fragments are due to the events where molecules remained bound or only one of the two C-I bonds was cleaved.

To separate the events involving I2 or I2+ formation from the contributions resulting from competing pathways, we consider the delay-dependent kinetic energy distributions (KEDs) of C+ ions from the C+/I4+/I5+ channel in Fig. 2a. Molecular iodine elimination requires both C-I bonds to break, thus resulting in a large separation between the iodine atoms and the methylene group at the time when the X-ray probe pulse arrives. This should lead to a low kinetic energy (KE) of the carbon ion after Coulomb explosion for long pump-probe delays39. Indeed, the KED of the C+ ions in Fig. 2a clearly displays a corresponding feature, which descends to low KEs (<20 eV) at large delays. The distribution also contains a high-KE delay-independent band centered around 45 eV, which results from the Coulomb explosion of bound molecules. While the MFMD (Fig. 2b) for the high-KE band displays two well-localized iodine spots, nearly identical to the static case shown in Fig. 1b, the MFMD (Fig. 2c) for the low-KE band descending as a function of delay shows a smeared-out, ring-like structure corresponding to the additional feature appearing in Fig. 1c due to dissociating events.

Fig. 2: Separation of bound and dissociating molecules and imaging of bending vibrations.
figure 2

a Time-dependent KED of C+ ions for the C+/I4+/I5+ channel. The white dashed line marks the boundary (32 eV) used for separating signals from bound and dissociating molecules. The intensity in the region below the white line is scaled by a factor of 3 to increase the visibility of the dissociation channel. b, c MFMDs for bound (b) and dissociating (c) molecules (events within the red and green boxes centered at 500 fs in (a)). d Mean value of the momentum-space I-C-I angle ICI(M) (defined in red in panel (b)) as a function of NIR/X-ray delay for the C2+/I3+/I3+ channel. Squares represent the measured data and the grey solid line the simulated values. The error bars reflect the standard error of the mean. The numbers on the right axis show the values of the real-space angle ICI(R) corresponding to the simulated ICI(M) angles.

The high-energy band in Fig. 2a is formed by the contributions from CH2I2 molecules that remained bound after the NIR pump pulse (pumped or unpumped). This is a universal feature appearing in all final charge-state combinations. However, since charge redistribution in bound molecules favors the production of ionic fragments with similar charges, the dominant channel reflecting the bound-state dynamics is found to be C2+/I3+/I3+. Note that a significant portion of the NIR-induced ions are bound parent molecules (CH2I2+), as shown in Supplementary Table 1b, which, upon X-ray ionization, produce carbon ions with a kinetic energy similar to that of X-ray ionized neutral molecules. Therefore, the high-energy band includes a significant fraction of molecules that were ionized and vibrationally excited by the NIR pulse. To trace the resulting vibrational wave packet, in Fig. 2d, we use the dominant channel and plot the mean value of the measured momentum-space I-C-I angle ICI(M) (illustrated in Fig. 2b). The time-resolved data exhibit a pronounced oscillatory structure with a period of 300 ± 9 fs, which, according to our analysis, reflects the ground-state bending vibration (“scissors” mode) of CH2I2+ 19,20. As shown earlier, under certain conditions, the measured delay-dependent momentum-space angles can be used to track the evolving real-space angles in a molecule undergoing complex vibrations (e.g., torsional motion)41,42. To quantitatively map the momentum-space measurements to real-space angles, we performed simulations of the X-ray multiphoton-induced Coulomb explosion of molecules with various I-C-I angles, which showed that for CH2I2 the calculated momentum-space angle ICI(M) decreases with increasing real-space I-C-I angle ICI(R) (Supplementary Fig. 2b). The simulated curve, which is based on the expected wave packet motion in the CH2I2+ ground state (grey solid line in Fig. 2d), matches both the amplitude and phase of the experimental data, confirming that the observed oscillation reflects the vibrational motion of the laser-ionized molecule. A more detailed analysis of the wave packet’s phase and angular range supporting the assignment of the observed “scissors” motion to CH2I2+ rather than neutral CH2I2, is presented in Section 3 of Supplementary Discussion and Supplementary Fig. 6.

After characterizing the motion of the bound part of the laser-induced nuclear wave packet, we now focus on events resulting in molecular iodine elimination, which correspond to the low-KE part of Fig. 2a. While the appearance of low-KE C+ ions is a necessary condition, it is not sufficient for the isolation of I2+ formation from other dissociation channels. If I2+ is formed, the I-I distance stays essentially constant after the initial formation, except for possible vibrations of the product. Correspondingly, the sum KE of the two iodine ions is expected to converge to a rather high, nearly constant value determined by the I-I bond length. The combined KE of the two iodine fragments is plotted as a function of the delay in Fig. 3a (selecting only the dissociating events with low C+ KE in Fig. 2a). Even though for the delays larger than ~100 fs the carbon fragment clearly moves further away from both iodines, resulting in the smaller Coulomb repulsion, the distribution is dominated by events with high sum KEs. This can only happen for short I-I distances, confirming that the spectrum in Fig. 3a mainly contains events involving I2+ (or I2) formation. Note that the iodine sum KED is qualitatively different for channels where only one C-I bond is broken, and no molecular iodine is formed (see Supplementary Fig. 7).

Fig. 3: Imaging of I2+ formation with the C+/I4+/I5+ coincidence channel.
figure 3

a Time-dependent sum KED of I4+ and I5+ for the events below the white line in Fig. 2a. The horizontal white dashed line in a shows the lower limit (40 eV) of I4+ and I5+ sum energies associated with bound I2+ products. The intensity in the region with KE above 85 eV (marked on the top right) is scaled by a factor of 2 in order to better show the region corresponding to I2+ being formed at shorter bond lengths. b Normalized projections of the data in a for 0 < τ < 200 fs (black) and 600 fs <τ < 850 fs (red). The error bars were calculated using the Poisson distribution. The black dash-dotted line marks the mean value of the static (“probe-only”) experimental distribution. The shaded areas depict the simulated sum KED for an I-I separation of 2.58 Å (magenta) and 3.60 Å (green). The simulated distributions are normalized such that their respective maxima match the experimental data. c Delay-dependent mean value of the I4+ and I5+ sum KE, derived from the data above the white dashed line in a. The error bars reflect the standard error of the mean. The data are fitted with the sum of an error function and a sinusoidal function with 250 fs period. The right axis shows the internuclear separations of the formed I2+ product for which our simulations yield the mean values of the I4+ and I5+ sum KEs shown on the left axis.

At small NIR/X-ray delays, the dominant part of the sum KE spectrum initially moves towards lower values, reflecting the rapid detachment of the methylene group. However, from ~150–200 fs onwards, the distribution broadens, with the mean shifting back towards higher KE with increasing delay. This behavior maps the reduction of the I-I distance when the molecular iodine is formed. A cartoon of the I2+ formation pathways and the corresponding molecular dynamics simulation visualizing the correlated change in the I-I and both C-I distances are shown in Fig. 4a, c. The appearance of a clear high-energy component, not present in the data for the first 200 fs, is highlighted in Fig. 3b, where the I-I sum KE distributions for 0–200 fs and 600–850 fs are compared. In addition, as can be seen in Fig. 3a, b, a clear feature develops at low energies for larger delay times. This feature reflects events where both C-I bonds and the I-I bond have been broken by the time the probe pulse arrives. The delay dependence of this low-energy part of the spectrum suggests that there are two contributing processes: First, the pump pulse can result in three-body dissociation of the molecule, where the methylene group and the two iodine fragments directly move apart. Second, I2+ can be formed in one of highly excited metastable states43, which dissociate into a I + I+ after a certain time following the pump pulse. These dissociating I2+ molecules result in the events which drop below the intense horizontal band in Fig. 3a at longer delays since the kinetic energy gained from the Coulomb explosion after X-ray ionization decreases as the internuclear distance between I and I+ increases.

Fig. 4: Simulated dynamics during I2+ formation from CH2I2+ and the experimental distribution of the angle I − I − C(M).
figure 4

a, c Snapshots of the molecular structure at different time delays for two representative trajectories leading to I2+ formation. b, d Time evolution of C-I and I-I pair distances for the two trajectories illustrated in (a) and (c). e Sketch of the momentum-space angle I − I − C(M) and its experimental delay-dependent distribution. The up-pointing white triangles and circles show the results of the Coulomb explosion simulations based on the simulated trajectories of (b) and (d), respectively. The right-pointing triangles and diamonds reflect the Coulomb explosion simulations at later time delays, for which the CH2 fragment is assumed to be flying along the initial molecular symmetry axis (corresponding to pathway 1), or at 55° relative to the initial molecular symmetry axis (corresponding to pathway 2), respectively.

In order to relate the measured KEs to the internuclear separation, we use Coulomb explosion simulations for various molecular geometries. After validating the simulation for the unpumped CH2I2 molecule (see Supplementary Fig. 8), we calculated the sum KED of the I4+ and I5+ fragments, assuming that the CH2 group is far away, and its influence is negligible. The simulation was performed for the equilibrium I-I distances in the I2+ ground electronic state (2.58 Å44,45, displayed in magenta in Fig. 3b) and in ground-state CH2I2 molecules (3.60 Å, displayed in green in Fig. 3b). The comparison between the experimental and simulated KEDs suggests that the range of I-I separations in the formed molecular products spans more than 1 Å. Notably, the I-I separation for many of the resulting I2+ is very close to that in the ground-state CH2I2, which highlights the difficulty to detect this product with diffraction-based techniques.

To characterize the reaction products in more detail, we plot the mean value of the I4+ and I5+ sum KE as a function of delay in Fig. 3c. To eliminate contributions from three-body dissociation and decaying metastable states, we restrict this analysis to sum KEs >40 eV (white dashed horizontal line in Fig. 3a). Both the initial decrease of the energy and the build-up of the high-energy shoulder discussed above can be clearly observed in this graph. Furthermore, a pronounced oscillatory structure with a period of 250 ± 10 fs is visible in Fig. 3c for delays >200 fs. At this time, the methylene group is well separated from the iodines, such that the observed oscillation cannot be related to vibrations of the parent molecule (reflected by the 300-fs oscillation in Fig. 2d). We thus attribute this feature to the vibrational motion of the diatomic reaction product. The observed oscillation period and KED match the vibrational timescale and internuclear distance range (2.6–3.8 Å) expected for the \(A{{}^{2}\Pi }_{u,3/2}\) electronic state of I2+46. Therefore, our results suggest that this state (or, potentially, the \({{a}^{4}}{\Sigma }_{u}^{-}\) state, which has very similar geometry) constitutes a significant fraction of the I2+ population produced by the NIR pump pulse. However, since the oscillating mean value of the experimental KED in Fig. 3c at large delays matches the simulations for 3.4–3.5 Å, above the equilibrium distance of the \(A{{}^{2}\Pi }_{u,3/2}\) state (~3.1 Å44,45,46), our results indicate that some higher-lying states are also populated.

So far, we have not explicitly addressed the reaction mechanism. All earlier studies of I2 or I2+ elimination from CH2I29,10,11,12,13,15,16,19 reported a dominance of concerted elimination, which is consistent with our results. Within the concerted elimination picture, the so-called synchronous and “asynchronous” reaction scenarios have been considered, corresponding to symmetric and asymmetric CH2I2 geometries at the time of I2 formation9,10,11,12,13,15,16. The first time-resolved study9 proposed the co-existence of synchronous and asynchronous mechanisms, while later works suggested that the asynchronous mechanism is dominant for I2 formation in the highly excited neutral states10,12,13,16. For I2+ formation, only the synchronous mechanism has been explicitly discussed15,19.

In our molecular dynamics simulations (Fig. 4a-d), we find exemplary trajectories matching both scenarios. The first pathway (Fig. 4a, b) can be associated with the previously suggested synchronous mechanism, characterized by a simultaneous elongation of the two C-I bonds, accompanied by a decrease of the I-I distance when forming I2+. Based on our calculations (Fig. 4b, d, and Supplementary Fig. 9b), the distance between the two iodine atoms decreases because the minimum of the ground- and excited-state potential energy curves corresponding to I2+ formation is located at I-I distances shorter than the I-I distance in a neutral CH2I2 molecule. The CH2 group moves away in a direction close to the molecular symmetry axis, while the iodine atoms approach each other. In the second pathway (Fig. 4c, d), after the initial cleavage of both C-I bonds, the CH2 fragment bounces back to one of the iodine atoms (here I2), re-forming the C-I bond and passing through an “iso”-configuration27,28,47, which corresponds to a local minimum in the CH2 + I2+ potential energy curve (PEC) in Supplementary Fig. 9b. The CH2 group then rotates around I2+ until the C-I bond breaks again and the I-I bond forms. These dynamics are consistent with the asynchronous mechanism introduced in refs. 9,10,11,12,13,14. For both pathways, the change of the total bond energy during the I2+ formation is accounted for by the translational kinetic energies of the CH2 and I2+ products after the dissociation as well as their internal excitations.

In order to characterize synchronous and asynchronous pathways in our experimental data, we analyze the angular correlation between the three fragments. The measured delay-dependent momentum-space angle between the two iodine ions and the C+ momentum direction, denoted as I-I-C(M), is plotted in Fig. 4e, together with simulations corresponding to the trajectories in Fig. 4a-d. In this representation, the synchronous reaction pathway is expected to produce a nearly constant I-I-C(M) angle of ~85° (up-pointing and right-pointing triangles), whereas the asynchronous scenario (circles and diamonds) leads to significantly smaller I-I-C(M) values after the first 150 fs. The experimental data displays a broad I-I-C(M) distribution, which means that the iodine molecule is formed in a rather broad range of relative angles, supporting the co-existence of the two mechanisms. Moreover, the measured delay-dependent angular distribution shows a smooth decrease towards smaller I-I-C(M) values, suggesting that for the excitation scheme used in this study, there is no sharp distinction between the synchronous and asynchronous scenarios, and the reaction likely proceeds via a broad range of angular configurations.

In conclusion, we have experimentally mapped a light-induced elimination reaction involving correlated three-body dynamics unfolding on a femtosecond timescale and traced the motion of individual molecular constituents involved in the breaking of two molecular bond and the formation of a new one. While this reaction only results in approximately 10% of the total products generated by the NIR-molecule interaction, its signature could be isolated from all competing channels by exploiting the immense information content of coincident CEI as well as the reaction-pathway selectivity of the detected ion charge state combinations. Our model of X-ray ionization and fragmentation was benchmarked by imaging a bound vibrational wave packet and applied to characterize distinct three-body configurations leading to molecular iodine formation with different bond distances. We also imaged the vibrational motion of the formed products, facilitating the identification of their electronic states. With the several orders of magnitude increase in the effective repetition rates of XFEL facilities planned for the near future, we expect the approach demonstrated here to become applicable to larger targets and more complex reactions.

Methods

Experimental setup

The experiment was performed using the COLTRIMS reaction microscope37,38 at the SQS instrument at the European XFEL. The experimental configuration and data sorting procedures were similar to those used in refs. 34,35. A supersonic gas jet was formed by sending helium gas (200 mbar) through a stainless-steel vessel containing liquid CH2I2 at room temperature and expanding the produced gas mixture through a 60 μm nozzle. The jet was further collimated with three skimmers and a set of adjustable slits, until it reached the interaction region located about 74 cm away from the nozzle. The ionic fragments from the interaction were extracted by a 400 V/cm electric field along the spectrometer (18 cm in length) to a time- and position-sensitive microchannel-plate detector (120 mm in diameter) with hexagonal delay-line position readout. Digitized detector signals were recorded by the data acquisition system along with shot-to-shot information about the X-ray pulse parameters and the NIR/X-ray pump-probe delay. The ions generated in each X-ray pulse were measured in coincidence. For each detected ion, the laboratory-frame 3D momentum vector was calculated from the measured time-of-flight (TOF) and hit position on the detector.

X-ray pulse properties and optical laser

The European XFEL operates in a burst mode, at a base repetition rate of 10 pulse trains per second. In the present experiment, we received in total 580 X-ray pulses per second, with an intra-train repetition rate of 188 kHz. The central photon energy of the XFEL pulse was 2 keV. The single-shot X-ray pulse energy (1 mJ on average) was measured upstream of the beamline mirrors by a gas monitor detector. The beamline transmission is about 80% at 2 keV48. The X-ray pulses were focused in the F1’ focus point of SQS by a pair of bendable Kirkpatrick–Baez mirrors. The focal spot size, which we chose to expand from the typical value of 1–2 μm in this focal point, was not measured directly but was estimated to be approximately 10 μm by comparing the measured charge-state distributions with simulations. The estimated upper limit of the X-ray pulse duration based on the electron bunch charge of 250 pC in the accelerator is 25 fs (FWHM). However, we carried out dedicated tuning of the undulator settings with feedback from the SASE3 grating spectrometer before the data taking, which suggests significantly shorter pulse durations based on spectral analysis49 for the present experiment.

The optical laser was operated at the same repetition rate as the FEL, but the timing of the optical pulse train was offset from the X-ray pulse train, such that the first four laser pulses arrived before the X-ray burst, and the last four X-ray pulses arrived after the NIR laser pulse train. This provides a laser-only and X-ray-only background measurement in every pulse train. The NIR laser pulse duration was 15 fs (FWHM in intensity), and the maximum pulse energy available in the reaction chamber was 0.34 mJ. The laser beam was focused to the center of the interaction region with a spot size of 75 μm. For the experiment described here, the peak intensity of the NIR pulse was set to ~1 × 1014 W/cm2.

X-ray/laser timing and drift correction

The relative timing between the X-ray and optical laser pulses was monitored using an NIR/X-ray cross correlator installed downstream of the experiment, which used a second NIR beam path propagated collinearly to the main beam. This NIR beam was focused about 1 m downstream of the X-ray focus to a spot of ~300 µm on a diamond sample with a thickness of 100 µm. The X-ray-induced changes of the reflectivity of the diamond were encoded in the NIR spectra, which were recorded at a repetition rate of 47 kHz (i.e., for every fourth laser pulse) using a Basler Racer line camera. In addition, electron bunch arrival monitors50 were used to monitor drifts in the X-ray arrival time, and the arrival time jitter was corrected using this on a shot-by-shot basis for the following data analysis. The absolute time zero for the pump-probe measurement was determined with the help of a delay-dependent “step-function” feature in the low-energy He+ ion yield from the carrier gas, which is enhanced at negative delays due to NIR ionization of He atoms that were previously excited by the XFEL pulse. The slow timing drift between experimental runs (1 h) was corrected by determining the center of the He+ “step-function” feature for each individual run and shifting the delay values accordingly. The corrections obtained with this approach agree with the simultaneous NIR/X-ray cross-correlation measurement.

The ultimate time resolution of the experiment, determined by the duration of both pulses and the remaining timing jitter, could be estimated from the cross correlation of the NIR and XFEL pulses obtained from the above-mentioned “step-function” feature in the delay-dependent yield of low-energy He+ ions. The error-function fit of this feature yielded the FWHM of 26 ± 7 fs, consistent with the sub-25 fs XFEL pulse duration mentioned above.

Excluding possible contamination from molecular dimers

Since the supersonic expansion in a molecular beam often leads to formation of molecular dimers and small molecular clusters, whose contributions can influence the experimental data for reaction channels with a small yield, such as the I2 formation channel in the present experiment, it is important to make sure that the contamination from CH2I2 dimers or small clusters is negligible for the present data. Unambiguous signatures of dimer or cluster formation include the occurrence of dimer cations in the time-of-flight mass spectrum and of singly charged molecular parent ions with significant kinetic energy, which they would have acquired during Coulomb explosion of a dimer. Both signatures are undiscernible in our data (see Supplementary Fig. 3), suggesting that dimers were not formed above the background level. More importantly, any possible events related to the Coulomb explosion of dimers or clusters are excluded from the coincidence data because the momentum conservation condition applied during the coincidence analysis is only fulfilled if all fragment ions resulting from a monomer are detected in coincidence. Any fivefold coincidence event resulting from the Coulomb explosion of a dimer or cluster could not fulfil the momentum conservation condition and would be rejected.

Molecular-frame momentum distributions

The interaction events detected in the experiment were first sorted into different ion coincidence channels according to the charge states of the carbon and iodine ions. For each channel, we defined the molecular frame such that the carbon ion was emitted along the positive x-axis and the lower-charged of the two iodine ions was emitted within the x-y plane (y > 0). For channels such as C2+/I3+/I3+ that have equally charged iodine ions, one of the two was randomly chosen for the coordinate-frame definition. The molecular-frame momentum distributions (MFMDs) were then produced by transforming the momentum vectors of all ions within each interaction event from the laboratory frame to the above-defined molecular frame. Only those events that, in addition to carbon and iodine ions, contained at least one proton were included for the plots in Figs. 14.

Electronic structure calculations for simulating NIR-induced molecular dynamics

Ab initio multireference electronic structure calculations were performed based on state-averaged CASSCF wavefunctions, to characterize the ground and excited states of the diiodomethane cation. The active space in the CASSCF calculations contains 11 electrons in 8 orbitals (two lone pairs of each iodine atom, σ-CI-bonding and σ-CI-antibonding), and we averaged over 20 doublets and 9 quadruplets. The energy was corrected by perturbation theory in its extended multi-state CASPT2 (XMS-CASPT2) formalism51 with an imaginary shift of 0.2 and an IPEA shift of 0. The selection of the number of states included in the calculation correctly describes the dissociation limits of the different fragmentation channels: CH2I+ + I(2P3/2), CH2I+ + I(3P2), CH2I+ + I(2P1/2), CH2I + I+(3P0), CH2I + I+(3P1), CH2 + I2+, and CH2+ + I2. Relativistic effects were included in two steps. Firstly, one-electron integrals were modified using the Douglas-Kroll (DK) Hamiltonian52,53 in combination with the ANO-RCC54,55 contracted to a double zeta polarized (ANO-RCC-VDZP) basis set. Secondly, spin-orbit couplings (SOCs) were included with the restrictive active space interaction RASSI56 and the atomic mean field integral AMFI57 formalisms, resulting in a total of 76 states. All calculations were performed using the OpenMolcas code58. The accuracy of the method was checked by computing the electronic energies following the minimal energy path between the neutral CH2I2 equilibrium geometry and the well-separated fragments: CH2I+ (CH2I)/I (I+) and CH2 (CH2+)/I2+ (I2). The nudged elastic band (NEB) technique59,60 was employed by using the FIRE algorithm as optimizer61 as implemented in Atomic Simulation Environment (ASE)62,63. The required gradients and energies, i.e., the CASSCF ground electronic state with doublet multiplicity, were passed to the ASE code through an in-house interface with OpenMolcas58. This method allows us to find the minimum energy path for the two fragmentation pathways. The energy of each intermediate structure was then recalculated with XMS-CASPT2 including the SOCs as described before.

Simulations of NIR-induced molecular dynamics

To mimic the wave packet at time zero, a set of initial geometries and velocities was sampled by considering the Hessian of an MP2 optimization around the equilibrium geometry of the neutral CH2I2 and using a harmonic oscillator Wigner distribution in Cartesian coordinates with an open source code64. We performed trajectory surface hopping dynamics using the SHARC method65, where the Hamiltonian and the spin-free gradients were calculated numerically using the previously described electronic structure methodology (in XMS-CASPT2). A velocity-Verlet algorithm with a nuclear time step of 0.5 fs and a local diabatization formalism66 was used. The surface-hopping probabilities between states were evaluated using the flux formalism proposed by Petersen and Mitric67. An energy-based decoherence correction was used with a parameter of 0.1 hartree68. For describing the bound state I-C-I bending dynamics, the initial state is the ground doublet state. To study the NIR-induced dynamics leading to I2+ formation and CH2I+/I (CH2I/I+) dissociation, we chose our initial state with the energy well above (15 eV) the CH2 + I2+ dissociation limit to ensure our trajectories have enough energy to follow that fragmentation pathway.

Modeling of the interaction between X-rays and molecules and Coulomb explosion simulations

To model the X-ray-induced Coulomb explosion process, we used a theoretical model that combines Monte Carlo/Molecular Dynamics simulations (MC/MD)69 with a classical over-the-barrier model70-72 to track inner-shell Auger-Meitner cascades, redistribution of electrons in valence orbitals, and nuclear motion of fragments. X-ray absorption and inner-shell cascade processes are tracked by a Monte Carlo method, which determines the quantum electron transition probabilities of all participating electronic configurations (ECs), including ground state, core-excited states, and valence-excited states of all charge states. The electronic structure theory is based on the relativistic Hartree-Fock-Slater (HFS) method. The bound-state and continuum wavefunctions from the HFS method are used to compute the cross sections of photoionization, shake-off, electron-impact ionization, and electron-ion recombination processes as well as the decay rates of Auger-Meitner and fluorescence decay processes in all participating ECs. The molecular dynamics method tracks the dynamics of atoms, ions, and delocalized ionized electrons.

A classical over-the-barrier (COB)70,71,72 model simulates electron transfer dynamics in the valence shell. In this model, an electron fills a vacancy in the valence shell of a neighboring atom when its binding energy is higher than the Coulomb barrier. When the atoms are far apart, the resulting Coulomb barrier suppresses the electron transfer. In the original COB model, electron transfer takes place instantaneously when the electron orbital energy is higher than the Coulomb barrier. To go beyond this instantaneous model, which essentially yields either 0 or 1 for the electron transfer probability PET, we computed it at each time step (δt) of the simulations

$${P}_{{ET}}\,=\,\gamma \delta t/{t}_{{ET}}$$
(1)

where γ is the electron transfer efficiency parameter, and tET is the electron transfer time, which is the time needed for the electron to travel the distance between the participating atom pair. The step size δt was set to 10 as for the first 100 fs, and 1 fs afterwards. The electron transfer efficiency γ was chosen to be 1.65 × 103, which was obtained by optimizing the match between the simulated MFMD of the C2+/I3+/I3+ channel with its experimental counterpart.

All Coulomb explosion simulations described in the following three subsections are based on this model. Its validity is independently verified by simulating the Coulomb explosion of the intact molecules (without the pump pulse), as shown in Supplementary Fig. 8. Furthermore, we tested our model by applying it to other channels, as illustrated in Fig. 2d and Supplementary Fig. 6, where the simulated I-C-I bending motion matches our experimental data remarkably well.

Time-dependent distribution of the momentum-space I-C-I angle ICI (M)

The time-dependent momentum-space angle ICI(M) shown in Fig. 2d was obtained from the MFMD for the C2+/I3+/I3+ channel. We first determined the ICI(M) angle distribution at each NIR/X-ray delay τ, and then subtracted the ICI(M) distribution produced from the XFEL-only run. The mean value of the resulting background-subtracted distribution is plotted as a function of the delay in Fig. 2d. For a more general mapping of the NIR-induced vibrational wave packet, in Supplementary Fig. 6a we combine the contributions from all channels dominated by the bound-state dynamics (labeled “I-C-I bending” in Supplementary Table 1a). We first repeated the procedure described above for each individual channel. In order to sum up different channels, they need to be scaled with respect to each other. This scaling was obtained by integrating all time delays for each channel, which yielded 1D Gaussian angular distributions. Using the extracted centers and widths of these Gaussians, we standardized the 2D distributions of each channel such that they all had the same centers and widths along the ICI(M) axis as the C2+/I3+/I3+ channel. The standardized distributions were then summed up to produce Supplementary Fig. 6a.

Coulomb explosion simulation of the momentum-space I-C-I angle ICI (M)

The initial position of each constituent atom was set according to the ground-state CH2I2 equilibrium geometry optimized with XMS-CASPT2/ ANO-RCC-VDZP (with 12 active electrons in 8 orbitals) and adjusted for different I-C-I angles ICI(R). To create a mapping between the starting real-space angle ICI(R) and the momentum-space I-C-I angle ICI(M) of the final ion fragments, X-ray ionization simulations were performed at eight initial ICI(R) angles ranging from 80° to 115° with a 5° spacing. Each simulation consisted of 432,000 Monte Carlo trajectories. At the end of each trajectory, the final charge state, position, velocity, and energy of the resulting atomic fragments were read out. Based on these outputs, we then constructed the molecular-frame momentum distribution of the ion fragments in the C2+/I3+/I3+ channel, from which the momentum-space I-C-I angle ICI(M) is derived. By repeating this procedure for all simulations starting from different ICI(R) angles, a mapping between the real-space and momentum-space angles is established (see Supplementary Fig. 2b). The simulated curves in Fig. 2d and Supplementary Fig. 6a were produced by converting the real-space oscillation obtained with the molecular dynamics simulation into fragment momentum space through the simulated correspondence shown in Supplementary Fig. 2b.

Coulomb explosion simulation of I2 + formation

Coulomb explosion simulations were carried out for both pathways of I2+ formation discussed in the paper. The pre-explosion molecular geometries at different time delays up to 350 fs were taken from the two exemplary trajectories shown in Fig. 4b, d. For the simulation at later time delays, the CH2 fragment was assumed to fly along the initial molecular symmetry axis for pathway 1, and at 55° relative to the symmetry axis for pathway 2. The initial velocity of I2+ was determined by the centroid (0.06 eV) of the KED of I2+ produced with the optical laser only, which is plotted in Supplementary Fig. 4d. The velocity of the neutral CH2 fragment was then obtained through momentum conservation. The two fragments move apart with these derived initial velocities until the X-ray pulse arrives at a certain delay τ. For the simulation of the relative angles of the final fragments, τ was chosen to be 0, 50, 100, 150, 200, 400, 600, and 800 fs. At each of these delays, X-ray ionization of the two fragments was simulated with 216,000 Monte Carlo trajectories, from which the final velocities and energies of the atomic fragments in the C+/I4+/I5+ channel were produced. The KE and I − I − C(M) angle displayed in Figs. 3b and 4e were then calculated based on these values. The bond length of the formed I2+ for these simulations was set to be 3.60 Å (2.58 Å was only used for the simulation in Fig. 2b), which is found to best match the experimental data for all simulations related to I2+ formation.