mirror of
https://github.com/vale981/two_qubit_model
synced 2025-03-04 17:21:43 -05:00
implementing unmodulated L
This commit is contained in:
parent
d5b3aa5fc1
commit
aae9fcac19
1 changed files with 9 additions and 3 deletions
|
@ -175,10 +175,14 @@ class OttoEngine(QubitModelMutliBath):
|
|||
orders_H: Orders = field(default_factory=lambda: (2, 2))
|
||||
"""The smoothness of the modulation of ``H``."""
|
||||
|
||||
timings_L: tuple[Timings, Timings] = field(
|
||||
timings_L: tuple[Optional[Timings], Optional[Timings]] = field(
|
||||
default_factory=lambda: ((0.6, 0.7, 0.9, 1), (0.1, 0.2, 0.4, 0.5))
|
||||
)
|
||||
"""The timings for the ``L`` modulation. See :any:`SmoothlyInterpolatdPeriodicMatrix`."""
|
||||
"""
|
||||
The timings for the ``L`` modulation. See
|
||||
:any:`SmoothlyInterpolatdPeriodicMatrix`. If no timing is given,
|
||||
modulation is disabled.
|
||||
"""
|
||||
|
||||
orders_L: tuple[Orders, Orders] = field(default_factory=lambda: ((2, 2), (2, 2)))
|
||||
"""The smoothness of the modulation of ``L``."""
|
||||
|
@ -327,7 +331,9 @@ class OttoEngine(QubitModelMutliBath):
|
|||
@property
|
||||
def coupling_operators(self) -> list[DynamicMatrix]:
|
||||
return [
|
||||
SmoothlyInterpolatdPeriodicMatrix(
|
||||
ConstantMatrix(L_i)
|
||||
if timings is None
|
||||
else SmoothlyInterpolatdPeriodicMatrix(
|
||||
(np.zeros_like(L_i), L_i),
|
||||
timings,
|
||||
self.Θ,
|
||||
|
|
Loading…
Add table
Reference in a new issue