-
Notifications
You must be signed in to change notification settings - Fork 19
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
Implement ADC equations on the python side #71
Conversation
838ff19
to
8424a90
Compare
So should we try to get the stuff in that you already checked above? You could make an extra PR and I can review there? |
That's what I'm doing. Will take a few mins to get everything sorted out. |
3425486
to
9b40e66
Compare
This pull request introduces 2 alerts when merging 9b40e66 into 60e201c - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging c5860e5 into af7bdff - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging a7888bd into e302303 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging cde1657 into d6adad9 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging ef73fac into 3afd0bb - view on LGTM.com new alerts:
|
This pull request introduces 4 alerts when merging 6727ab1 into 3afd0bb - view on LGTM.com new alerts:
|
@maxscheurer Now would probably a good time to test this on some bigger cases. I ran a few tests with the
As clearly visible there were quite a few low-hanging fruits to capture for CVS-ADC(3), which turn out to be quite worth picking. Could be of interest for @t-fransson in the future. |
I'm already running a test with PNA, adc2x/aug-cc-pvdz. I can kick off some tests with your script tomorrow. 👍🏻 |
This pull request introduces 1 alert when merging ee36366 into 3afd0bb - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only 600 lines (net addition) of code to get ADC to Python... Wow! 🚀
I'm still running the tests, but I think we can merge this PR once you're happy with it.
Can you squash some of the commits together?
Yes and if you count the implicit C++ code we can remove ... I think I have about one more evening of coding and then one of cleanup and then it should be good. |
This pull request introduces 2 alerts when merging d523af6 into 3afd0bb - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 7a612e5 into 3afd0bb - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 5ab7208 into 3afd0bb - view on LGTM.com new alerts:
|
I will give this a quick look, then it's g2g. |
@maxscheurer Any updates on the timings? Otherwise looks good to go from my end! Feel free to re-review or merg. |
Oh and picking up your earlier comments ... it only adds a net of 350 lines after all 😄 (and there are quite a few deprecation hints we can remove soon). |
Just updated the timings (aug-cc-pvdz on 2 cores), and they look good 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve again. 👍 Thanks for the hard, great work!
Still at a very early stage. Just to stash some work ...
Done in #77:
Done in this PR:
Restructure adc expressions: Make the same function generate ph_pphh and pphh_ph blocks➡️ Nah, causes issues with block-wise apply(because they should always be equivalent due to ADC matrix being Hermitian)
blocks
,"s"
,"d"
etc.Not so clear stuff:
hf.b.cv
versusb.cv
versushf.b.Cv
??[ ] Quick-access like functionality for T2 amplitudes and density matrices?➡️ postponed[ ] Quick-access like functionality for other things of LazyMp?➡️ postponed