Skip to content

Debug PW mode unit tests for PySCF 2.13#193

Merged
MatthewRHermes merged 3 commits into
pyscf:masterfrom
kylebystrom:fix_ccsd
May 7, 2026
Merged

Debug PW mode unit tests for PySCF 2.13#193
MatthewRHermes merged 3 commits into
pyscf:masterfrom
kylebystrom:fix_ccsd

Conversation

@kylebystrom
Copy link
Copy Markdown
Contributor

Fixes the PWKRCCSD unit test for PySCF 2.13 along with a couple bugs in PW mode.

  • In gtomf2pwmf, re-compute the GTO Fock matrix without Madelung correction, then add Madelung correction back in using the PW mode approach, since GTO mode and PW mode now use slightly different Madelung conventions.
  • Modify the _ERIS object of the PW CCSD module to properly handle different exxdiv settings.
  • Make the unit tests covering gtomf2pwmf, PW-MP2, and PW-CCSD a bit more thorough.
  • Fix an edge case bug for eri_mesh == mesh in get_molint_from_C.

This addresses the PW component of #191.

@MatthewRHermes MatthewRHermes merged commit f7d1769 into pyscf:master May 7, 2026
3 of 6 checks passed
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.

2 participants