Using Mr Mustard
Development
Mr Mustard API
Returns the purity of the state with the given covariance matrix.
cov (Matrix) – the covariance matrix
the purity
float
purity()