From 852518f96604b9e9919b48925ea8479e7c5b0067 Mon Sep 17 00:00:00 2001 From: Arsalan Motamedi Date: Mon, 28 Oct 2024 11:20:31 -0400 Subject: [PATCH] formattinh --- mrmustard/physics/triples.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mrmustard/physics/triples.py b/mrmustard/physics/triples.py index 28bb73a32..5e0654114 100644 --- a/mrmustard/physics/triples.py +++ b/mrmustard/physics/triples.py @@ -837,8 +837,6 @@ def XY_to_channel_Abc(X: RealMatrix, Y: RealMatrix, d: Vector | None = None) -> A = math.Xmat(2 * m) @ R @ xi_inv_in_blocks @ math.conj(R).T temp = math.block([[(xi_inv @ d).reshape(2 * m, 1)], [(-X.T @ xi_inv @ d).reshape((2 * m, 1))]]) b = 1 / math.sqrt(settings.HBAR) * math.conj(R) @ temp - c = math.exp(-0.5 / settings.HBAR * d@xi_inv@d) / math.sqrt( - math.det(xi) - ) + c = math.exp(-0.5 / settings.HBAR * d @ xi_inv @ d) / math.sqrt(math.det(xi)) return A, b, c