Skip to content

Conversation

@susilehtola
Copy link
Contributor

@susilehtola susilehtola commented Dec 21, 2025

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.

Copy link
Contributor

@robertodr robertodr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @susilehtola

@susilehtola
Copy link
Contributor Author

so looks like the test failures are due to using too tight test tolerances compared to the actual precision

@ilfreddy
Copy link
Contributor

A bit too many failed tests for now. I have merged the fix to run tests in parallel. This should cure at least one problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants