Code for doing 1D and small 2D simulations with ITensor DMRG package based on the ITensor algorithm.
We have moved the old code to old_src. This was before the Julian update The top.jl contains the top level interface, as well as operation mode control. The purpose of the individual files are self-explanatory.
The more Julian version of the code is currently in src To run a specific program functionality, go into the src directory, run
julia main.jl ARGUMENT
For example for NF calculations, use
julia main.jl NF_square
The parameters are loaded through JSON files, for example, to run a calculation with the following parameters:
{"U"=4.0, "L"=5, "Nup"=13, "Ndn"=11, "t"=0.001, "bias"=1.0}
You should write these key-value pairs to a JSON file "NFpara.json" under the same directory as main.jl, where "bias" is the value the center region will be biased with.