Skip to content

0/LatticeSweeper.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatticeSweeper

Simple two-site DMRG. No support for quantum number conservation.

Tested with Julia 1.3.

Installation

pkg> add https://github.com/0/LatticeSweeper.jl.git

In order to run the example scripts in examples/, you will also need to

pkg> add ArgParse

Application project

If you're working with a clone of this repository, you can use the basic application project in examples/, which already has both LatticeSweeper and ArgParse as dependencies. From the repository root, run

julia --project=examples

and then

pkg> dev .

to create examples/Manifest.toml with a development version of LatticeSweeper.

Examples

To run the following examples, you should set the project (e.g. using --project or JULIA_PROJECT) to a Julia project that has the prerequisites installed.

  • julia examples/tfim.jl --help
  • julia --color=yes examples/tfim.jl -g 1.0 -L 512 --max-sweeps 16
  • julia examples/dipole_chain.jl --help
  • julia --color=yes examples/dipole_chain.jl -R 1.0 -N 6 --l-max 2 --max-sweeps 8

References

The DMRG implementation is based largely on Schollwöck's 2011 review "The density-matrix renormalization group in the age of matrix product states" (preprint).

License

Provided under the terms of the MIT license. See LICENSE for more information.

About

Simple two-site DMRG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages