This repository is the source code for the paper arXiv: 2210.17539. The codes have a dependence on ncon.
The input MPS tensors could be either multidimensional arrays of MATLAB or matrix cell arrays as in the /inputexample folder, which could be generated by VUMPS.