← Latest papers
🔬 optics

WaveMixings.jl: a Julia package for performing on-the-fly time-resolved nonlinear electronic spectra from quasi-classical trajectories

The paper introduces WaveMixings.jl, an efficient Julia package that implements the quasi-classical doorway-window approximation to enable on-the-fly simulations and post-processing of various time-resolved nonlinear electronic spectra.

Original authors: Luis Vasquez, Sebastian Pios, Lipeng Chen, Zhenggang Lan, Wolfgang Domcke, Maxim Gelin

Published 2026-08-26
📖 5 min read🧠 Deep dive

Original authors: Luis Vasquez, Sebastian Pios, Lipeng Chen, Zhenggang Lan, Wolfgang Domcke, Maxim Gelin

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the invisible world of molecules, time moves at a scale that defies human perception. Chemical reactions, where bonds break and new ones form, often happen in femtoseconds, a unit of time so brief that a femtosecond is to a second what a second is to thirty-one million years. To watch these events unfold, scientists use powerful lasers that fire pulses of light lasting only a few femtoseconds. By firing a first pulse to start a reaction and a second pulse a fraction of a moment later to take a "snapshot," researchers can stitch together a movie of molecular change. This technique, known as nonlinear spectroscopy, allows scientists to see how energy flows through a molecule, how electrons jump between states, and how the atomic nuclei rearrange themselves. However, turning these experimental snapshots into a clear, theoretical understanding is incredibly difficult. The mathematics required to describe the interaction of light and matter is complex, and simulating the behavior of every atom in a molecule as it reacts to a laser pulse demands immense computing power.

To bridge the gap between theory and experiment, a team of researchers has developed a new software tool called WaveMixings.jl. This package is designed to take the raw data generated by computer simulations of molecular motion and convert it into the specific types of spectroscopic signals that experimentalists measure in the lab. The researchers focused on a method called the quasi-classical doorway-window approximation. In this approach, the complex quantum behavior of electrons is treated with high precision, while the heavier atomic nuclei are tracked using classical physics, similar to how one might track the path of a billiard ball. This hybrid strategy allows for the simulation of large, realistic molecules without the prohibitive cost of calculating every quantum interaction from scratch. The software acts as a translator, taking the trajectory of a molecule as it moves and vibrates after being hit by a laser, and calculating what the resulting light spectrum would look like. It can generate various types of signals, including those that measure how much light is absorbed, how it is scattered, or how it is emitted as fluorescence, covering both standard pump-probe experiments and more advanced two-dimensional spectroscopy.

The team tested this new tool on pyrazine, a small organic molecule that serves as a standard test case for understanding ultrafast chemical dynamics. Pyrazine is known for having a complex electronic structure where different energy states interact closely, making it a challenging subject for simulations. Using the WaveMixings.jl package, the researchers ran simulations on a standard laptop computer, demonstrating that the software is both efficient and accessible. They fed the program data from a trajectory surface-hopping simulation, a method that tracks how a molecule jumps between different electronic states as it moves. The software then processed this data to produce detailed maps of the molecule's response to light. The results showed that the package could successfully reproduce known spectral features, such as the rapid decay of an excited state and the oscillating patterns caused by the vibration of the molecule's atoms.

The simulations revealed specific details about how pyrazine behaves under laser excitation. The software calculated signals showing a strong "ground-state bleach," which occurs when the laser pulse temporarily depletes the number of molecules in their lowest energy state, making them unable to absorb more light at that specific frequency. It also mapped out "stimulated emission," where the laser encourages the excited molecules to release energy as light, and "excited-state absorption," where the molecule absorbs more light while already in an excited state. The package successfully captured the timing of these events, showing that the excited state of pyrazine decays in about 20 femtoseconds, while other vibrational patterns in the molecule create oscillations that last for hundreds of femtoseconds. By comparing the simulated signals with previous theoretical work, the authors confirmed that their tool accurately captures the physics of the system, including the subtle interplay between different electronic states and the vibrational motion of the atomic nuclei.

Beyond simply reproducing existing results, the software offers a flexible platform for future discovery. It is written in the Julia programming language, which is known for its speed and ability to handle complex mathematical operations efficiently. This allows researchers to run simulations that would take much longer in other languages, making it possible to explore larger molecules or more complex experimental setups. The package includes tools to handle the messy reality of simulation data, such as filtering out incomplete trajectories and smoothing out noisy results to reveal clear patterns. It can also generate two-dimensional spectra, which provide a richer view of the molecule's behavior by showing how different frequencies of light interact with each other. This capability is particularly useful for distinguishing between different types of molecular motions that might look identical in a simpler, one-dimensional measurement.

The development of WaveMixings.jl represents a significant step toward making advanced theoretical spectroscopy more accessible to the scientific community. By providing an open-source tool that is easy to use and highly efficient, the authors hope to encourage other researchers to adopt the quasi-classical doorway-window approximation for their own studies. This could lead to a better understanding of photochemical reactions in biological systems, the design of new materials for solar energy, and the interpretation of complex experimental data. The software is not just a calculator; it is a framework that allows scientists to test new ideas about how light and matter interact, potentially leading to the discovery of new phenomena in the ultrafast world of molecular dynamics. As the tool continues to evolve, it may soon support even more sophisticated techniques, such as those involving X-ray pulses or polarization-resolved signals, further expanding the horizons of what can be simulated and understood.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →