qimpy.dft.ions.Lowdin
- class Lowdin(C)
Bases:
object
Lowdin analysis and atomic manipulation of wavefunctions.
- Parameters:
C (Wavefunction) –
- __init__(C)
Prepare to analyze / manipulate wavefunction C.
- Parameters:
C (Wavefunction) –
- Return type:
None
Methods
Prepare to analyze / manipulate wavefunction C.
Calculate Lowdin charges and magnetizations (if spin_polarized).
Subtract best-fit atomic projections of wavefunctions.
Restore atomic projections with updated atomic orbitals.
Attributes
Wavefunction being analyzed / manipulated
Atomic orbitals
Self-overlap of atomic orbitals
Overlap of atomic orbitals with current wavefunction C
Best-fit coefficents of C on psi used for dragging
- analyze(f, spin_polarized)
Calculate Lowdin charges and magnetizations (if spin_polarized). Here, f are the occupation factors corresponding to wavefunctions C.
- Parameters:
f (Tensor) –
spin_polarized (bool) –
- Return type:
LowdinResults
- remove_atomic_projections()
Subtract best-fit atomic projections of wavefunctions.
- Return type:
None
- restore_atomic_projections(delta_positions)
Restore atomic projections with updated atomic orbitals.
- Parameters:
delta_positions (Tensor) –
- Return type:
None
- C: Wavefunction
Wavefunction being analyzed / manipulated
- coeff: Tensor | None
Best-fit coefficents of C on psi used for dragging
- psi: Wavefunction
Atomic orbitals
- psi_OC: Tensor
Overlap of atomic orbitals with current wavefunction C
- psi_Opsi: Tensor
Self-overlap of atomic orbitals