From 38b11c022c0235875cf701afe8c572a406abb51b Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 10 May 2024 21:11:26 -0400 Subject: [PATCH 1/3] ITensorMPS.set_terms and ITensorMPS.terms --- src/ITensorMPS.jl | 2 +- test/runtests.jl | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/ITensorMPS.jl b/src/ITensorMPS.jl index 195d78f..b8bc0b9 100644 --- a/src/ITensorMPS.jl +++ b/src/ITensorMPS.jl @@ -6,7 +6,7 @@ const alternating_update_dmrg = ITensorTDVP.dmrg # Not re-exported, but this makes these types and functions accessible # as `ITensorMPS.x`. using ITensors.ITensorMPS: - AbstractProjMPO, AbstractSum, ProjMPS, makeL!, makeR!, sortmergeterms + AbstractProjMPO, AbstractMPS, ProjMPS, makeL!, makeR!, set_terms, sortmergeterms, terms @reexport using ITensors.ITensorMPS: @OpName_str, @SiteType_str, diff --git a/test/runtests.jl b/test/runtests.jl index 79819f7..b03ae99 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -28,8 +28,18 @@ using Test: @test, @test_broken, @testset # ``` # ? @test_broken ITensorMPS.sortmergeterms === ITensors.sortmergeterms - @test ITensorMPS.AbstractSum === ITensors.ITensorMPS.AbstractSum - @test ITensorMPS.ProjMPS === ITensors.ITensorMPS.ProjMPS + for f in [ + :AbstractProjMPO, + :AbstractMPS, + :ProjMPS, + :makeL!, + :makeR!, + :set_terms, + :sortmergeterms, + :terms, + ] + @test getfield(ITensorMPS, f) === getfield(ITensors.ITensorMPS, f) + end end end end From 0c7f0c54e97303c70e2310eb923455610268998d Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 10 May 2024 21:12:10 -0400 Subject: [PATCH 2/3] Bump to v0.1.7 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 1f5b41d..8a00067 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.6" +version = "0.1.7" [deps] ITensorTDVP = "25707e16-a4db-4a07-99d9-4d67b7af0342" From ce7c6e54e5e4ccc386319d4510813b4551f0b191 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 10 May 2024 21:20:24 -0400 Subject: [PATCH 3/3] Fix typo --- src/ITensorMPS.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ITensorMPS.jl b/src/ITensorMPS.jl index b8bc0b9..5f7fcba 100644 --- a/src/ITensorMPS.jl +++ b/src/ITensorMPS.jl @@ -6,7 +6,7 @@ const alternating_update_dmrg = ITensorTDVP.dmrg # Not re-exported, but this makes these types and functions accessible # as `ITensorMPS.x`. using ITensors.ITensorMPS: - AbstractProjMPO, AbstractMPS, ProjMPS, makeL!, makeR!, set_terms, sortmergeterms, terms + AbstractProjMPO, AbstractSum, ProjMPS, makeL!, makeR!, set_terms, sortmergeterms, terms @reexport using ITensors.ITensorMPS: @OpName_str, @SiteType_str,