sf.physics.gaussian.von_neumann_entropy¶
- mrmustard.physics.gaussian.von_neumann_entropy(cov)[source]¶
Returns the Von Neumann entropy.
For a pure state, we expect the Von Neumann entropy to be 0.
Reference: (https://arxiv.org/pdf/1110.3234.pdf), Equations 46-47.
- Parameters:
cov (Matrix) – the covariance matrix
- Returns:
the Von Neumann entropy
- Return type:
float
code/api/mrmustard.physics.gaussian.von_neumann_entropy
Download Python script
Download Notebook
View on GitHub