pengwann.descriptors.DescriptorCalculator.get_density_matrix_element#
- descriptors.DescriptorCalculator.get_density_matrix_element(c_star, c)#
Calculate an element of the Wannier density matrix.
- Parameters:
- Returns:
- element
complex An element of the Wannier density matrix.
- element
Notes
A given element of the Wannier density matrix is constructed as
\[P_{\alpha\beta} = \sum_{nk} w_{k}f_{nk}\left(C^{\alpha}_{nk}\right)^{*} C^{\beta}_{nk},\]where \(\left(C^{\alpha}\right)^{*}\) and \(C^{\beta}\) refer to the c_star and c arguments, \(f\) is the occupation matrix and \(\{w_{k}\}\) are k-point weights.