From 7ebe59d531d34176dba9385e7a14480d16ff9bc9 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Mon, 28 Nov 2022 17:26:03 -0500 Subject: [PATCH] correct defaults for L --- hiro_models/otto_cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiro_models/otto_cycle.py b/hiro_models/otto_cycle.py index 8c484fa..16f0d30 100644 --- a/hiro_models/otto_cycle.py +++ b/hiro_models/otto_cycle.py @@ -143,7 +143,7 @@ class OttoEngine(QubitModelMutliBath): """ L: tuple[np.ndarray, np.ndarray] = field( - default_factory=lambda: tuple([1 / 2 * (qt.sigmax().full())] * 2) # type: ignore + default_factory=lambda: tuple([(1 / 2 * (qt.sigmax().full())), (1 / 2 * (qt.sigmax().full()))]) # type: ignore ) """The bare coupling operators to the two baths."""