From 896e1b2977c686bc1df21143b40a888f7d08fc07 Mon Sep 17 00:00:00 2001 From: Miles Date: Fri, 10 May 2024 16:19:08 -0400 Subject: [PATCH] Make ProjMPS accessible (#5) --- Project.toml | 2 +- src/ITensorMPS.jl | 2 +- test/runtests.jl | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 3f4d9ce..0125482 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorMPS" uuid = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.1.4" +version = "0.1.5" [deps] ITensorTDVP = "25707e16-a4db-4a07-99d9-4d67b7af0342" diff --git a/src/ITensorMPS.jl b/src/ITensorMPS.jl index 2c81638..bb0bc90 100644 --- a/src/ITensorMPS.jl +++ b/src/ITensorMPS.jl @@ -5,7 +5,7 @@ using ITensorTDVP: ITensorTDVP const alternating_update_dmrg = ITensorTDVP.dmrg # Not re-exported, but this makes these types and functions accessible # as `ITensorMPS.x`. -using ITensors.ITensorMPS: AbstractSum, sortmergeterms +using ITensors.ITensorMPS: AbstractSum, ProjMPS, sortmergeterms @reexport using ITensors.ITensorMPS: @OpName_str, @SiteType_str, diff --git a/test/runtests.jl b/test/runtests.jl index 2bc667d..79819f7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -29,6 +29,7 @@ using Test: @test, @test_broken, @testset # ? @test_broken ITensorMPS.sortmergeterms === ITensors.sortmergeterms @test ITensorMPS.AbstractSum === ITensors.ITensorMPS.AbstractSum + @test ITensorMPS.ProjMPS === ITensors.ITensorMPS.ProjMPS end end end