Main

Molecular photoswitches are an exciting area of research with emerging applications in catalysis, photochromic materials, molecular machines, logic devices and energy storage1. The last example includes molecular solar thermal (MOST) energy storage solutions, whereby molecular isomers are exploited to absorb, store and later release solar energy as heat2,3. An important model system for such applications is the photoswitchable pair of isomers quadricyclane (QC), a highly strained multicyclic hydrocarbon, and its lower-energy isomer norbornadiene (NBD)4,5,6,7,8,9, whose International Union of Pure and Applied Chemistry (IUPAC) names are tetracyclo[3.2.0.02,7.04,6]heptane (QC) and bicyclo[2.2.1]hepta-2,5-diene (NBD). The isomers, shown in Fig. 1, interconvert upon photoabsorption in the ultraviolet (UV) range10,11,12,13. More broadly, the photoisomerization of NBD → QC is an example of a [2 + 2] cycloaddition reaction, and the behaviour of the molecule is reminiscent of the prototypical ethylene dimerization, with the bridging framework acting to hold the ethylene moieties together14,15. We investigate the mechanism of the reverse interconversion, QC → NBD, which is of both fundamental photochemical interest and practical importance since it represents the undesired UV-induced photoreversion process in QC/NBD-derived MOST systems.

Fig. 1: Schematic of the QC  NBD interconversion.
figure 1

The isomerization reaction breaks (or forms) the 1–2 and 3–4 carbon–carbon bonds in QC, with the energy of the QC ground state located ~1 eV above the ground state of NBD. The interconversion can be driven by light absorption, allowing the system to act as a molecular photoswitch.

Source data

Early time-resolved ion mass spectrometry experiments on gas-phase NBD noted signatures of ultrafast molecular dynamics upon UV excitation at 200 nm (6.20 eV), which were speculatively attributed to transitions from a superposition of Rydberg and valence states to the electronic ground state via a series of conical intersections on a sub-100 femtosecond timescale15. A subsequent study on QC excited at 208 nm (5.96 eV) employed time-resolved Rydberg fingerprint photoelectron spectroscopy16. The latter work suggested that QC isomerizes to NBD on the 3s Rydberg state within 140 fs and that relaxation to the electronic ground state occurs within 400 fs. Notably, that study could not observe the dynamics all the way to the ground state since the probe photons had insufficient energy to ionize ground-state molecules. Theoretical work has focused on the photorelaxation of NBD, examining the electronic structure4,9,17 and the dynamics18,19. In both cases, the key role of interactions between the Rydberg manifold and valence states in NBD was highlighted.

In the present study, we use time-resolved photoelectron spectroscopy (TRPES) with extreme ultraviolet (XUV) probe pulses, capable of tracking the entire reaction path from the initial UV-excited states through to the electronic ground states of both isomers. TRPES with XUV pulses is a powerful method for mapping complex chemical dynamics20,21,22,23,24. Our experimental data, supported by high-level simulations, provide a much more complete description of the deactivation mechanisms in QC, thus providing mechanistic insights that can be used to design more-efficient MOST systems.

Results

We initiate the photochemical reaction in gas-phase QC by a UV excitation pump pulse at 200.6 nm (6.18 eV), followed by an XUV ionization probe pulse at 18.97 eV (65.35 nm) from a seeded free-electron laser (FEL). The TRPES spectra obtained as the difference between the spectra acquired with and without the pump pulse (Methods and Supplementary Section 1.4 for details) are shown as a two-dimensional false-colour map in Fig. 2a. One-dimensional spectra obtained by averaging over selected time-delay ranges are displayed in Fig. 2b,c (additional spectra are shown in Extended Data Fig. 2). Several prominent features are apparent. A narrow and long-lived feature at ~2.3 eV binding energy (BE), visible as a faint horizontal line in Fig. 2a and as a clear peak in Fig. 2b, is assigned to two of the three 3p Rydberg states of QC in accordance with the literature16. The 3s Rydberg state can be seen at a BE of ~2.9 eV in Fig. 2b but has a weaker signature than in earlier studies16, suggesting less excitation to the 3s state at 200.6 nm compared to 208 nm. Figure 2a also shows a spectrally broad and short-lived vertical feature in the BE range of ~1.5–7 eV, which merges into a long-lived horizontal band at ~7–8 eV BE, both of which were not observed in the earlier work that did not have a sufficient photon energy to ionize this BE region. These observations suggest the existence of a rapid (<100 fs) deexcitation pathway leading to the formation of vibrationally hot photoproducts, while the longer timescale of the Rydberg-associated features indicates the existence of a second, slower decay mechanism, which corresponds to the pathway identified in earlier work16. Finally, there is a pronounced negative signal in the difference spectrum in the BE range 8–9 eV, assigned to the depletion of the QC ground state, followed by a partial recovery.

Fig. 2: Experimentally measured TRPES spectra of UV-excited QC.
figure 2

a, Photoelectron spectra as a function of BE (with respect to the first ionization potential, D0) and pump–probe time delay between UV and XUV pulses, plotted as the electron yield difference between spectra taken with and without the UV-excitation pulse (Extended Data Fig. 1). The respective electron yield at each delay is normalized to the FEL pulse energy before subtraction, and the difference signal is normalized to the integrated electron yield without UV excitation, both summed over all shots at the respective delay. Negative delays correspond to the FEL pulse preceding the UV excitation pulse. b,c, Photoelectron BE spectra in the excited-state region (b) and at large BE values that sample the electronic ground state (c) at specific time delays. d,e, Delay-dependent electron yield in the denoted BE regions, normalized to have the same peak amplitudes. The data and error bands (shading) in b and c, and the error bars in d and e, represent the mean value of approximately 40,000 single-shot digitizer traces and the 68% confidence interval obtained from a bootstrapping analysis (Methods).

Source data

Delay-dependent photoelectron yields in selected spectral regions are shown in Fig. 2d,e. They display a nearly Gaussian shape at low BE values with a temporal width that is mostly given by the instrument response function (Methods), while clear exponential ‘tails’ are visible in the range of the Rydberg excitations and in the high-BE yields. Least-square fits of the delay-dependent yields are provided in Supplementary Figs. 911.

The nature of the previously unreported broad, short-lived feature with BE values in the range ~1.5–7 eV is investigated further using high-level electronic structure calculations and non-adiabatic dynamics simulations. Figure 3 shows calculated potential energy curves for the ground (S0) and first five singlet excited (S1–S5) electronic states identified as being active in the dynamics probed by the present experiment, plotted along a linear interpolation in internal coordinates (LIIC) from the equilibrium geometry of QC(S0) to the S1/S0 minimum energy conical intersection (MECI) and then continued along a second LIIC from this MECI to the NBD(S0) equilibrium geometry. The dominant electronic characters and adiabatic energies at the equilibrium geometries and the MECI are given in Table 1. In the Franck–Condon (FC) region of QC, the S1 adiabatic state has 3s Rydberg character; S3 and S4 are 3p Rydberg states; and S2 and S5 are a pair of mixed 3px/valence (V) states. As the QC molecule approaches the MECI geometry, the S1 state acquires valence character, which persists into the FC region of NBD. A complete discussion of the vertical electronic spectra of both isomers, complementing the work by Palmer et al.17,25, is reserved for a separate publication26.

Fig. 3: Potential energy curves for QC and NBD along the LIICs.
figure 3

Potential energy curves for the ground state S0 and excited states S1–S5, as well as the cation ground state D0 and first excited state D1 (dashed lines), calculated along the LIICs, first from QC to the S1/S0 MECI and then from the MECI to NBD, using RMS-CASPT2(2,6)/6-31G* + D (Methods and Supplementary Section 2.1). The two proposed reaction pathways are indicated schematically by black arrows, with the slow Rydberg pathway supporting vibrational motions on the Rydberg states before relaxing via the S1 state, while the fast valence pathway descends on S1, bypassing the MECI on the initial descent, before crossing onto the S0 ground state to form both products. The molecular geometry at the MECI has a distinct rhombic distortion (Extended Data Fig. 3). The Estorage indicates the energy stored in QC relative to NBD (~1 eV). Corresponding vertical excitation energies are listed in Table 1, and a plot including higher excited states and the approximate state characters is provided in Extended Data Figure 4.

Source data

Table 1 Vertical excitation energies for each of the five excited singlet states, labelled S1–S5, with the dominant electronic character provided in parentheses, as well as the S0 → D0 ionization potential at the respective equilibrium geometries of QC and NBD and at the S1/S0 MECI geometry, calculated using RMS-CASPT2(2,6)/6-31G* + D

Discussion

The potential energy curves in Fig. 3 suggest the possible mechanisms that underpin the features observed in the TRPES data, with the two pathways indicated schematically by black arrows. From the QC ground state, the bandwidth of the pump pulse (0.6 nm) allows excitation to a manifold of closely spaced states with 3p Rydberg character (Extended Data Fig. 7). Population in the 3py/z Rydberg states (S3 and S4 in the FC region) then evolves via a (comparatively) slow Rydberg pathway on the rather flat Rydberg manifold at excitation energies of ~6 eV; we anticipate that this would correspond to the pathway observed previously16. Due to the similar topographies of the Rydberg and ground-state ion (D0) adiabatic potential energy surfaces, the BE values for the slow Rydberg pathway can be expected to be relatively constant—as observed experimentally. Conversely, in the fast valence pathway, the population in the strongly mixed Rydberg–valence 3px/V state (S2 in the FC region) is subject to efficient non-adiabatic coupling to S1, funnelling down towards a conical intersection with the S0 state. In the proposed model, the BE values for the fast valence pathway would increase rapidly, consistent with the short-lived structure observed for experimental BE values in the range of ~1.5–7 eV.

We confirm these hypothesized mechanisms using non-adiabatic mixed quantum–classical trajectory simulations (Methods). The simulations divulge that the photodynamics of excited QC are strongly dependent on the initial excited state. Figure 4 shows the results separated into two sets. Dynamics initiated on the S2 (3px/V) state are labelled fast valence, shown in the top row, while dynamics initiated on the S3 and S4 (3py and 3pz) states are labelled slow Rydberg and shown in the bottom row. The plots in Fig. 4a show false-colour maps of the nuclear dynamics along the coordinate associated with the making and breaking of the 1–2 and 3–4 carbon–carbon bonds (r12 and r34, respectively) during the interconversion between QC and NBD (Methods). The left and right sides show the trajectories on the excited states and ground state, respectively. Figure 4b shows the time-dependent electronic-state populations and the fraction of population best defined as NBD-like, while the false-colour maps in Fig. 4c finally show the contributions to the simulated TRPES spectrum to aid comparison with the experimental data in Fig. 2a.

Fig. 4: Simulated dynamics of UV-excited QC.
figure 4

The simulations are separated into the fast valence mechanism (top row, corresponding to trajectories starting on the S2 state) and the slow Rydberg mechanism (bottom row, trajectories originating on the S3/4 Rydberg states). A zoomed-in depiction of the first 200 fs is shown in Extended Data Fig. 6. a, False-colour maps for average carbon–carbon distance rCC = (r12 + r34)/2 versus time (Methods). The left and right sides show the nuclear dynamics in the excited states and the ground state (S0), respectively. b, Populations of the electronic states as a function of time, where Sn ≥ 2 shows the cumulative population of the excited states other than S1. These plots also show the fraction of molecules with NBD-like geometry (defined as rCC > 2.0 Å). c, Simulated TRPES data, convoluted by Gaussian functions with full-width at half-maximum of 0.1 eV and 94 fs. Signals with BE > 3 eV (below the horizontal dashed line) have been multiplied by a factor of three prior to display.

Source data

We first examine the simulation results for the fast valence mechanism shown in the top row of Fig. 4, corresponding to trajectories initiated on the S2 (3px/V) state. One-photon excitation to the 3px/V state from the S0 state is symmetry forbidden at the exact equilibrium geometry, but the transition gains strength from the Herzberg–Teller effect (45% excitation fraction; Methods). The nuclear dynamics in the electronic excited states (Fig. 4a, left side) break the carbon–carbon bonds along r12 and r34, allowing the molecule to deform towards NBD-like geometries (rCC =(r12 + r34)/2 > 2.0 Å). The wave packet then returns towards QC-like geometries (smaller rCC) and crosses to the S0 ground state via a conical intersection, appearing on the right side. It immediately partitions into QC-like and NBD-like geometries. The recurrences in the upper map reflect the persistence of the ‘butterfly’-like vibrational motion of the NBD products when they first reach the S0 state (with wave number \(\widetilde{\upsilon }\) ≈ 428 cm–1)27. The corresponding motion in QC has a higher wave number (\(\widetilde{\upsilon }\) ≈ 721 cm–1)28 but can also be discerned in the lower maps.

This picture is confirmed in the upper plot of Fig. 4b, which shows almost immediate population transfer from S2 to S1 via internal conversion (zoomed-in view in Extended Data Fig. 6), followed by another rapid internal conversion to S0, with only a small fraction (<10%) of the population remaining in the Rydberg manifold after 1 ps. The time-dependent fraction of molecules with NBD-like geometries (that is, with rCC > 2.0 Å) in the same graph shows a rapid early increase and then decline (mirroring the S1 state population), finally converging to a branching ratio of ~3:2 for NBD-like to QC-like geometries in the S0 state. This ratio is set by the decay dynamics rather than energetics, as the timescales are far too short for thermalization on the ground state.

The theoretically predicted TRPES signal in Fig. 4c shows a curved band of intensity evolving from the BE values of the Rydberg state (~2.1 eV) down to that of the S0 state (~7 eV), in good accord with the ‘hockey-stick’-shaped feature in the experimental data (Fig. 2a). In part, this broad feature reflects the very fast motion of the wave packet down the 3px/V surface, with a corresponding rapid increase in the BE with respect to D0. In addition, there is a smaller contribution from the D1 ionization channel when the wave packet approaches the MECI. Figure 4a (upper left map) shows that the bond breaks and reforms in under 100 fs, faster than the instrument response function of the experiment, making these features appear almost simultaneously at time t = 0. A more detailed analysis of the components of the photoelectron signal is provided in the Supplementary Information.

Next, we consider the slow Rydberg pathway with trajectories initiated on the S3/4 (3py/z) states, shown in the bottom row of Fig. 4. Already on the left side of Fig. 4a, it is apparent that the excited-state dynamics persist for substantially longer than in the fast valence mechanism, and that the dynamics are more centred at QC-like molecular geometries (rCC < 2.0 Å), with only a small fraction of the trajectories exploring NBD-like geometries in the 3p excited states, discernable as a faint signal at rCC > 2.0 Å. Examining the populations in Fig. 4b, we see a comparatively slow but steady deactivation of the Rydberg manifold states (S2 and higher) with a matching increase in S0 population. The decay proceeds via the same 3px/V state as the fast valence mechanism, evidenced by the build-up of population in the S1 intermediate state, which acts as a funnel towards the S0 state via the conical intersection. It appears that this conical intersection has a strong influence on the NBD/QC branching ratio in the S0 state, since the fraction of NBD (Fig. 4b, bottom) approaches the same value as the fast valence pathway.

The simulated TRPES signal in Fig. 4c shows a long-lived feature with BE ≈ 2.1 eV, corresponding to the 3p Rydberg states (with potentials along the LIIC of interest that closely track that of the D0 ionic state), in good accord with the experimental data, which show the corresponding feature attributable to ionization from these Rydberg states at BE ≈ 2.3 eV (Fig. 2a). At long times, the TRPES signal seen in the slow Rydberg and fast valence dynamics are essentially identical. Both pathways involve similar ultimate decays to the S0 state, yielding similar branching ratios of hot QC and NBD products. Note that the vertical ionization potentials of QC and NBD are similar, differing by ~0.3 eV (Methods). Thus, the TRPES signals of hot ground-state QC and NBD species overlap, and the experimentally observed bleach recovery in Fig. 2e includes components from both isomers.

Notwithstanding the very good agreement between experiment and theory, some discrepancies are evident. The simulations return longer Rydberg state lifetimes than observed experimentally, which could reflect shortcomings in the electronic structure theory, for example, regarding the strength and location of the couplings with the 3px/V state, additional decay paths not accounted for by the active space used or the accuracy of the predicted ionization cross-sections.

In summary, TRPES studies using XUV photons from a seeded FEL have provided new and detailed insights into the relaxation pathways of electronically excited QC molecules formed by photoexcitation at 200.6 nm, from Rydberg states through to vibrationally excited hot ground-state QC and NBD molecules. We present observations of the dominant relaxation pathway in QC, involving strong Rydberg–valence coupling, alongside the previously observed Rydberg-state-mediated isomerization16. The present combined experimental and theoretical study shows that all three 3p Rydberg states of QC are excited by the 200.6 nm pump pulse. The lowest-energy (3px) state is strongly coupled to a valence state, giving rise to the fast valence pathway characterized by ultrafast electronic decay and nuclear motion. The other two support initial nuclear dynamics in the Rydberg manifold, prior to comparatively slower decay to the ground state (identified here as the slow Rydberg pathway). The simulations suggest that ~40% of the vibrationally excited ground-state products sampled at pump–probe delays of ~1 ps correspond to QC-like structures, irrespective of the decay pathway followed, and that this early-time partitioning is determined by the molecular dynamics rather than thermodynamics.

The insights provided by the present study point to key features that affect the photodynamics: the partial absorption cross-sections, the strength of the non-adiabatic couplings to the valence excited state and the relative stabilities and geometries of the regions of maximal interstate coupling, that is, the conical intersection between the S1 and S0 states. For potential applications, these properties could be manipulated using substituent groups, using spatial confinement and/or by the choice of excitation wavelength5,8,19,29. For instance, the detailed nature of valence/Rydberg mixing in the valence state controls its energy and accessibility, which could be used to affect the system’s function as a molecular photoswitch. The manner in which the wave packet approaches the S1/S0 conical intersection region is also important, and this could be manipulated either in the preparation of the wave packet or by altering the position and shape of the conical intersection.

From a broader photochemical perspective, one might conjecture that the bipartite dynamics found here will be a common feature whenever a manifold of Rydberg states intersects valence states in the FC region30,31,32. The excitation energies to Rydberg states typically fall within ~3 eV of the associated ionization limit, EIP (IP, ionization potential), and, in most small to medium-sized molecules, will overlap with those of one or more excited valence states. Rydberg excitations will manifest as a longer-lived trapping component, whereas excitations to valence states (or, as here, to a mixed Rydberg–valence state) will lead to more-rapid relaxation that gives rise to broad features in the photoelectron spectrum. Broadband excitation can excite both types of states, leading to both types of mechanism. Bifurcation of wave packets has been reported previously, for example, in the photoisomerization of stilbene33 and in photoexcited inverse dithienylethene derivatives34, but in most such cases studied hitherto, the bifurcation arises as a result of sampling a ‘transition-state’-like region of a common excited state (for example, a ππ* state), the potential energy surface of which supports multiple minima.

The current results demonstrate the utility of TRPES with XUV probes for characterizing complex photochemical mechanisms. Comparison with previous experiments16 indicates that a systematic examination of the effect of excitation wavelength would be useful. Ideally, this should be coupled to complementary experimental work more sensitive to molecular geometry. For instance, ultrafast electron diffraction and ultrafast X-ray scattering experiments35,36,37,38 might offer further insights into the dominant conical intersection and, at longer times, reveal fragmentation products from the hot ground-state molecules. We anticipate that future experiments should provide an even deeper understanding of the intriguing ultrafast ring reconfigurations in this photoswitch molecule.

Methods

Experiment

The experiment was performed at the Free Electron laser Radiation for Multidisciplinary Investigations (FERMI) FEL facility39 at the Low Density Matter (LDM) beamline40,41. XUV probe pulses with a photon energy of 18.97 eV were generated at 50 Hz as the fourth harmonic of the seed laser wavelength at 261.4 nm. The UV pump pulses with a central wavelength of 200.6 nm and a bandwidth of 0.6 nm (6.18 ± 0.02 eV) were generated as the fourth harmonic of a Ti:sapphire laser with a sequence of three barium borate crystals. For the data presented here, the pump–probe delay was scanned between −500 and 1,000 fs with a step size of 25 and 50 fs near and far from the pump–probe overlap, respectively. At each delay point, 3,000 shots were acquired. For every second shot, the UV pulse was blocked by inhibiting the trigger of the Ti:sapphire amplifier. Shots without UV excitation pulses present were used to subtract static features in the signal and for additional normalization (Supplementary Section 1.4). The pump–probe instrument response function was obtained by monitoring the UV-induced ionization of helium atoms following resonant 1s → 4p excitation at 23.72 eV (fifth harmonic of the seed laser), which yielded an instrument response function of 186 ± 28 fs (full-width at half-maximum), as shown in Supplementary Fig. 3 and Supplementary Table 1.

QC was synthesized by adding recrystallized Michler’s ketone (0.35 wt%; 98%, Sigma-Aldrich) to NBD (97%, Alfa Aesar) and irradiating the mixture for 48 hours (Thorlabs, M365LP1; 365 nm). The product was distilled, and the irradiation and distillation process repeated. The final product was checked by 1H NMR (400 MHz) and showed a 99% photoconversion of NBD to QC, without significant contamination from other products (Supplementary Section 1.3 for further details). The molecules were delivered into an ultrahigh vacuum chamber as a supersonic molecular beam using a pulsed Even–Lavie valve without further heating and with helium at a backing pressure of 6 bar as a carrier gas.

Photoelectron spectra were measured with a magnetic bottle electron spectrometer described previously23. For the data shown here, an effective retardation voltage of 9.7 V was used to increase the resolution in the BE region of interest containing the excited states as well as the lowest-BE peak of ground-state QC. The conversion from time of flight to kinetic energy was calibrated by measuring the helium 1s photoline at 28.46 eV (sixth harmonic of the seed laser) and 33.20 eV (seventh harmonic) photon energy. Weaker photoelectron signals corresponding to ionization with the third harmonic of the FEL tuned to the fourth, fifth, sixth and seventh harmonic were also included in the calibration. For the conversion to BE values, the photoelectron kinetic energy was subtracted from the central FEL photon energy. By comparing the XUV photoelectron spectrum of QC measured here with a high-resolution spectrum reported in the literature16 (Supplementary Fig. 4), we estimate the kinetic energy resolution to be δE/E ≈ 0.03 (that is, ±0.3–0.5 eV) in the kinetic energy range shown in Fig. 2.

The statistical uncertainty of the experimental signal was estimated using a standard bootstrapping analysis. The ~40,000 single-shot digitizer traces that were analysed to obtain Fig. 2 were randomly resampled with replacement 150 times. The conversion from time of flight to electron kinetic energy (including Jacobian correction) was performed on each bootstrap dataset separately. The mean and standard deviation of these 150 datasets define the values and the corresponding error bars shown in Fig. 2b–e. They were checked for convergence by repeating the bootstrapping analysis a second time and comparing the results of both procedures.

Calculations

Electronic structure calculations for the neutral species were performed using RMS-CASPT2 (ref. 42) based on SA(9)-CASSCF(2,6) with the 6-31G(d) basis augmented by additional diffuse functions (8s8p contracted to 1s1p) centred on the bridging CH2 fragment. The active space contained two valence, one 3s Rydberg and three 3p Rydberg orbitals (shown in Extended Data Fig. 5). No 3d orbitals were included in this study, as their presence was not seen in the experimental data. The lowest six (S0–S5) states were deemed sufficient to describe the dynamics observed, though state averaging over the first nine roots returned by the calculations was required for convergence. All nine states were active in the simulations; however, only a very small fraction of population ever appeared in the states S6 and above during the dynamics. We note that this approach fails to capture well the second valence excited state of NBD4, but as discussed in the Supplementary Information, this omission is judged to have little impact on the dynamics initiated by photoexciting QC. Electronic structure calculations for the molecular ion were performed with the same method and basis, although with one electron removed, that is, RMS-CASPT2/SA(6)-CASSCF(1,6), using the neutral orbitals as an initial guess. This accounts for all ionizations from the active electron, including the D0 and D1 ionic states of interest (further details in Supplementary Information). The absence of Rydberg states in the ion wavefunction leads to lower relative energies in the ion than the neutral, leading to a bias towards lower EIP values (Supplementary Information). All calculations included an imaginary shift of 0.5Eh, in units of hartree Eh=27.2114 eV, to remove intruder states and were performed in a development branch of OpenMolcas (ref. 43) implementing gradients for RMS-CASPT2 (ref. 44).

The potential energy curves in Fig. 3 are calculated along a LIIC that connects the ground-state equilibrium geometry of QC to the S1/S0 MECI, and then along a LIIC from this MECI geometry to the ground-state equilibrium geometry of NBD. The C4-ring geometry at the MECI is rhombic4,18 and does not lie directly between the equilibrium geometries of the two isomers, as shown in Extended Data Fig. 3. Since this is an essentially barrierless process, there is no obvious conceptual advantage in considering a minimum energy pathway over the LIICs.

Non-adiabatic trajectories were run using the surface-hopping method with a locally modified version of SHARC v.2.1 (ref. 45). Couplings were calculated using the local-diabatic approach. Limited numerical issues with the stability of the gradients were mitigated by a variable time step for the integration (Supplementary Section 2.3 for details). The surface-hopping simulations were performed using an electronic time step 1/25 times smaller than the nuclear time step, and used the energy-based decoherence correction with the standard C = 0.1Eh.

The initial conditions were selected from a Wigner-sampled ground-state QC geometry using the delta-pulse approximation46 inside a 5.75 ± 0.07 eV window, chosen to overlap well with the calculated partial absorptions to the 3p Rydberg states of QC (Extended Data Fig. 7). Trajectories were categorized into those excited into S2 (121 trajectories, 45%) and those excited into S3 and S4 (146 trajectories, 55%). Strictly, one-photon excitation S0 →S2 is forbidden at the equilibrium geometry, and the excitation is therefore attributable to the Herzberg–Teller effect with the transition gaining strength from the mixing of valence character into the S2 state. Inspection showed that within the envelope of the Wigner sampling, the character of the states remained separated, with the S2 state corresponding to the 3px/V configuration, whereas the S3 and S4 states each involved a mixture of excitations to the 3py and 3pz orbitals. This separation is confirmed by the distinctly different, excitation-character-dependent dynamics displayed by the respective sets of trajectories. A very small sample (5 trajectories) was excited to the S1 (3s) state at this energy. These are not considered further in the current analysis.

For the analysis, the trajectories were sorted according to initial state, allowing resolution of the dynamics into state-specific components. A small portion (7% of the total) of trajectories undergo a retro-Diels–Alder reaction from NBD-like geometries after passing through the MECI geometry, yielding C5H6 and C2H2 fragments, but these were excluded from the analysis as the selected active space cannot describe the fragmentation pathway accurately. Molecular geometries were differentiated by the average carbon–carbon distance rCC = (r12 + r34)/2 (atom numbers shown in Fig. 1), with QC-like geometries defined to have rCC < 2.0 Å and NBD-like geometries defined to have 2.0 Å < rCC < 3.5 Å.

Photoionization cross-sections and energies were calculated by selecting a random time point in each 5 fs period within each trajectory. The squared Dyson norm47 was calculated between the active state in the surface hopping and all ionic states, and used as an approximation to the photoionization cross-section. The method yields qualitatively lower cross-sections for valence states than for Rydberg states when compared to experiment, so for display purposes, the intensities in Fig. 4c with BE > 3 eV have been multiplied by a factor of three (further discussion in Supplementary Section 2.3). The difference in vertical ionization potential between QC and NBD is roughly 0.3 eV with EIPQC = 7.67/8.4 eV and EIPNBD = 8.02/8.67 eV (first value from present vertical calculations in Table 1 and second value from experiment (ref. 16), respectively).