diff --git a/Project.toml b/Project.toml index 59f9085..4eb5249 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,4 @@ -name = "VUMPS" +name = "Vumps" uuid = "260a78e0-cbf2-49ba-8157-48058c700f32" authors = ["XingyuZhang2018 and contributors"] version = "0.1.0" diff --git a/README.md b/README.md index 619b174..15ba86c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# VUMPS.jl +# Vumps.jl -[![CI](https://github.com/XingyuZhang2018/VUMPS.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/XingyuZhang2018/VUMPS.jl/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/XingyuZhang2018/VUMPS.jl/branch/master/graph/badge.svg?token=i34pxx5k2N)](https://codecov.io/gh/XingyuZhang2018/VUMPS.jl) +[![CI](https://github.com/XingyuZhang2018/Vumps.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/XingyuZhang2018/Vumps.jl/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/XingyuZhang2018/Vumps.jl/branch/master/graph/badge.svg?token=i34pxx5k2N)](https://codecov.io/gh/XingyuZhang2018/Vumps.jl) -This is a Julia package for the Variational Uniform Matrix product states(VUMPS) to contract infinite two-dimension square lattice tensor network. +This is a Julia package for the Variational Uniform Matrix product states(Vumps) to contract infinite two-dimension square lattice tensor network. -In this package we implemented the VUMPS algorithms including the following: +In this package we implemented the Vumps algorithms including the following: - Complex number forward and backward propagation - NixNj Big Unit Cell - U1-symmmetry and Z2-symmmetry @@ -15,19 +15,19 @@ This package a updated version of the original [ADVUMPS.jl](https://github.com/X ## install ```shell -> git clone https://github.com/XingyuZhang2018/VUMPS.jl +> git clone https://github.com/XingyuZhang2018/Vumps.jl ``` move to the file and run `julia REPL`, press `]` into `Pkg REPL` ```julia (@v1.7) pkg> activate . -Activating environment at `..\VUMPS\Project.toml` +Activating environment at `..\Vumps\Project.toml` -(VUMPS) pkg> instantiate +(Vumps) pkg> instantiate ``` -To get back to the Julia REPL, press `backspace` or `ctrl+C`. Then Precompile `VUMPS` +To get back to the Julia REPL, press `backspace` or `ctrl+C`. Then Precompile `Vumps` ```julia -julia> using VUMPS -[ Info: Precompiling VUMPS [260a78e0-cbf2-49ba-8157-48058c700f32] +julia> using Vumps +[ Info: Precompiling Vumps [260a78e0-cbf2-49ba-8157-48058c700f32] ``` ## Examples ### 2D Classical Ising Model @@ -39,5 +39,5 @@ You can modify Ni and Nj to change the Unit cell size and atype `Array` or `CuAr ### More Project including this package -- [AD-Kitaev](https://github.com/XingyuZhang2018/AD-Kitaev) - Optimize iPEPS of Kitaev-like model with 1x2 unit cell VUMPS. -- [ADFPEPS.jl](https://github.com/XingyuZhang2018/ADFPEPS.jl) - Optimize fermionic iPEPS of Hubbard model with 2x2 unit cell VUMPS. \ No newline at end of file +- [AD-Kitaev](https://github.com/XingyuZhang2018/AD-Kitaev) - Optimize iPEPS of Kitaev-like model with 1x2 unit cell Vumps. +- [ADFPEPS.jl](https://github.com/XingyuZhang2018/ADFPEPS.jl) - Optimize fermionic iPEPS of Hubbard model with 2x2 unit cell Vumps. \ No newline at end of file diff --git a/example/exampleobs.jl b/example/exampleobs.jl index 6c7a5a1..e017f92 100644 --- a/example/exampleobs.jl +++ b/example/exampleobs.jl @@ -1,5 +1,5 @@ using OMEinsum -using VUMPS: ALCtoAC +using Vumps: ALCtoAC """ observable(env, model::MT, type) diff --git a/example/exampletensors.jl b/example/exampletensors.jl index e7ff6d5..cba09cf 100644 --- a/example/exampletensors.jl +++ b/example/exampletensors.jl @@ -1,5 +1,5 @@ -using VUMPS -using VUMPS: _arraytype +using Vumps +using Vumps: _arraytype using OMEinsum using Zygote diff --git a/src/VUMPS.jl b/src/VUMPS.jl index 5ea90fb..2ee6644 100644 --- a/src/VUMPS.jl +++ b/src/VUMPS.jl @@ -1,4 +1,4 @@ -module VUMPS +module Vumps include("patch.jl") include("environment.jl") diff --git a/test/autodiff.jl b/test/autodiff.jl index 4c639d8..d215fcb 100644 --- a/test/autodiff.jl +++ b/test/autodiff.jl @@ -1,5 +1,5 @@ -using VUMPS -using VUMPS:qrpos,lqpos,leftorth,leftenv,rightorth,rightenv,ACenv,Cenv,LRtoC,ALCtoAC,ACCtoALAR,env_norm +using Vumps +using Vumps:qrpos,lqpos,leftorth,leftenv,rightorth,rightenv,ACenv,Cenv,LRtoC,ALCtoAC,ACCtoALAR,env_norm using ChainRulesCore using CUDA using LinearAlgebra diff --git a/test/environment.jl b/test/environment.jl index 967c1cd..bbd564e 100644 --- a/test/environment.jl +++ b/test/environment.jl @@ -1,5 +1,5 @@ -using VUMPS -using VUMPS:qrpos,lqpos,leftorth,rightorth,leftenv,FLmap,rightenv,FRmap,ACenv,ACmap,Cenv,Cmap,LRtoC,ALCtoAC,ACCtoALAR,error, env_norm +using Vumps +using Vumps:qrpos,lqpos,leftorth,rightorth,leftenv,FLmap,rightenv,FRmap,ACenv,ACmap,Cenv,Cmap,LRtoC,ALCtoAC,ACCtoALAR,error, env_norm using CUDA using LinearAlgebra using Random diff --git a/test/fixedpoint.jl b/test/fixedpoint.jl index 99ff95d..a6e994d 100644 --- a/test/fixedpoint.jl +++ b/test/fixedpoint.jl @@ -1,5 +1,5 @@ -using VUMPS -using VUMPS: fixedpoint +using Vumps +using Vumps: fixedpoint using Test struct StopFunction{T,S} diff --git a/test/patch.jl b/test/patch.jl index 40a6b67..cd66f2b 100644 --- a/test/patch.jl +++ b/test/patch.jl @@ -1,4 +1,4 @@ -using VUMPS +using Vumps using KrylovKit using CUDA using Test diff --git a/test/runtests.jl b/test/runtests.jl index bd92bd8..c9a449f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,7 @@ -using VUMPS +using Vumps using Test -@testset "VUMPS.jl" begin +@testset "Vumps.jl" begin @testset "patch" begin println("patch tests running...") include("patch.jl") diff --git a/test/vumpsruntime.jl b/test/vumpsruntime.jl index f050ce1..518b453 100644 --- a/test/vumpsruntime.jl +++ b/test/vumpsruntime.jl @@ -1,8 +1,8 @@ using CUDA using Random using Test -using VUMPS -using VUMPS: vumps, vumps_env, env_norm +using Vumps +using Vumps: vumps, vumps_env, env_norm @testset "$(Ni)x$(Nj) VUMPSRuntime with $atype{$dtype}" for Ni = [1,2,3], Nj = [1,2,3], atype = [Array], dtype = [Float64, ComplexF64] Random.seed!(100)