From 10c51087b5840fb8318130187c7b6d390643bb0c Mon Sep 17 00:00:00 2001 From: ziofil Date: Tue, 20 Jun 2023 16:02:17 +0000 Subject: [PATCH] fix default BS method variable --- mrmustard/lab/gates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrmustard/lab/gates.py b/mrmustard/lab/gates.py index b6d48e88d..515267cd0 100644 --- a/mrmustard/lab/gates.py +++ b/mrmustard/lab/gates.py @@ -465,7 +465,7 @@ def U(self, cutoffs: Optional[List[int]], method=None): self.theta.value, self.phi.value, shape, - method=method, + method=method or settings.DEFAULT_BS_METHOD, ) @property