From 276d3dd4602f658bffa6b4a5a94b502dc53db7cc Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Wed, 7 Oct 2026 13:23:29 +0200 Subject: [PATCH 1/3] Update Project.toml for MPSKit version --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 5c1692a..2e856b4 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "MPSKitModels" uuid = "ca635005-6f8c-4cd1-b51d-8491250ef2ab" -version = "0.4.7" +version = "0.4.8" authors = ["Maarten Van Damme", "Lukas Devos", "Gertian Roose", "Klaas Gunst"] [workspace] @@ -17,7 +17,7 @@ TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6" [compat] LinearAlgebra = "1.10" -MPSKit = "0.13.1" +MPSKit = "0.13.1, 0.14" MacroTools = "0.5" PrecompileTools = "1" TensorKit = "0.15, 0.16, 0.17" From 9fe19f439a503bb7ad7277638052378363a6b8b6 Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Wed, 7 Oct 2026 14:26:38 +0200 Subject: [PATCH 2/3] Fix tests --- Project.toml | 2 +- test/sixvertex.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 2e856b4..3e978e7 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6" [compat] LinearAlgebra = "1.10" -MPSKit = "0.13.1, 0.14" +MPSKit = "0.14" MacroTools = "0.5" PrecompileTools = "1" TensorKit = "0.15, 0.16, 0.17" diff --git a/test/sixvertex.jl b/test/sixvertex.jl index 2bfe6f9..21acb9d 100644 --- a/test/sixvertex.jl +++ b/test/sixvertex.jl @@ -24,7 +24,7 @@ end ] ψ = MultilineMPS(repeat(physicalspace(mpo), 2, 2), [vspaces circshift(vspaces, 1)]) ψ, _ = leading_boundary(ψ, mpo2, alg) - F = prod(expectation_value(ψ, mpo2)) + F = prod(leading_eigenvalue(ψ, mpo2)) @test abs(F)^(1 / 4) ≈ F₀ atol = 1.0e-2 end @@ -37,6 +37,6 @@ end ] ψ = MultilineMPS(repeat(physicalspace(mpo), 2, 2), [vspaces circshift(vspaces, 1)]) ψ, _ = leading_boundary(ψ, mpo2, alg) - F = prod(expectation_value(ψ, mpo2)) + F = prod(leading_eigenvalue(ψ, mpo2)) @test abs(F)^(1 / 4) ≈ F₀ atol = 1.0e-2 end From 7529baa0b27e627af4ee2ed12cbcd31e03c8c3d1 Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Wed, 7 Oct 2026 15:05:38 +0200 Subject: [PATCH 3/3] No prod --- test/sixvertex.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sixvertex.jl b/test/sixvertex.jl index 21acb9d..3952937 100644 --- a/test/sixvertex.jl +++ b/test/sixvertex.jl @@ -24,7 +24,7 @@ end ] ψ = MultilineMPS(repeat(physicalspace(mpo), 2, 2), [vspaces circshift(vspaces, 1)]) ψ, _ = leading_boundary(ψ, mpo2, alg) - F = prod(leading_eigenvalue(ψ, mpo2)) + F = leading_eigenvalue(ψ, mpo2) @test abs(F)^(1 / 4) ≈ F₀ atol = 1.0e-2 end @@ -37,6 +37,6 @@ end ] ψ = MultilineMPS(repeat(physicalspace(mpo), 2, 2), [vspaces circshift(vspaces, 1)]) ψ, _ = leading_boundary(ψ, mpo2, alg) - F = prod(leading_eigenvalue(ψ, mpo2)) + F = leading_eigenvalue(ψ, mpo2) @test abs(F)^(1 / 4) ≈ F₀ atol = 1.0e-2 end