From c832e00749421c1ecc7d892d1bd01f704c6949d5 Mon Sep 17 00:00:00 2001 From: Miles Date: Fri, 10 May 2024 16:03:02 -0400 Subject: [PATCH] Make ProjMPS accessible --- Project.toml | 2 +- src/ITensorMPS.jl | 3 +-- test/runtests.jl | 1 + 3 files changed, 3 insertions(+), 3 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 c31d7f1..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, @@ -38,7 +38,6 @@ using ITensors.ITensorMPS: AbstractSum, sortmergeterms ProjMPO, ProjMPOSum, ProjMPO_MPS, - ProjMPS, Scaled, SiteType, Spectrum, 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