-
|
Dear Huanchen, I am trying to measure the charge density using the following code. But it using an unexpectedly large amount of memory (more than 700G), although the MPS file is only 14G (see attached) and the DMRG sweep only uses 180G. Can you help? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Answered by
hczhai
Jul 13, 2025
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cfengno1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npdm_expr='n'is not valid in the SU2 mode. For electron occupation at each site, you need usedriver.get_1pdm(mps, mask=[0, 0]).