Update to SAD routines and data #535
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the SAD guesses in MRChem have been generated using single-determinant HF on atoms. This easily leads to symmetry breaking, and therefore unpredictable guess performance. However, PySCF contains an implementation of fractionally-occupied spin-restricted DFT, which can be used to determine good symmetric atomic densities.
I have also refactored the Python routine in tools/sad.py to remove the needless dependency on Mendeleev (similar functionality is already present in the BSE), switched to full decontraction of the basis, and updated the basis set from the 3-21G basis to the modular AHGBS-7 basis set, which is larger and better converged. If you disagree with that change, I can also revert the basis to 3-21G, but still think it can be (i) decontracted and (ii) updated to a symmetric density.