This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Description
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 well
site1, site2 = 2, 3
coupling=1.0
mpo.add_two_body(Sz,Sz, site1, site2, coupling)
any input welcome!