sf.physics.von_neumann_entropy

mrmustard.physics.von_neumann_entropy(A)[source]

Calculates the Von Neumann entropy of a quantum state.

Parameters:

A (State) –

Returns:

the Von Neumann entropy of the state

Return type:

float