DIIS Convergence Acceleration
Direct Inversion in the Iterative Subspace (DIIS) accelerates SCF convergence by extrapolating the Fock matrix:
where coefficients minimize the error vector norm subject to .
Error Vector
The error vector is the commutator:
At convergence, , so the commutator is zero.
DIIS Matrix Construction
Build the overlap matrix of error vectors:
Constrained Optimization
Find coefficients that minimize the error norm subject to :
This is solved via the Lagrangian system:
SCF Keywords
Control DIIS in the SCF section:
SCF
Diis 6 # subspace size (default 6)
NoDiis false # disable DIIS
...
END