a simple DMRG code model:1d quantum XX model (can be exactly solved)
modified from https://www.tensors.net/dmrg and https://www.tensors.net/mps
main changes: 1) use TensorOpeartions instead of ncon function
2)directly use Arpack package for Lanczos algorithm