mirror of
https://github.com/vale981/fibre_walk_project_code
synced 2025-03-04 17:31:39 -05:00
rename d->g_0
This commit is contained in:
parent
4271cacfed
commit
c7ebe963fc
2 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@ def transient_rabi():
|
||||||
η=0.7,
|
η=0.7,
|
||||||
Ω=13,
|
Ω=13,
|
||||||
δ=1 / 4,
|
δ=1 / 4,
|
||||||
d=0.02,
|
g_0=0.02,
|
||||||
laser_detuning=0,
|
laser_detuning=0,
|
||||||
Δ=0,
|
Δ=0,
|
||||||
N=3,
|
N=3,
|
||||||
|
@ -40,7 +40,7 @@ def steady_rabi():
|
||||||
η=0.7,
|
η=0.7,
|
||||||
Ω=13,
|
Ω=13,
|
||||||
δ=1 / 4,
|
δ=1 / 4,
|
||||||
d=0.02,
|
g_0=0.02,
|
||||||
laser_detuning=0,
|
laser_detuning=0,
|
||||||
Δ=0,
|
Δ=0,
|
||||||
N=3,
|
N=3,
|
||||||
|
@ -67,7 +67,7 @@ def noisy_transient_rabi():
|
||||||
η=0.7,
|
η=0.7,
|
||||||
Ω=13,
|
Ω=13,
|
||||||
δ=1 / 4,
|
δ=1 / 4,
|
||||||
d=0.02,
|
g_0=0.02,
|
||||||
laser_detuning=0,
|
laser_detuning=0,
|
||||||
Δ=0,
|
Δ=0,
|
||||||
N=3,
|
N=3,
|
||||||
|
@ -102,7 +102,7 @@ def ringdown_after_rabi():
|
||||||
η=0.7,
|
η=0.7,
|
||||||
Ω=13,
|
Ω=13,
|
||||||
δ=1 / 4,
|
δ=1 / 4,
|
||||||
d=0.02,
|
g_0=0.02,
|
||||||
laser_detuning=laser_detuning,
|
laser_detuning=laser_detuning,
|
||||||
Δ=0,
|
Δ=0,
|
||||||
N=3,
|
N=3,
|
||||||
|
@ -137,7 +137,7 @@ def sweep():
|
||||||
η=1,
|
η=1,
|
||||||
Ω=1,
|
Ω=1,
|
||||||
δ=1 / 4,
|
δ=1 / 4,
|
||||||
d=0.0,
|
g_0=0.0,
|
||||||
laser_detuning=-2,
|
laser_detuning=-2,
|
||||||
Δ=0,
|
Δ=0,
|
||||||
N=3,
|
N=3,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Params:
|
||||||
"""Decay rate :math:`\eta/2` of the system in frequency units (no
|
"""Decay rate :math:`\eta/2` of the system in frequency units (no
|
||||||
:math:`2 \pi`)."""
|
:math:`2 \pi`)."""
|
||||||
|
|
||||||
d: float = 0.01
|
g_0: float = 0.01
|
||||||
"""Drive amplitude in units of :any:`Ω`."""
|
"""Drive amplitude in units of :any:`Ω`."""
|
||||||
|
|
||||||
Δ: float = 0.0
|
Δ: float = 0.0
|
||||||
|
@ -65,7 +65,7 @@ class Params:
|
||||||
@property
|
@property
|
||||||
def rabi_splitting(self):
|
def rabi_splitting(self):
|
||||||
"""The Rabi splitting of the system in *frequency units*."""
|
"""The Rabi splitting of the system in *frequency units*."""
|
||||||
return np.sqrt((self.Ω * self.d) ** 2 + self.Δ**2)
|
return np.sqrt((self.Ω * self.g_0) ** 2 + self.Δ**2)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def ω_eom(self):
|
def ω_eom(self):
|
||||||
|
@ -141,7 +141,7 @@ def make_righthand_side(runtime_params: RuntimeParams, params: Params):
|
||||||
|
|
||||||
if (params.drive_off_time is None) or (t < params.drive_off_time):
|
if (params.drive_off_time is None) or (t < params.drive_off_time):
|
||||||
differential += eom_drive(
|
differential += eom_drive(
|
||||||
t, x, 2 * np.pi * params.Ω * params.d, params.ω_eom
|
t, x, 2 * np.pi * params.Ω * params.g_0, params.ω_eom
|
||||||
)
|
)
|
||||||
|
|
||||||
if (params.laser_off_time is None) or (t < params.laser_off_time):
|
if (params.laser_off_time is None) or (t < params.laser_off_time):
|
||||||
|
|
Loading…
Add table
Reference in a new issue