Husimi

pq_to_aadag

Maps a matrix or vector from the q/p basis to the a/adagger basis.

wigner_to_husimi

Returns the husimi complex covariance matrix and means vector.

pq_to_aadag

mrmustard.physics.husimi.pq_to_aadag(X)[source]

Maps a matrix or vector from the q/p basis to the a/adagger basis.

wigner_to_husimi

mrmustard.physics.husimi.wigner_to_husimi(cov, means)[source]

Returns the husimi complex covariance matrix and means vector.