von_neumann_entropy
Overloads
| Name | Description |
|---|---|
von_neumann_entropy(const ComplexMatrix rho) -> real | Calculates the von Neumann entropy of a density matrix. |
von_neumann_entropy(const RealMatrix rho) -> real | Calculates the von Neumann entropy of a density matrix. |
von_neumann_entropy(const ComplexMatrix rho) -> real
Calculates the von Neumann entropy of a density matrix.
Parameters
- rho: Density matrix.
von_neumann_entropy(const RealMatrix rho) -> real
Calculates the von Neumann entropy of a density matrix.
Parameters
- rho: Density matrix.