Skip to content

Conversation

@jwaldrop107
Copy link
Member

Is this pull request associated with an issue(s)?
No

Description
Updates the SCF Loop procedure to optional use DIIS for convergence acceleration. Depends on NWChemEx/TensorWrapper#215.

@jwaldrop107 jwaldrop107 requested a review from ryanmrichard June 23, 2025 20:55
@jwaldrop107 jwaldrop107 self-assigned this Jun 23, 2025
@jwaldrop107 jwaldrop107 marked this pull request as ready for review June 24, 2025 06:53
ryanmrichard
ryanmrichard previously approved these changes Jun 24, 2025
Copy link
Member

@ryanmrichard ryanmrichard left a comment

Choose a reason for hiding this comment

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

I think having DIIS coupled to the loop is fine for now. Eventually, we probably want to hide it in the update step. My initial thoughts were the loop gets refactored to hold deques of wavefunctions, energies, and Fock operators, the the update PT takes the deque and can use the history if it so chooses. Deques would also simply factoring out the convergence checks as it would allow us to pass the history to the module.

Co-authored-by: Ryan Richard <[email protected]>
@jwaldrop107 jwaldrop107 merged commit 395872f into master Jun 24, 2025
9 checks passed
@jwaldrop107 jwaldrop107 deleted the diis branch June 24, 2025 15:44
@jwaldrop107
Copy link
Member Author

🚀 [bumpr] Bumped!
New version:v0.0.23
Changes:v0.0.22...v0.0.23

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