Time-Varying Coupling¶
This section provides the theoretical foundation for time-dependent cavity-molecule coupling in Cavity HOOMD.
Note
For practical implementation, see Time-Varying Coupling.
Motivation and Physical Context¶
Why Time-Dependent Coupling?¶
In experiments, cavity coupling can be dynamically controlled through:
Cavity tuning: Piezo-electric mirrors change cavity length
Pump-probe: External laser activates coupling
Mode switching: Transition between cavity modes
Detuning: Frequency sweeps across resonance
Time-varying coupling in simulations enables studying:
Non-equilibrium dynamics
Sudden quench experiments
Pump-probe spectroscopy
Relaxation processes
Energy redistribution
Experimental Analogues¶
Typical Experimental Protocols:
Experiment |
Implementation |
Timescale |
|---|---|---|
Pump-probe |
Laser pulse activates coupling |
fs to ps |
Cavity tuning |
Piezo changes cavity length |
µs to ms |
Mode switching |
Electronic control |
ns to µs |
Detuning sweep |
Frequency scan |
ms to s |
Cavity HOOMD simulates the molecular response to these protocols.
Mathematical Formulation¶
Time-Dependent Hamiltonian¶
The Hamiltonian with time-varying coupling:
Where:
\(g(t)\): Time-dependent coupling function
\(\tilde{\varepsilon}_{0,\lambda}^{(0)}\): Base coupling strength (constant)
All other symbols as in Cavity Forces
Key Point: The coupling strength \(g(t)\) multiplies both the linear coupling and quadratic self-energy terms.
Modified Equations of Motion¶
Nuclear Motion:
Photonic Mode Dynamics:
Time Derivative Effects:
When \(g(t)\) changes, an additional “quench force” appears if we consider the full time-dependent Hamiltonian formulation. However, for practical implementations with smooth or instantaneous changes, this effect is negligible or absorbed into the redefinition of equilibrium positions.
Step Function Protocol¶
Mathematical Definition¶
The step function is the simplest time-varying protocol:
Common case: \(g_{\text{initial}} = 0\), \(g_{\text{final}} = g_0\) (coupling activation)
Implementation:
In discrete timesteps:
where \(n_{\text{switch}} = \lfloor t_{\text{switch}}/\Delta t \rfloor\).
Energy Redistribution at Switch¶
Before switch (t < t_switch, g=0):
No cavity or coupling energy.
After switch (t ≥ t_switch, g=g_0):
Energy Conservation:
Energy is conserved during the switch but redistributes among degrees of freedom.
Physical Interpretation:
Molecular kinetic/potential energy decreases
Cavity mode gains energy
Coupling and self-energy appear
Total energy unchanged (in NVE ensemble)
Cavity Particle Displacement¶
In q=0 mode:
Cavity particles remain at origin; only forces change.
In finite-q mode:
Cavity particle position must jump to new equilibrium:
Reason: The equilibrium position changes from \(\vec{q}=0\) (g=0) to \(\vec{q}=-\frac{g}{K}\vec{D}\) (g≠0).
Implementation:
At t = t_switch:
Calculate total dipole \(\vec{D}_{\text{total}}\)
Compute new equilibrium \(\vec{q}_{\text{new}}\)
Instantly move cavity particles to \(\vec{q}_{\text{new}}\)
Cavity velocity remains unchanged (momentum conservation)
Energy accounting:
The position jump conserves total energy:
Smooth Coupling Protocols¶
Exponential Approach¶
Formula:
for \(t \geq t_0\).
Where:
\(t_0\): Start time
\(\tau\): Characteristic timescale
Properties:
Smooth transition
Asymptotically approaches \(g_{\text{final}}\)
Rate controlled by \(\tau\)
Use cases:
Gradual cavity activation
Coupling decay (lossy cavity)
Smooth detuning
Characteristic times:
\(t_{1/2} = \tau \ln(2) \approx 0.69\tau\) (half-life)
\(t_{90\%} \approx 2.3\tau\) (90% completion)
Sinusoidal Modulation¶
Formula:
Where:
\(g_0\): DC offset
\(A\): Modulation amplitude
\(f\): Modulation frequency
\(\phi\): Initial phase
Physical realization:
Oscillating cavity length
Frequency modulation
Periodic pump pulses
Floquet regime:
When \(f \sim \omega_{\text{vib}}\), the system enters the Floquet (driven) regime with:
Parametric resonances
Sideband generation
Modified selection rules
Square Wave (Periodic On-Off)¶
Formula:
Where:
\(T\): Period
duty: Duty cycle (0-1)
Example: duty=0.5 gives 50% on, 50% off.
Applications:
Pulsed excitation
Stroboscopic measurement
Time-resolved spectroscopy
Energy Conservation Theory¶
Total Energy Functional¶
For time-dependent g(t):
Time derivative:
For Hamiltonian dynamics with time-independent H: \(\frac{dE}{dt} = 0\)
For time-dependent H: \(\frac{dE}{dt} = \frac{\partial H}{\partial t}\)
Numerical Energy Conservation¶
In practice:
For step function: \(\frac{\partial g}{\partial t} = 0\) except at t=t_switch where it’s a delta function.
Energy conservation check:
Typically \(\epsilon_{\text{tol}} \approx 10^{-4}\) for good simulations.
Adiabatic vs Sudden Limits¶
Adiabatic Limit¶
Condition:
The system adjusts instantaneously to changing coupling.
Behavior:
System remains in instantaneous ground state
No excess heating
Reversible process
Cavity mode response:
Tracks equilibrium instantaneously.
Sudden Quench Limit¶
Condition:
Parameters change faster than system can respond.
Behavior:
Non-equilibrium excitation
Energy redistribution
Transient dynamics
Heating possible
Cavity mode response:
Oscillates around new equilibrium with initial conditions from old equilibrium.
Intermediate Regime¶
When:
Behavior:
Partial excitation
Depends sensitively on details
Rich dynamics
May exhibit resonances
Applications and Observables¶
Non-Equilibrium Spectroscopy¶
Pump-probe signal:
where O is an observable (dipole, energy, etc.).
Time-resolved measurements:
Transient absorption
Fluorescence upconversion
Two-dimensional spectroscopy
Relaxation Dynamics¶
After sudden quench:
Measure \(\tau_{\text{relax}}\) to understand:
Equilibration rates
Energy dissipation pathways
Coupling to thermostats
Energy Transfer Rates¶
From molecules to cavity:
From cavity to molecules:
Net flow: Depends on \(g(t)\) protocol and initial conditions.
Practical Considerations¶
Timestep Requirements¶
For smooth changes:
For step changes:
No additional constraint from step itself (delta function in time).
Thermostat Effects¶
With thermostats:
Energy is not conserved globally
Thermostats may absorb/inject energy
Distinguish physical vs numerical effects
Recommendation:
Test energy conservation in NVE first, then add thermostats.
Numerical Stability¶
Potential issues:
Large forces at switch: Use gradual ramp-up
Resonant driving: Reduce timestep
Cavity particle jump: Ensure proper implementation
Energy drift: Monitor and reduce timestep if needed
Best practices:
Start with small g(t) changes
Verify energy conservation
Compare different protocols
Use adaptive timestep when available
Next Sections¶
Continue to:
Energy Conservation for detailed energy analysis
Thermostats for temperature control with time-varying coupling
Strong Coupling for polariton dynamics
Related practical guides:
Time-Varying Coupling for implementation
Advanced Simulations for custom protocols