Run this to compute the free energy of the 1D quantum XY chain using Automatic Differentiation through the Tensor Renormalization Group contraction.
$ python dTRG.py
@misc{chen2019automatic,
title={Automatic Differentiation for Second Renormalization of Tensor Networks},
author={Bin-Bin Chen and Yuan Gao and Yi-Bin Guo and Yuzhi Liu and Hui-Hai Zhao and Hai-Jun Liao and Lei Wang and Tao Xiang and Wei Li and Z. Y. Xie},
year={2019},
eprint={1912.02780},
archivePrefix={arXiv},
primaryClass={cond-mat.str-el}
}