Adaptive time-domain simulation of optical cavities with arbitrary dynamics

A. Svizzeretto, J. Casanueva Diaz, B. L. Swinkels, M. Bawaj · 2026

Read Adaptive time-domain simulation of optical cavities with arbitrary dynamics by A. Svizzeretto, J. Casanueva Diaz, B. L. Swinkels, M. Bawaj (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-13599.txt.

Introduction

A. Svizzeretto and three colleagues offer a fast time-domain simulator for optical cavities with arbitrary dynamics. The model sums the intracavity field over round trips, keeping cavity memory while staying fast. Boundary conditions can change each step, so mirror positions and input field may vary in time. Sampling stays tied to the round-trip structure. Tests against Virgo interferometer data during a mechanical excitation show good agreement in non-adiabatic regimes.

Catalog record

CREATORA. Svizzeretto, J. Casanueva Diaz, B. L. Swinkels, M. Bawaj
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE36000
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.13599

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Adaptive time-domain simulation of optical cavities with arbitrary dynamics A. Svizzeretto, J. Casanueva Diaz, B. L. Swinkels, M. Bawaj Abstract We present a fast time-domain simulator for optical cavities capable of reproducing non-linear dynamical regimes arising from ring-down effect during resonance crossings at high mirror velocities. The model is based on a recursive formulation of the intracavity electric field as a sum over round trips, preserving the cavity memory while maintaining high computational efficiency. The simulator is designed to achieve three main goals. First, the boundary conditions of the cavity can be modified at each simulation step, allowing arbitrary time-dependent variations of both mirror positions and input electric field. Second, the sampling frequency can be flexibly chosen by the user, however, it is internally adjusted before effectively executing the simulation to remain consistent with the cavity round-trip structure. Finally, high computational efficiency was obtained by avoiding the repeated evaluation of the full electric field history. The framework is validated through comparison with experimental data from the Virgo interferometer during a mechanical excitation experiment, showing good agreement in non-adiabatic regimes. Due to its efficiency and flexibility, the simulator provides a versatile tool for time-domain studies of optical resonators and future applications in real-time control and reinforcement-learning-based lock acquisition. AI artificial intelligence FP Fabry-Perot PDH Pound-Drever-Hall DoF degree of freedom RL reinforcement learning DRL deep reinforcement learning Meta-RL meta reinforcement learning ML machine learning MDP Markov decision process GW gravitational wave RT real-time DDPG deep deterministic policy gradient TD3 Twin Delayed DDPG SAC Soft Actor Critic PPO Proximal Policy Optimization RNN recurrent neural network GRU gated recurrent unit DPG deterministic policy gradient DQN deep Q-network TDS time delay system ADC analogue-to-digital converter DAC digital-to-analogue converter DSP digital signal processor EuCAIF European Coalition for AI in Fundamental Physics EuCAIFCon EuCAIFCon 2025 FPGA field programmable gate array JIT just-in-time FSR Free Spectral Range 1 Introduction Time-domain simulation of optical cavities is required whenever the assumptions underlying frequency-domain or adiabatic models break down, such as in the presence of fast transients, short optical pulses, or rapidly varying boundary conditions. In these regimes, the intra-cavity field evolution depends explicitly on the finite round-trip time and the storage of optical energy [ 14 ] . This is particularly relevant in precision interferometry and gravitational-wave detectors, where the interaction between delayed intra-cavity fields and moving mirrors leads to non-linear, history-dependent dynamics that cannot be captured by stationary transfer functions [ 7 , 5 ] . Beyond interferometric gravitational-wave detectors, similar requirements arise in pulsed cavity ring-down spectroscopy, fast cavity tuning experiments, and active stabilization of high-finesse resonators, where transient dynamics and non-adiabatic effects determine system performance [ 22 ] . In all these contexts, such simulations provide direct access to transient regimes and provide a natural interface for modern data-driven control strategies. Legacy interferometer simulation frameworks like e2e and SIESTA provide detailed optical modelling capabilities [ 6 , 10 ] . However, their use in real-time and reinforcement-learning applications is limited by their complexity and software design. The simulator presented here is designed to address transient regimes regimes with minimal approximations for a wide range of cavity parameters. It explicitly propagates the intra-cavity field as a sum over round trips, retaining the full temporal memory of the cavity [ 17 , 18 ] . Crucially, both the input optical field and the mirror positions can be modified at every simulation step. This allows arbitrary laser amplitude and phase modulation, as long as their characteristic frequencies remain below the simulator sampling frequency, as well as time-dependent cavity length variations under the same condition. This level of flexibility is essential for our primary target application: integration into a Gymnasium-compatible reinforcement-learning environment for training real-time AI ( AI ) agents dedicated to lock acquisition of suspended optical cavities currently under development [ 20 , 4 ] . Lock acquisition is inherently a non-stationary control problem, dominated by transients, delays, and non-linear field-mirror coupling [ 12 ] . Its stepwise formulation naturally interfaces with discrete-time control algorithms, enabling realistic training conditions and supporting an effective sim-to-real transfer [ 23 ] . In addition to the theoretical and numerical developments presented here, the simulator is released as open-source software [ 19 ] under a separate license to ensure transparency and reproducibility. The remainder of the paper is organized as follows. Sec. 2 introduces the numerical framework and the recursive formulation used to propagate the intracavity field, together with the implementation details of the simulation strategy. In particular we discuss the adaptive selection of the sampling frequency and the different integration regimes. Sec. 3 presents the validation of the simulator through a comparison with ring down experimental data from the arm cavity of the Virgo interferometer cavity, while Sec. 4 extends the discussion to the broader applicability of the time-domain formulation to optics and photonics in general, as well as to ML ( ML )-aided control strategies. Finally, Sec. 5 summarizes the main results and outlines potential applications of the simulator, particularly in the context of real-time control and reinforcement-learning-based lock acquisition strategies. Additional supporting material is provided in the Appendix, including the full comparison between simulated and experimental data from Virgo auxiliary channel over a 10\text{\,}\mathrm{s} time window, a reproduction of the pulsed cavity ring-down regimes reported by [ 22 ] , and the complete benchmark table used to characterize the computational performance of the simulator. 2 Algorithm The algorithm of the simulator is capable of reproducing non-linear dynamical effects in optical cavities caused by the ring-down phenomenon. The temporal evolution of the electric cavity field is described in [ 17 ] by the recursive equation: \begin{split}E(t)=t_{a}\sum_{n=0}^{N-1}\left[(r_{a}r_{b})^{n}\,e^{-2ikS_{n}(t)}\,E_{\mathrm{in}}(t-2nT)\right]+(r_{a}r_{b})^{N}\,e^{-2ikS_{N}(t)}\,E(t-2NT)\,,\end{split} (1) where, t_{a} is the amplitude transmissivity of the input mirror, r_{a} and r_{b} are the amplitude reflectivities of the input and end mirrors, respectively, k=2\pi/\lambda is the optical wave-number associated with the laser wavelength, and T=L/c is the one-way propagation time inside the cavity of length L . E_{\mathrm{in}}(t) denotes the input optical field, while E(t) is the intracavity electric field. The integer n labels the successive cavity round trips and N is the total number of round trips retained in the calculation. Eventually, the quantity S_{\mathrm{n}}(t) represents the accumulated optical path over the previous n round trips and accounts for the mirror motion and cavity length variations, S_{n}(t)=\sum_{p=0}^{n-1}d(t-2pT)\,, (2) specifically, d(t)=L+(x_{b}(t-T)-x_{a}(t)) where x_{b}(t) and x_{a}(t) are the end and input mirror positions. Eq. 1 can be used to obtain the optical power P(t)=|E(t)|^{2} and the PDH ( PDH ) error signal [ 8 ] , designed for optical cavity control at resonance. In the approximation where the modulation sidebands are fully reflected by the cavity and act as a stable reference field, the demodulated PDH signal can be expressed as: V_{\mathrm{PDH}}(t)=-\operatorname{Im}\left\{e^{\imath\gamma}E_{\mathrm{in}}(t)^{*}E(t)\right\}\,, (3) where V_{\mathrm{PDH}}(t) is the PDH error signal, and \gamma is the demodulation phase. E_{\mathrm{in}}(t) is the complex conjugate of the input optical field, while E(t) is the intracavity electric field. These signals are the optical observables of the cavity state and become strongly non-linear under specific conditions, thereby making standard control technique for locking ineffective. In particular, ring down effect occurs when the mirror velocity becomes sufficiently large. Thresholds to this speed, referred to as critical velocities, can be defined [ 3

Read the complete text