qrunch.chemistry.qrackle.scf.orthonormal_basis

Transformations between AO and Lowdin orthonormal bases.

Classes

OrthonormalBasis

Transformations between the AO basis and the Lowdin orthonormal basis.

class OrthonormalBasis

Bases: Generic[TSCFMatrix, TSCFVector, TMatrix, TVector]

Transformations between the AO basis and the Lowdin orthonormal basis.

The Lowdin orthogonalizer \(L = S^{-1/2}\) is symmetric, and \(S^{1/2} = S L\). Operators (Fock) transform covariantly and densities contravariantly:

\[F_{o} = L F L, \qquad D_{o} = S^{1/2} D S^{1/2}, \qquad D = L D_{o} L.\]
__init__(module: SCFMatrixModuleProtocol[TSCFMatrix, TSCFVector, TMatrix, TVector], overlap_matrix: TSCFMatrix, lowdin_orthogonalizer: TSCFMatrix) → None

Build the transformation matrices.

Parameters:
  • module (SCFMatrixModuleProtocol[TSCFMatrix, TSCFVector, TMatrix, TVector]) – SCF matrix module.

  • overlap_matrix (TSCFMatrix) – The AO overlap matrix \(S\).

  • lowdin_orthogonalizer (TSCFMatrix) – The Lowdin orthogonalizer \(L = S^{-1/2}\).

Return type:

None

density_to_ao(orthonormal_density: TSCFMatrix) → TSCFMatrix

Transform a density (or density perturbation) back to the AO basis: \(L D_{o} L\).

Parameters:

orthonormal_density (TSCFMatrix) – Density matrix in the orthonormal basis.

Return type:

TSCFMatrix

density_to_orthonormal(ao_density: TSCFMatrix) → TSCFMatrix

Transform a density matrix to the orthonormal basis: \(S^{1/2} D S^{1/2}\).

Parameters:

ao_density (TSCFMatrix) – Density matrix in the AO basis.

Return type:

TSCFMatrix

fock_to_orthonormal(ao_fock: TSCFMatrix) → TSCFMatrix

Transform an operator (Fock) matrix to the orthonormal basis: \(L F L\).

Parameters:

ao_fock (TSCFMatrix) – Operator matrix in the AO basis.

Return type:

TSCFMatrix

free() → None

Release the cached S^{1/2} matrix.

Return type:

None