add base frequency

This commit is contained in:
Valentin Boettcher 2022-11-28 18:22:43 -05:00
parent 9b4d77ddfb
commit 7eb02405d7
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE

View file

@ -223,7 +223,7 @@ class OttoEngine(QubitModelMutliBath):
0,
t_max,
int(t_max // (self.dt * self.Θ)) + 1,
2 * np.pi / self.Θ,
self.Ω,
)
@property
@ -272,6 +272,12 @@ class OttoEngine(QubitModelMutliBath):
for L_i, timings, orders in zip(self.L, self.timings_L, self.orders_L)
]
@property
def Ω(self) -> float:
"""The modulation base angular frequency."""
return 2 * np.pi / self.Θ
# @property
# def qubit_model(self) -> QubitModelMutliBath:
# """Returns the underlying Qubit model."""