Skip to content

Conversation

@matthew-hennefarth
Copy link
Contributor

Address #65.

Now get_energy_decomposition returns e_nuc, e_1e, e_coul, e_otx/e_otxc, e_otc, e_ncwfn, but if the energy is computed with a hybrid functional, it returns the properly scaled e_otx/e_otxc, e_otc, e_ncwfn terms such that the energy of each state is the sum of all elements returned.

Note that get_energy_decomposition for non-hybrid functional returns the full e_ncwfn and the energy of each state is equal to the sum of elements except e_ncwfn (prior behavior).

@MatthewRHermes MatthewRHermes merged commit b045613 into pyscf:master Nov 1, 2024
2 checks passed
@matthew-hennefarth matthew-hennefarth deleted the hybrid-decomp branch November 1, 2024 21:51
jingjjkk pushed a commit to jingjjkk/pyscf-forge that referenced this pull request Sep 27, 2025
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