Pith. sign in

REVIEW 4 major objections 5 minor 2 references

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

T0 review · 4 major / 5 minor · reviewed 2026-08-05 · deepseek-v4-flash

Pith's one-line read WaveMixings.jl is an open-source Julia package that computes time-resolved nonlinear electronic spectra—integral and dispersed transient absorption, 2D, 2D-FLEX, strong-field, and fluorescence—directly from quasi-classical trajectory data.

desk verdict Useful, well-documented software package that needs stronger validation than a visual match to its own prior code. read the letter →

arxiv 2509.03917 v1 pith:EBO4P45M submitted 2025-09-04 physics.chem-ph physics.optics

classification physics.chem-phphysics.optics
keywords doorway-windowapproximationquasi-classicaltrajectoriestransientabsorptionpump-probetwo-dimensionalelectronicspectroscopy2D-FLEXtime-resolvedfluorescencesurfacehoppingpyrazine
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

WaveMixings.jl is an open-source Julia package that turns trajectory surface-hopping output—electronic energies and transition dipoles along classical paths—into femtosecond time-resolved nonlinear electronic spectra. It implements the quasi-classical doorway-window approximation for six kinds of signals: integral and dispersed transient-absorption pump-probe, two-dimensional electronic, two-dimensional fluorescence-excitation, strong-field pump-probe, and time-resolved fluorescence. The central demonstration is that the package reproduces the pyrazine transient-absorption signals obtained earlier with the authors' undocumented in-house scripts, using the same trajectory data and pulse parameters. The point of the package is to make this methodology usable and extendable by others: a few lines of code replace bespoke scripts, and the modular structure is meant to allow new doorway-window-based signals to be added.

What carries the argument

The central object is the WaveMixing struct and its typed signal functions (gsb, se, esa, with dispersion, strong-field, 2D, and fluorescence variants). The carrying mechanism is the doorway-window factorization of third-order signals: a doorway function D, built from the ground-state Wigner distribution, pump power spectrum, and transition dipoles, prepares the system, and a window function W, built from probe spectrum and transition dipoles at the trajectory endpoint, reads it out, with the field-free population time T bridged by surface-hopping trajectories and Monte Carlo averaging. Ground-state bleach and stimulated emission enter with positive sign, excited-state absorption with negati

What would settle it

Take the public pyrazine trajectory logs and pulse parameters, implement the doorway-window formulas independently in a different language, and compare the resulting spectra with WaveMixings.jl output: a difference larger than Monte Carlo sampling noise would falsify the reproduction claim. A separate, stronger test would compare the simulated signals to experimental transient-absorption spectra of pyrazine.

Watch

Extended reading notes

Core claim

The paper's central claim is that the quasi-classical doorway-window approximation can be implemented as a general, efficient post-processing engine: all spectroscopic signals are built from the same factorization, signal = Re sum_k a_k < W_k(R(T),P(T)) D(R,P) >_MC, in which the doorway D samples initial conditions from the ground-state Wigner distribution weighted by the pump spectrum and transition dipoles, and the window W_k is evaluated at each trajectory's endpoint with the probe spectrum and transition dipoles. WaveMixings.jl codes this factorization for integral and dispersed transient-absorption pump-probe, 2D, 2D-FLEX, strong-field, and fluorescence signals, with ground-state bleach

Load-bearing premise

The validation assumes the earlier in-house results are the correct ground truth; agreement with them demonstrates consistency between the two codebases, not correctness against experiment.

Editorial extensions

If this is right

  • A research group using any trajectory surface-hopping, Ehrenfest, or mapping-approach code can obtain six different femtosecond nonlinear spectra from one input pipeline instead of writing bespoke scripts.
  • The pyrazine test demonstrates that full spectra can be computed on a laptop (591 trajectories, 128 seconds), so the method is practical as a routine post-processing step rather than a specialized high-performance task.
  • Because the formulas are modular, new doorway-window-based spectroscopy variants—such as polarization-resolved or six-wave-mixing signals the authors list as future work—can be added without reimplementing the input/output, filtering, and plotting machinery.
  • Reproducing earlier results with a documented open-source implementation makes the quasi-classical doorway-window approximation a feasible standard tool for comparing simulated and measured transient spectra.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • Editorial inference: the validation strategy tests internal consistency against an older implementation, not agreement with experiment; comparing the package's signals directly to measured pyrazine transient-absorption data would test the quasi-classical doorway-window approximation itself.
  • Editorial inference: because the 2D-FLEX signal isolates stimulated emission, it offers a clean observable for benchmarking surface-hopping internal-conversion dynamics, a use the paper notes only in passing.
  • Editorial inference: the package's trajectory-format interface could be extended to serve as a general conversion layer between ab initio dynamics codes and spectroscopic observables, lowering the cost of comparing methods.
Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

4 major / 5 minor

Summary. The paper presents WaveMixings.jl, an open-source Julia package for computing time-resolved nonlinear electronic spectra from quasi-classical (surface-hopping) trajectories within the doorway-window (DW) approximation. The manuscript restates the quasi-classical DW expressions for integral and dispersed transient absorption pump-probe, time-resolved fluorescence, 2D electronic, 2D-FLEX, and strong-field TA PP signals (Section III), describes the package architecture and input/output handling (Section V), and demonstrates the code on pyrazine (Section VI). The central validation claim is that WaveMixings.jl reproduces the TA PP signals of Gelin et al. (Ref. 63) for pyrazine, as stated in Section VI.A and Figure 2.

Significance. If the implementation is correct, the package fills a real need: it provides an open-source, dependency-light Julia platform for a class of spectroscopic simulations that were previously tied to undocumented in-house scripts. The coverage of several signal types, the use of standard-library Julia only, and the included tutorials and example data are concrete strengths. However, the paper's central correctness claim rests entirely on a visual, internal comparison with the authors' earlier implementation, using the same equations and the same trajectory inputs. No independent benchmark, analytic test, or numerical agreement metric is provided. Thus the significance of the package is clear, but the manuscript as written does not yet establish the reliability of the code beyond internal consistency.

major comments (4)
  1. [Section VI.A, Figure 2, and Section V] The central claim that WaveMixings.jl 'reproduces the TA PP signals of Gelin et al. for pyrazine as depicted Figure 2' is supported only by visual inspection. Figure 2 shows the WaveMixings.jl output but does not overlay or quantitatively compare the Ref. 63 result. Moreover, the comparison is with the authors' own earlier in-house implementation of the same formulas using the same trajectory inputs; agreement therefore demonstrates self-consistency, not correctness against an independent standard. Please provide a numerical agreement metric (e.g., normalized root-mean-square deviation over the (omega_pr, T) grid) for the total signal and for the GSB, SE, and ESA components, and, if possible, an independent check such as an analytic model, a limiting case, or a comparison with an independently written implementation.
  2. [Section VI.A and Section V] The pyrazine validation uses only 591 of 600 trajectories, selected by completing successfully, while Section V explicitly cautions that 'For realistic simulations, more trajectories are required to obtain converged signals.' This makes the reference result itself an unconverged benchmark, and the visual agreement could be sensitive to trajectory count. Please report convergence behavior, include error bars or confidence intervals, or use the full 600-trajectory set; at minimum, quantify how the displayed signals change with trajectory number.
  3. [Section V and Refs. 71-72] The paper cites WaveMixings.jl version v0.3.5 and a Zenodo DOI for inputs/outputs, but does not provide a pinned commit hash, tag, or an archived copy of the exact source code version used for the reported results. For a software paper, this is a reproducibility gap: the reader cannot verify that the code evaluated in the paper corresponds to the version in the repository. Please provide a specific commit/tag and, if possible, include the source code in the Zenodo archive or state that the Zenodo record contains the exact version.
  4. [Section III.F, Eqs. (29)-(31)] In the strong-field window functions, the pulse duration appearing in the cosine terms is written as tau_pu in Eqs. (29)-(31), whereas for the window functions one would expect the probe-pulse duration tau_pr. This is inconsistent with the doorway-window picture and with the doorway function of Eq. (27), which uses tau_pu. Please correct the equations or, if the code intentionally uses tau_pu, explain the choice and ensure the code matches the corrected formulas. This is especially important because the strong-field functionality is claimed in the package but is not demonstrated in Section VI.
minor comments (5)
  1. [Section III.E, Eq. (24)] The expression for \tilde E_pr(omega) is typeset ambiguously: 'exp(-omega^2/4/\tau_pr^2 + 8/\tau_nu^2)' should be written as exp[-omega^2 / (4/\tau_pr^2 + 8/\tau_nu^2)]. Please clarify whether the 4 and 8 are intended as written and define E_pr(omega) consistently.
  2. [Section VI.D, Listing 2] The text states the excitation frequency range is 1.5 to 7.0 eV, but the code in Listing 2 uses make_probe_freq(1.5, 6.0, 200). Please make the text and code consistent.
  3. [Section VI.A] There is a typo in the opening sentence: 'obtainded' should be 'obtained'.
  4. [Figure 3 caption] The caption reads 'Dispersed TA PPP signals'; 'PPP' should likely be 'PP'.
  5. [Section VI] The Introduction lists strong-field TA PP and time-resolved fluorescence as package capabilities, but Section VI does not show a strong-field example. If the strong-field module is implemented and tested, adding an example would strengthen the paper; otherwise, clarify that it is not demonstrated in the current version.

Circularity Check

1 steps flagged · score 4.0 of 10

Central validation is a self-comparison: WaveMixings.jl is checked against the authors' own prior in-house implementation of the same quasi-classical DW equations on the same trajectory data, so the match demonstrates internal consistency rather than independent correctness.

  1. self citation load bearing [Section VI.A (Integral TA PP signal for pyrazine); cf. Section III and Section V]
    "Our implementation of the quasi-classical DW approximation within WaveMixings.jl reproduces the TA PP signals of Gelin et al. for pyrazine as depicted Figure 2. 63 ... The ab initio trajectory data are those of Ref. 63 (see supplementary information). The details of the SH simulation calculations are identical to those outlined in Ref. 63."

    Ref. 63 is by the present group and contains the same quasi-classical DW equations that WaveMixings.jl implements (Section III states the expressions follow Ref. 69 and the implementation was developed in Ref. 63). The trajectory inputs and SH simulation details are explicitly taken from Ref. 63. Therefore the agreement in Section VI.A is a comparison of a new implementation with an earlier in-house implementation of the same formulas on the same inputs; it establishes internal consistency, not correctness against independent experiment, independent software, or a different dataset. The paper even states its objective was to generate signals that were 'previously generated using in-house scripts.' No quantitative agreement metric is provided, only visual inspection of Figure 2. The central

full rationale

The mathematical derivation in the paper is not circular: the quasi-classical DW expressions are stated explicitly and the code is an open-source implementation of those formulas. The circularity concern is confined to the validation strategy. Section VI.A's only evidence that the package 'reproduces' the TA PP signals is agreement with Ref. 63, which is authored by the same group, used the same trajectory data, and was generated by undocumented in-house scripts implementing the same equations. That makes the validation a self-consistency check between two implementations, not an independent benchmark. The paper also acknowledges in Section V that 'For realistic simulations, more trajectories are required to obtain converged signals,' yet Section VI.A uses 591 of 600 trajectories and the comparison is purely visual. These issues lower confidence in the correctness claim, but they are not cases where a derived quantity is equal to an input by construction: a buggy implementation could fail to reproduce Ref. 63, so the test has some content. The score of 4 reflects that the central claim still has independent content (the package, formulas, and tutorials are provided), but the load-bearing validation is self-referential.

Assumptions & free parameters 2 free parameters · 7 assumptions · 0 invented entities

The central claim (package correctness) rests on the DW assumptions and on prior self-cited derivations; the only hand-chosen parameters are dephasing rates. No new physical entities are introduced.

free parameters (2)
  • Electronic dephasing rate nu = 0.001 eV in dispersed/2D examples
    Chosen by hand as a technical line-shape parameter in Eqs (12)-(14) and (17)-(20); the signal shapes depend on it, and it is not derived from the inputs.
  • Gaussian dephasing time tau_nu (2D-FLEX) = not specified in text
    Introduced in Eq (24) to describe inhomogeneous broadening in 2D-FLEX; no value or fitting procedure is given in the paper.
assumptions (7)
  • domain assumption Assumption (i): pump and probe pulses do not overlap.
    Stated in Section III as foundational for the DW signal factorization; the paper notes it is 'rather strong'.
  • domain assumption Assumption (ii): nuclear dynamics during each laser pulse can be neglected.
    Stated in Section III; appropriate for short (~10 fs) pulses.
  • domain assumption Assumption (iii): evolution of electronic coherences during coherence times tau and tau_t is evaluated for fixed nuclei.
    Stated in Section III; may become restrictive for photon-echo and 2D spectroscopies.
  • domain assumption Assumption (iv): quantum evolution during population time T is replaced by quasi-classical trajectories and Monte Carlo sampling.
    Stated in Section III; validity depends on the chosen trajectory and electronic-structure method.
  • domain assumption Neglect of nonadiabatic couplings between manifolds {0}-{I}, {I}-{II}, {0}-{II}; NACs within {II} are ignored.
    Section II, Eqs (2)-(3). Needed for the block structure of the Hamiltonian and for restricting trajectory propagation to manifolds {0} and {I}.
  • domain assumption The quasi-classical DW expressions of Section III (Eqs 5-34) are taken as given from Refs 63-69.
    The paper recaps, rather than derives, the signal formulas; their validity rests on the cited prior derivations by the same authors.
  • standard math Wigner distribution sampling of initial conditions and Monte Carlo averaging over trajectories.
    Section IV uses rho_Wig (R,P) and MC sampling; standard quasi-classical approximation.

how reviews work

0 comments
Cite this review

Pith. "Pith review of WaveMixings.jl: a Julia package for performing on-the-fly time-resolved nonlinear electronic spectra from quasi-classical trajectories." pith.science (2026). https://pith.science/paper/EBO4P45M

@misc{pith2026250903917,
  author       = {Pith},
  title        = {Pith review of: WaveMixings.jl: a Julia package for performing on-the-fly time-resolved nonlinear electronic spectra from quasi-classical trajectories},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/EBO4P45M}},
  note         = {Machine review of arXiv:2509.03917}
}
read the original abstract

We present an efficient numerical implementation of the quasi-classical doorway-window approximation, specifically designed for on-the-fly simulations of time-resolved nonlinear spectroscopic signals in the Julia package WaveMixings.jl. The package contains modules that facilitate standard tasks such as input/output data handling, data filtering, and post-processing, among others. WaveMixings.jl includes implementations of various methods developed by the authors, including integral and dispersed transient absorption pump-probe signals and two-dimensional spectra. By developing WaveMixings.jl we aim to create a versatile platform to perform simulations and develop methodologies within the quasi-classical doorway-window approximation framework.

Figures

Figures reproduced from arXiv: 2509.03917 by the authors.

Figure 1
Figure 1. WaveMixings.jl internal structure and auxiliary functionalities (data, constructor, WaveMixing structure, and processing). Grey dashed lines indicate direct connection from one functionality to other in direction of the pointing arrow. OOP patterns and emphasizes multiple dispatch efficiency, allowing for generic code, dy￾namic type assignment, therefore preventing unintentional OOP issues such as mixing of classes … view at source ↗
Figure 2
Figure 2. TA PP signals (GSB, SE, and ESA) of pyrazine and the total signal. Input values: [PITH_FULL_IMAGE:figures/full_fig_p019_2.png] view at source ↗
Figure 3
Figure 3. Dispersed TA PPP signals (GSB, SE, and ESA) of pyrazine and the total signal. [PITH_FULL_IMAGE:figures/full_fig_p021_3.png] view at source ↗
Figures from the paper (3 more)
Figure 4
Figure 4. Figure 4: TRF signal of pyrazine.. WaveMixings.jl input parameters are: pulse duration (τ ) = 5 fs for pump and probe pulses, pump frequency (ωpu) = 5.2 eV, probe frequency (ωpr) covers the range from 2.0 eV to 6.0 eV in steps of 0.02 eV. ωt = 4.5 eV and ωt = 3.2 eV. The doublet…
Figure 5
Figure 5. Figure 5: Pyrazine 2D TA signals (GSB, SE, and ESA) and their total contribution at [PITH_FULL_IMAGE:figures/full_fig_p024_5.png]
Figure 6
Figure 6. Figure 6: Normalized 2D-FLEX signal for pyrazine as a function of the excitation frequency [PITH_FULL_IMAGE:figures/full_fig_p025_6.png]

Discussion (0). Sign in to comment.

Reference graph

Works this paper leans on

2 extracted references · 1 canonical work pages

  1. [1]

    on the fly

    1O. Travnikova, T. Piteša, A. Ponzi, M. Sapunar, R. J. Squibb, R. Richter, P. Finetti, M. Di Fraia, A. De Fanis, and N. et al . Mahne, ‘Photochemical ring-opening reaction of 1,3- cyclohexadiene: Identifying the true reactive state,’ J. Am. Chem. Soc. 144, 21878–21886 (2022). 2K. S. Zinchenko, F. Ardana-Lamas, I. Seidu, S. P. Neville, J. van der Veen, V. ...

  2. [2011]

    pp. 497–568. 63M. F. Gelin, X. Huang, W. Xie, L. Chen, N. Došlić, and W. Domcke, ‘Ab initio surface hopping simulation of femtosecond transient-absorption pump-probe signals of nonadia- batic excited-state dynamics using the doorway-window representation,’ J. Chem. Theory. Comput. 17, 2394–2408 (2021). 64X. Huang, W. Xie, N. Došlić, M. F. Gelin, and W. Do...

Pith tools

Reviewed August 5, 2026 · model on record in the stance chip above.