-
Notifications
You must be signed in to change notification settings - Fork 2
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
Brueckner self-consistency broken for open-shell systems #44
Comments
Hej! It seems to work now. However, I am puzzled a bit why DF-CC does not support single precision. Specifically, an input given below doesn't work:
It fails with the following error message:
In my eye, it is natural to combine DF and single precision to speedup CC calculations further. With best regards, |
yep that's another bug |
Should be fixed by #47. Thanks for identifying so many edge cases @vvp-nsk, it's much appreciated. A couple notes:
Again, let me know if you catch anything else 😄 |
Hej! Thanks for the prompt bug fixing, indeed. I do have a challenging example when Bruckner CC implementation doesn't work in EBCC while PySCF works correctly. Let me narrow the testbed to a tiny problem size first. I also have a general question. For CC methods of practical interest, such as CC2 and CCSD, both right and left CC eigenvectors are implemented in ECBB. Since 1pdm and 2pdm are available, would it be possible then to implement an expectation value of <S^2> as it can be done in PySCF via call to the Thank you very much! With best regards, |
There is some support of the EOM eigenvectors, yes -- but they're not needed to calculate the 1DM and 2DM, which are also separately available for both CC2 and CCSD. Be sure to call
where the overlap and I should note that I have an open issue about a possible hiccup in my CC2 implementation (#9), which I haven't been able to resolve, so you should verify any results that use the CC2 lambda equations or DMs. This (possible) issue doesn't extend to CCSD, though. |
Fantastic! Could you please do me a favor and rework the given above code on computing <S^2> for the frozen-core case as well:
? Thank you in advance! With best regards, |
This should do the trick:
It finds the bare (uncorrelated) 1DM and 2DM using the mean-field function in PySCF, and then embeds the correlated (non-frozen) part using the boolean masks in the |
Hej! Thank you very much for your assistance and support! Attached please find a problem reproducer. The UBCCD malfunctions at the 2nd iteration:
The problem is not related to certain CC ansatz and remains with CC2 as well. With best regards, |
I'm struggling to get your |
Hej! Sorry for the late response. Indeed, there was one file missing. I just re-uploaded testbed and now it should work out. With best regards, |
I think this should be fixed on #49. Sorry this one took a bit longer! CC2 seems to converge well for this system but CCSD is a little trickier. I think doing BCCD in single precision will be ambitious, numerically speaking, if that was your plan. |
Hej! Everything works like a charm now. Thank you! My guess that often SP would be sufficient to get Brueckner orbitals converged. Anyway, among open-source CC packages, UBCC2 is available only in EBCC 👍 With best regards, |
Great -- thanks for finding all these bugs. |
Brueckner orbital self-consistency has not been written in a way that supports open shell systems where the number of occupied alpha and beta electrons is inequal, as per #41 (comment).
The text was updated successfully, but these errors were encountered: