Skip to content

MPS overlaps with specified determinants #86

Closed Answered by hczhai
ghb24 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your interest in using block2.

This can be done using the given_dets argument in DMRGDriver.get_csf_coefficients, see https://block2.readthedocs.io/en/latest/api/pyblock2.html#pyblock2.driver.core.DMRGDriver.get_csf_coefficients. Detailed explanation can be found in #70 (reply in thread). When working in the SZ mode, you need given_dets=['2ba0ba', '0ab2ba'] (for example).

Minimal block2 version that supports this feature is 0.5.3rc5. You can install this version (or any later version) using

pip install block2==0.5.3rc5 --extra-index-url=https://block-hczhai.github.io/block2-preview/pypi/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghb24
Comment options

Answer selected by ghb24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants