mm.physics.bargmann.wigner_to_bargmann_U

mrmustard.physics.bargmann.wigner_to_bargmann_U(X, d)[source]

Converts the wigner representation in terms of covariance matrix and mean vector into the Bargmann A,B,C triple for a unitary (i.e. for M modes, A has shape 2M x 2M and B has shape 2M).