You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some context: I have a partition function tensor O. I find the boundary MPS fixed point psi (and environments envs) with VOMPS. I can get to the free energy through expectation_value(psi, InfiniteMPO([O]), envs).
I now have an MPO tensor E representing a different quantity (here some energy, but not a Hamiltonian term!) . I did the following:
mpo =InfiniteMPO([E]) # E is a (2,2) tensor mapexpectation_value(psi, mpo, envs)
However, this gives an incorrect result. I think this is because the environments get lost in the conversion to multiline things:
Yeah, using an InfiniteMPO implicitly places that everywhere so that’s definitely no good. Unfortunately this is one of those not so hard to implement but hard to come up with a nice interface problems, if you have some inspiration I’m all ears!
Activity
lkdvos commentedon Sep 3, 2025
Yeah, using an InfiniteMPO implicitly places that everywhere so that’s definitely no good. Unfortunately this is one of those not so hard to implement but hard to come up with a nice interface problems, if you have some inspiration I’m all ears!
See also QuantumKitHub/PEPSKit.jl#117 and the discussions there