Skip to content

add double hybrid module - #196

Merged
MatthewRHermes merged 103 commits into
pyscf:masterfrom
jeanwsr:dh
Jul 30, 2026
Merged

MatthewRHermes merged 103 commits into
pyscf:masterfrom
jeanwsr:dh

Conversation

@jeanwsr

@jeanwsr jeanwsr commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Basically developed based on ajz34/dh while incorporates some feature from another dh. Address #52.

Capabilities:

  • energy, dipole, polar, grad of DF DH. No non-DF support. No MGGA-DH support.
  • D3/D4 support by pyscf-dispersion.

The DH functional parsing is done in dh.xccode, which uses a syntax like pyscf's parse_xc, but with more components like MP2, DFTD3. See examples for more details.

The MP2 step can be done by 3 backends: dfmp2/dfmp2_native (from pyscf, energy only), mp2_ajz (built-in of original dh program, support polar/grad).

cc: @ajz34

Comment thread examples/dh/01-init.py Outdated
Comment thread examples/dh/01-init.py
Comment thread pyscf/dh/dh.py Outdated
Comment thread pyscf/dh/grad/dfdh.py Outdated
@MatthewRHermes

Copy link
Copy Markdown
Collaborator

I know it's overwhelming dealing with the spurious test failures, but it looks like one or two of the failures in your CI run are actually your own stuff, if I'm not misreading.

@jeanwsr

jeanwsr commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

I know it's overwhelming dealing with the spurious test failures, but it looks like one or two of the failures in your CI run are actually your own stuff, if I'm not misreading.

I pulled master, now everything is fine.

@MatthewRHermes
MatthewRHermes merged commit 7e3acd5 into pyscf:master Jul 30, 2026
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.

3 participants