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
{{ message }}
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
We definitely need an MPO class for MPS simulations like DMRG, ...
I would suggest a structure similar to the MPS case, i.e.
BaseMPO
FiniteMPO(BaseMPO)
InfiniteMPO(BaseMPO)
We also need convenience functions to build e.g. MPOs for
local Hamiltonians. I would suggest something along the line
mpo=tn.FiniteMPO(backend='numpy')
Sz=mpo.backend.Sz(dimension=2) #other operators need to be supported as wellsite1, site2=2, 3coupling=1.0mpo.add_two_body(Sz,Sz, site1, site2, coupling)