Skip to content

TRG and HOTRG for the 2D Ising model

License

Notifications You must be signed in to change notification settings

smorita/TRG_Ising_2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRG_Ising_2D

The tensor renormalization group method (TRG) and the higher-order TRG method (HOTRG) are efficient computational methods to contract the tensor network for classical statistical systems. This repository provides very simple Python codes of TRG and HOTRG for the Ising model on the square lattice.

Usage

./trg.py [chi] [step] [temperature]
./hotrg.py [chi] [step] [temperature]

Requirements

  • Python3
  • NumPy
  • SciPy (scipy.linalg, scipy.special, scipy.integrate)

Notes

  • The computational cost of TRG and HOTRG scale as O(chi^6) and O(chi^7), respectively. For O(chi^5) TRG algorithm, please check our PRE paper.
  • The memory usage in both methods is O(chi^4). In HOTRG, the loop blocking technique is used to reduce memory usage.
  • The codes do not support the external magnetic field.
  • Animations of TRG and HOTRG are available on https://smorita.github.io/TN_animation/.

References

  • M. Levin, C. P. Nave: Phys. Rev. Lett. 99, 120601 (2007)
  • Z. Y. Xie, et al.: Phys. Rev. B 86, 045139 (2012)
  • S. Morita, R. Igarashi, H.-H. Zhao, and N. Kawashima: Phys. Rev. E 97, 033310 (2018)

About

TRG and HOTRG for the 2D Ising model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages