Skip to content

add GHF-based pprpa and gradient for rpprpa#172

Open
Warlocat wants to merge 3 commits into
pyscf:masterfrom
Warlocat:master
Open

add GHF-based pprpa and gradient for rpprpa#172
Warlocat wants to merge 3 commits into
pyscf:masterfrom
Warlocat:master

Conversation

@Warlocat
Copy link
Copy Markdown
Contributor

This PR adds two new features and corresponding examples to the ppRPA implementation in pyscf-forge.

  1. GHF-based pprpa supporting both real and complex orbitals;
  2. analytical gradients for molecular rpprpa

@jeanwsr
Copy link
Copy Markdown
Contributor

jeanwsr commented Jan 24, 2026

Could the numerical grad step in example be simplified by using pyscf's finite diff?

Comment thread pyscf/pprpa/gpprpa_davidson.py Outdated
tri_row_v, tri_col_v = numpy.tril_indices(nvir_act, -1)

nroot = len(exci)
au2ev = 27.211386
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

use data from pyscf.data.nist for consistency.

@Warlocat
Copy link
Copy Markdown
Contributor Author

Could the numerical grad step in example be simplified by using pyscf's finite diff?

This requires more modification of pprpa codes and will be revised after more discussion with pprpa developers.

@sunqm sunqm mentioned this pull request Feb 14, 2026
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