This repository implements the Fixed-N tanTRG algorithm and provides the data associated with the paper [arXiv:2511.07303].
The FreeFermion directory contains minimal scripts for spinless free fermion benchmarks, allowing for the reproduction of Fig.4 and Fig.5.
The Hubbard directory contains the implementation for the Hubbard model. It can be used to generate the raw data for Figs.6-8, provided that sufficient computational resources are given.
The data used in these figures is provided in the data_Hubbard folder and can be loaded using JLD2.jl in Julia.
The scripts have been tested with the environment defined by Project.toml and Manifest.toml. Please use Pkg.instantiate() to set up the environment.
For more detailed usage, please refer to our open-source package FiniteMPS.jl, which serves as the core of the scripts in this repository.