Skip to content

Commit

Permalink
formattinh
Browse files Browse the repository at this point in the history
  • Loading branch information
arsalan-motamedi committed Oct 28, 2024
1 parent 9a7c425 commit 852518f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mrmustard/physics/triples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 852518f

Please sign in to comment.