Skip to main content

renyi_entropy

Overloads

NameDescription
renyi_entropy(const RealMatrix rho, integer q) -> realCalculates the Rényi entropy of order q for a density matrix.
renyi_entropy(const ComplexMatrix rho, integer q) -> realCalculates the Rényi entropy of order q for a density matrix.

renyi_entropy(const RealMatrix rho, integer q) -> real

Calculates the Rényi entropy of order q for a density matrix.

Parameters

  • rho: Density matrix.
  • q: Order of the Rényi entropy (must be ≥ 1).

renyi_entropy(const ComplexMatrix rho, integer q) -> real

Calculates the Rényi entropy of order q for a density matrix.

Parameters

  • rho: Density matrix.
  • q: Order of the Rényi entropy (must be ≥ 1).