| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
| Documentation | Build Status | Coverage | Digital Object Identifier |
|---|---|---|---|
Tools for working with projected entangled-pair states
It contracts, it optimizes, it evolves.
The package can be installed through the Julia general registry, via the package manager:
pkg> add PEPSKitAfter following the installation process, it should now be possible to load the packages and start simulating. For example, in order to obtain the ground state of the 2D Heisenberg model, we can use the following code:
using TensorKit, PEPSKit
# construct the Hamiltonian
H = heisenberg_XYZ(InfiniteSquare())
# configure the parameters
D = 2
χ = 20
ctmrg_tol = 1e-10
grad_tol = 1e-4
# initialize a PEPS and CTMRG environment
peps₀ = InfinitePEPS(ComplexSpace(2), ComplexSpace(D))
env₀, = leading_boundary(CTMRGEnv(peps₀, ComplexSpace(χ)), peps₀; tol=ctmrg_tol)
# ground state search
peps, env, E, = fixedpoint(H, peps₀, env₀; tol=grad_tol, boundary_alg=(; tol=ctmrg_tol))
@show E # -0.6625...| Back | FazBrowse Home | New Git URL |