dTRG (Differentiable tensor renormalization group) requirement pytorch 1.2+ Free energy of 1D quantum XY chain 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