Build your own tensor network library: DMRjulia I. Basic library for the density matrix renormalization group

Thomas E. Baker, Martin P. Thompson
9/7/2021
quant-ph

Official code: bakerte/DMRJtensor.jl (48 stars, GPL-3.0, last commit 2026-09-28).

Abstract

An introduction to the density matrix renormalization group is contained here, including coding examples. The focus of this code is on basic operations involved in tensor network computations, and this forms the foundation of the DMRjulia library. Algorithmic complexity, measurements from the matrix product state, convergence to the ground state, and other relevant features are also discussed. The present document covers the implementation of operations for dense tensors into the Julia language. The code can be used as an educational tool to understand how tensor network computations are done in the context of entanglement renormalization or as a template for other codes in low level languages. A comprehensive Supplemental Material is meant to be a "Numerical Recipes" style introduction to the core functions and a simple implementation of them. The code is fast enough to be used in research and can be used to make new algorithms.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A general purpose tensor network library in the Julia programming language

485JuliaApr 9, 20203 weeks agoGPL-3.0
physics-simulation

Similar Papers

Cite this paper

@article{baker2021build,
  title  = {Build your own tensor network library: DMRjulia I. Basic library for the density matrix renormalization group},
  author = {Thomas E. Baker and Martin P. Thompson},
  year   = {2021},
  eprint = {2109.03120},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03120}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03120.svg)](https://codeofpaper.com/paper/2109.03120)

Discussion