Expand description
GDIIS (Geometry Direct Inversion in Iterative Subspace) implementation GDIIS (Geometry Direct Inversion in Iterative Subspace) implementation.
This module implements the experimental GDIIS algorithm
§Algorithm Overview
GDIIS accelerates geometry optimization by constructing an optimal linear combination of previous geometries and error vectors. The method:
- Builds an overlap matrix A from error vectors: A[i,j] = <e_i, e_j>
- Maintains A⁻¹ using SR1 (Symmetric Rank-One) updates
- Solves for coefficients c such that Σc_i = 1 and residual is minimized
- Validates solution using cosine and coefficient checks
Structs§
- Diis
Coeff Solver - DIIS coefficient solver using SR1 inverse updates.
- Gdiis
Optimizer - Main GDIIS optimizer.
- Triangular
Matrix - Lower triangular matrix storage for DIIS overlap matrix.
Enums§
- Coeff
Check Mode - Coefficient check mode for GDIIS validation.
- Cosine
Check Mode - Cosine check mode for GDIIS validation.
- Gdiis
Error - Error types for GDIIS operations.
Functions§
- variable_
cos_ limit - Returns variable cosine limit based on number of vectors used.