Skip to content

The DSRG-MRPT2 implementation #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 24, 2025
Merged

Conversation

shuhangli98
Copy link
Contributor

This PR contains the implementation of the spin-adapted driven similarity renormalization group second-order multireference perturbation theory (DSRG-MRPT2) for strongly correlated systems.

Key features:

  • Density fitting
  • State averaging

@jeanwsr
Copy link
Contributor

jeanwsr commented Jan 13, 2025

Could you place some examples under the examples folder?

@shuhangli98
Copy link
Contributor Author

Could you place some examples under the examples folder?

Thank you. I have added two examples. Please let me know if you would like me to include more.

Copy link
Collaborator

@MatthewRHermes MatthewRHermes left a comment

Choose a reason for hiding this comment

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

This is good and I'm not asking for more changes, but I just want to share some thoughts:

  1. A lot of the class methods in dsrg_mrpt2.py are really impure, which is a bummer because it might make it harder to play with the method by extracting various steps and combining them in new ways.
  2. Along the same lines, some docstrings for some of the class methods would not be resented.
  3. This uses np.einsum a lot. Is that efficient enough? Might pyscf.lib.einsum have better performance?

@MatthewRHermes MatthewRHermes merged commit bc57364 into pyscf:master Jan 24, 2025
3 of 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.

3 participants