-
Notifications
You must be signed in to change notification settings - Fork 2
Compatibility with pyscfad
#84
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
Conversation
@mkrompiec here is an example script (copied from a pyscfad example) comparing RCCSD to the pyscfad implementation and then doing the same thing with UCCSD:
The gradients are in good agreement with pyscfad for the restricted case. Note that I default to 64 bit jax: Line 8 in b687c61
Let me know if you have any thoughts, if this is useful, if you need any other functionality etc. |
Thanks a lot! The example script works for me. |
This can get merged, but I'll wait on fishjojo/pyscfad#60 to be fixed rather than using the github link for the installation. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #84 +/- ##
==========================================
- Coverage 89.67% 89.66% -0.02%
==========================================
Files 94 94
Lines 112751 112768 +17
Branches 662 665 +3
==========================================
+ Hits 101110 101111 +1
- Misses 11436 11450 +14
- Partials 205 207 +2 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
nvm my bad, just need to hack in the imports. I fixed the logging now and I'm happy to merge, it's not completely covered but I don't require that for non-numpy backends |
Currently incredibly hacky support for
pyscfad
withjax
backends. Will take a lot of refactoring to properly support.