qrunch.chemistry.qrackle.scf.roothaan_hall_solver

A Roothaan-Hall Solver that solve the Roothaan-Hall equation.

\[F C = S C e\]

Using a Lowdin orthogonalizer \(S^{-1/2}\) to transform the Fock matrix into an orthonormal basis:

\[\begin{split}\\tilde{F} \\tilde{C} = \\tilde{C} e\end{split}\]

Classes

RoothaanHallSolution

Solution of the Roothaan-Hall equation.

RoothaanHallSolver

A Roothaan-Hall Solver that solve the Roothaan-Hall equation.

class RoothaanHallSolution

Bases: Generic[TSCFMatrix, TSCFVector]

Solution of the Roothaan-Hall equation.

__init__(molecular_orbitals: TSCFMatrix, orbital_energies: TSCFVector) → None
Parameters:
  • molecular_orbitals (TSCFMatrix)

  • orbital_energies (TSCFVector)

Return type:

None

molecular_orbitals: TSCFMatrix

The MO coefficient matrix in the AO basis.

orbital_energies: TSCFVector

The orbital energies (eigenvalues).

class RoothaanHallSolver

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

A Roothaan-Hall Solver that solve the Roothaan-Hall equation.

\[F C = S C e\]

Using a Lowdin orthogonalizer \(S^{-1/2}\) to transform the Fock matrix into an orthonormal basis:

\[\begin{split}\\tilde{F} \\tilde{C} = \\tilde{C} e\end{split}\]
__init__(scf_matrix_module: SCFMatrixModuleProtocol[TSCFMatrix, TSCFVector, TMatrix, TVector]) → None

Initialise the solver.

Parameters:

scf_matrix_module (SCFMatrixModuleProtocol[TSCFMatrix, TSCFVector, TMatrix, TVector]) – SCF matrix module (restricted or unrestricted).

Return type:

None

solve(ao_operator_matrix: TSCFMatrix, lowdin_orthogonalizer: TSCFMatrix) → RoothaanHallSolution[TSCFMatrix, TSCFVector]

Solve the Roothaan-Hall equation for the given Fock matrix.

Parameters:
  • ao_operator_matrix (TSCFMatrix) – The operator matrix in the atomic orbital basis (Usually Fock/Kohn-Sham).

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

Return type:

RoothaanHallSolution[TSCFMatrix, TSCFVector]