Expand description
Density matrix construction from MO coefficients.
P_μν = 2 Σ_{k ∈ occ} C_μk C_νk
The factor of 2 accounts for double occupancy in RHF (closed-shell).
Functions§
- build_
density_ matrix - Build the density matrix from MO coefficients.
- build_
density_ matrix_ fon - Build the density matrix with fractional occupation numbers (FON).
- density_
rms_ change - Compute the density matrix change (RMS difference).
- electron_
count - Compute the number of electrons from the density matrix.