triqs.atom_diag.atom_diag.partition_function

triqs.atom_diag.atom_diag.partition_function()

Dispatched C++ function(s).

[1] (atom: AtomDiagReal, beta: float)
  -> float

[2] (atom: AtomDiagComplex, beta: float)
  -> float

Compute the atomic partition function at inverse temperature \(\beta\).

Sums the Boltzmann weights of all eigenstates of the Hamiltonian,

\[Z = \sum_{B} \sum_{i=0}^{\dim(B)-1} e^{-\beta E_{B,i}},\]

where the eigenvalues \(E_{B,i}\) are taken with respect to the ground-state energy as zero.

Parameters:
atomAtomDiagReal, AtomDiagComplex

Solved diagonalization problem.

betafloat

Inverse temperature \(\beta > 0\).

Returns:
float

Value of the partition function \(Z\).