sf.physics.bargmann.wigner_to_bargmann_psi

mrmustard.physics.bargmann.wigner_to_bargmann_psi(cov, means)[source]

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