Skip to content

Add support to second derivatives - #30

Merged
gustavojra merged 4 commits into
FermiQC:mainfrom
gustavojra:main
Aug 8, 2026
Merged

gustavojra merged 4 commits into
FermiQC:mainfrom
gustavojra:main

Conversation

@gustavojra

Copy link
Copy Markdown
Member

Function to get second derivative of the nuclear repulsion energy is included.

gustavojra and others added 4 commits August 7, 2026 14:14
Classical nuclear-nuclear repulsion contribution needed for Fermi.jl's
analytic RHF Hessian. Validated against finite difference of the
existing ∇nuclear_repulsion and an exact translational invariance
identity. Also corrects a units mislabel in both functions' docstrings
(Eₕ/Å -> Eₕ/a₀) found while validating -- ∇nuclear_repulsion's raw
output is already per-bohr, as its own existing test's angstrom_to_bohr
correction factor confirms.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MpMLu5K6kyqEecwFHwADKd
@gustavojra
gustavojra merged commit 24a5727 into FermiQC:main Aug 8, 2026
4 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.

1 participant