Lorentz-Bath driver¶
Warning
This is a beta feature and may change in future versions.
The Lorentz-Bath driver implements a classical bright harmonic oscillator coupled
to a bath of classical dark oscillators. It is provided by
maxwelllink.mxl_drivers.python.models.LorentzBathModel and ships with
MaxwellLink for reduced polaritonic-chemistry models where a collective
molecular bright mode exchanges energy with dark molecular modes.
Note
The Lorentz-Bath driver advances the bright coordinate \(q_B\), its conjugate momentum \(p_B\), and bath coordinates \(q_j, p_j\) generated by the Hamiltonian
Here \(\mathbf{e}_i\) denotes the selected dipole orientation, \(k_j\) are bright-dark coupling coefficients, and \(\omega_j\) are bath-mode frequencies. The emitted dipole current returned to Maxwell’s equations is evaluated by:
Requirements¶
No additional packages are required beyond MaxwellLink’s dependencies.
Usage¶
Socket mode¶
mxl_driver --model lorentz_bath --port 31415 \
--param "omega=0.242, mu0=187, orientation=2, num_bath=101, \
bath_width=0.05, bath_form=lorentzian, bath_dephasing=0.002, \
checkpoint=false, restart=false"
Non-socket mode¶
mxl.Molecule(
driver="lorentz_bath",
driver_kwargs={
"omega": 0.242,
"mu0": 187.0,
"orientation": 2,
"num_bath": 101,
"bath_width": 0.05,
"bath_form": "lorentzian",
"bath_dephasing": 0.002,
},
# ...
)
Parameters¶
Name |
Description |
|---|---|
|
Bright oscillator frequency \(\omega_0\) in atomic units. Default:
|
|
Dipole-coordinate coupling prefactor \(\mu_0\) in atomic units, so
that the instantaneous bright-mode dipole is \(\mu(t)=\mu_0 q_B(t)\);
scales the emitted source amplitude. Default: |
|
Dipole orientation: |
|
Number of bath oscillators used by the convenient bath builder. Must be
greater than |
|
Frequency width of the convenient bath distribution in atomic units. The
bath frequencies are placed uniformly from |
|
Coupling-envelope form for the convenient bath builder. Supported values:
|
|
Bright-to-dark dephasing scale in atomic units used by the convenient bath
builder to set the coupling coefficients \(k_j\). Default: |
|
Direct bath-momentum relaxation rate in atomic units. When positive,
bath momenta are damped by |
|
Direct list of bath oscillator frequencies in atomic units. When supplied
together with |
|
Direct list of bright-dark coupling coefficients in atomic units. Must
have the same length as |
|
Initial bright-mode momentum \(p_B\) in atomic units. Default:
|
|
Initial bright-mode position \(q_B\) in atomic units. Default:
|
|
Initial bath momenta as a list with the same length as the bath. Defaults to zeros. |
|
Initial bath positions as a list with the same length as the bath. Defaults to zeros. |
|
Optional Langevin thermostat damping time in atomic units. The thermostat
is enabled during initialization when this value is provided and
|
|
Optional initializer. Supported value: |
|
Temperature in atomic units used by the Langevin thermostat and
|
|
Random seed used by the initializer and thermostat. Default: |
|
When |
|
When |
|
When |
Returned data¶
time_au- Simulation time in atomic units.energy_au- Total half-step Hamiltonian energy in atomic units.energy_lorentz_au- Bright oscillator contribution, including the bright-bath momentum-shift terms, in atomic units.energy_bath_au- Bath oscillator energy in atomic units.mux_au,muy_au,muz_au- Half-step dipole vector components (non-zero along the selected orientation) in atomic units.mux_m_au,muy_m_au,muz_m_au- Full-step bright-mode dipole vector components in atomic units.p_au- Full-step bright-mode momentum \(p_B\) in atomic units.q_au- Full-step bright-mode position \(q_B\) in atomic units.
Notes¶
A bath definition is required. Provide either direct
omega_bathandk_bathlists, or the convenient builder parametersnum_bath,bath_width, andbath_form.Direct
omega_bath/k_bathsettings have priority over the convenient bath builder.The convenient bath builder currently places bath frequencies on an evenly spaced grid and supports uniform, Gaussian, and Lorentzian coupling envelopes. Use direct bath arrays for custom spectral densities.
This driver is a reduced classical model intended for studying bright-mode dephasing into dark molecular modes. For atomistic molecular dynamics, prefer the LAMMPS, DFTB+, or ASE drivers.