mirror of
https://github.com/vale981/two_qubit_model
synced 2025-03-04 17:21:43 -05:00
add base frequency
This commit is contained in:
parent
9b4d77ddfb
commit
7eb02405d7
1 changed files with 7 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Reference in a new issue