-
Notifications
You must be signed in to change notification settings - Fork 129
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 exponentially decaying coupling $\sum_{j!=i} \alpha \beta^{|i-j|} O_i O_j$ #453
base: main
Are you sure you want to change the base?
Conversation
Also, MPOs with exponentially decaying couplings are not strictly block upper-triangular since the exponentially decaying term is added "after" IdR (on line 1424 of https://github.com/tenpy/tenpy/blob/main/tenpy/networks/terms.py#L1363, you note that you assign it a high label so that it comes at the end). If we want to do backwards solving of MPO environment a la the Ghent group, don't we want a block triangular MPO? |
As a simple test case, I have tried making a exponentially decaying XY model with
|
As far as I can tell, this code can be merged. I edited the documentation to describe the new changes (which don't change the default behavior) and fixed an issue with |
I added a function to tenpy.networks.mpo to create an MPO |
Currently there is functionality to add an exponentially decaying term between all sites (possibly of some subset) of the lattice of the form$\sum_i\sum_j \alpha \beta^{|i-j|} O_i O_j$ . I would like the option to only sum over one index rather than both. So the goal is to have an exponentially decaying coupling "centered" on site $i$ and coupling site $i$ to all other sites $j$ . If one were to have a exponentially decaying Ising Hamiltonian $H = \sum_i \sum_j \alpha \beta^{i-j} Z_i Z_j$ , the energy density on site $i$ would be an example of what I'm trying to implement. The use case of this is to do Heisenberg simulations of the energy density to calculate energy transport of long-range interacting models.
I have modified the
add_to_graph
function ofExponentiallyDecayingTerms
(https://github.com/tenpy/tenpy/blob/main/tenpy/networks/terms.py#L1363) to realize this functionality.