-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add callback solver example using dyson for EWDMET #164
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #164 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 156 156
Lines 20795 20797 +2
======================================
- Misses 20795 20797 +2 ☔ View full report in Codecov by Sentry. |
|
||
# User defined FCI solver - takes pyscf mf as input and returns RDMs | ||
# The mf argment contains the hamiltonain in the orthonormal cluster basis | ||
# Pyscf or other solvers may be used to solve the cluster problem and may return RDMs, CIID amplitudes or CCSD amplitudes |
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.
CIID -> CISD
Also, can you add "or (in this case) the Greens function moments of the cluster", to make it clear what is going on in this example.
@@ -8,6 +8,8 @@ | |||
from vayesta.misc.molecules import ring | |||
|
|||
# User defined FCI solver - takes pyscf mf as input and returns RDMs | |||
# The mf argment contains the hamiltonain in the orthonormal cluster basis | |||
# Pyscf or other solvers may be used to solve the cluster problem and may return RDMs, CIID amplitudes or CCSD amplitudes |
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.
CIID -> CISD
Fixes issue when providing only the DMs from a callback solver in an SCMF calculation.
Adds example showing how to use dyson to return spectral moments from a callback solver.