mb_solve_json = """
{
"system": {
"decays": [
{ "channels": [[0,1]],
"rate": 1.0
},
{ "channels": [[1,2]],
"rate": 1.0e-3
}
],
"fields": [
{
"coupled_levels": [[0, 1]],
"detuning": 5.0,
"detuning_positive": true,
"label": "probe",
"rabi_freq": 1.0e-3,
"rabi_freq_t_args":
{
"ampl": 1.0,
"centre": 0.0,
"fwhm": 1.0
},
"rabi_freq_t_func": "gaussian"
},
{
"coupled_levels": [[1, 2]],
"detuning": 0.0,
"detuning_positive": true,
"label": "coupling",
"rabi_freq": 5.0,
"rabi_freq_t_args":
{
"ampl": 1.0,
"fwhm": 0.2,
"on": -1.0,
"off": 9.0
},
"rabi_freq_t_func": "ramp_onoff"
}
],
"num_states": 3
},
"t_min": -2.0,
"t_max": 10.0,
"t_steps": 60,
"z_min": -0.2,
"z_max": 1.2,
"z_steps": 100,
"z_steps_inner": 2,
"interaction_strengths": [50.0, 50.0],
"savefile": "mbs-ladder-weak-pulse-coupling-decay"
}
"""Ladder-Type Three-Level: Weak Pulse with Coupling — EIT
Define the Problem
from clerq import PropagationSolver
mb_solve_00 = PropagationSolver().from_json_str(mb_solve_json)## Solve the Problem
Omegas_zt, states_zt = mb_solve_00.solve(recalc=False)Saving PropagationSolver to mbs-ladder-weak-pulse-coupling-decay.qu
/var/folders/41/hkxt57911pzcfzrv2p66w1z80000gn/T/ipykernel_91558/2757304901.py:1: UserWarning: The time grid may be too coarse: the fields or coherences are interpolated from every other time sample with a relative error of 45.7% (tolerance 10.0%). Try t_steps=274 (currently 60), and repeat if the warning remains; suggest_t_steps() gives an estimate from the problem's frequency scales.
Omegas_zt, states_zt = mb_solve_00.solve(recalc=False)
## Plot Output
from clerq import plot
fig = plot.field_spacetime(mb_solve_00, [0, 1], plot_type="contour", show_z_bounds=(0, 1))
fig.show(renderer='notebook_connected')