-
I'm following the example here and would like to get off-diagonal elements of the Green's function. The example suggests the use of
It looks like
If somebody could show me the right way to do this, I'd be very grateful! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The complex mode problem is fixed in a5e1e84. For the real mode, you may need to apply H to the imag part to get the real part MPS (using If you want to do these more efficiently (without doing multiple sweeps), you need to use the low-level Python interface like what is done in https://github.com/ZhuGroup-Yale/fcdmft/blob/main/fcdmft/solver/gfdmrg.py#L952-L1038. This highly optimized procedure is too complicated so currently it is not fully supported in the |
Beta Was this translation helpful? Give feedback.
The complex mode problem is fixed in a5e1e84.
For the real mode, you may need to apply H to the imag part to get the real part MPS (using
driver.multiply
, for example), and then compute the expectations.If you want to do these more efficiently (without doing multiple sweeps), you need to use the low-level Python interface like what is done in https://github.com/ZhuGroup-Yale/fcdmft/blob/main/fcdmft/solver/gfdmrg.py#L952-L1038. This highly optimized procedure is too complicated so currently it is not fully supported in the
DMRGDriver
high-level interface.