Skip to content

Commit d8915aa

Browse files
committed
Add time dependence to analytic doppler
Modify analytic doppler solver to handle time dependence of parameters by solving for steady state at the t=0 values.
1 parent e0c70f6 commit d8915aa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/rydiqule/doppler_exact.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def solve_doppler_analytic(sensor: Sensor, doppler_mesh_method: Optional[MeshMet
150150
this solver effectively reduces the dimension to 1 or 2, respectively,
151151
leading to faster solves.
152152
153+
If the sensor contains couplings with `time_dependence`, this solver will add those
154+
couplings at their :math:`t=0` value to the steady-state hamiltonian to solve.
155+
153156
If insuffucent system memory is available to solve the system in a single call,
154157
system is broken into "slices" of manageable memory footprint which are solved indivudually.
155158
This slicing behavior does not affect the result.
@@ -224,7 +227,7 @@ def solve_doppler_analytic(sensor: Sensor, doppler_mesh_method: Optional[MeshMet
224227
n = sensor.basis_size
225228

226229
# 1. Get base Liouvillian (L0) and Doppler shifts
227-
L0, dummy_const = generate_eom(sensor.get_hamiltonian(), sensor.decoherence_matrix(),
230+
L0, dummy_const = generate_eom(sensor.get_time_hamiltonian(t=0), sensor.decoherence_matrix(),
228231
remove_ground_state=False, real_eom=True)
229232
all_shifts = sensor.get_doppler_shifts()
230233

0 commit comments

Comments
 (0)