From 149372fff1399b185ae148dfc5ab204f95644b28 Mon Sep 17 00:00:00 2001 From: Benedikt Kloss Date: Wed, 10 Jan 2024 17:17:21 -0500 Subject: [PATCH] Use ITensorNetworks.model(...) instead of model(...) in test. --- test/test_opsum_to_ttn.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_opsum_to_ttn.jl b/test/test_opsum_to_ttn.jl index 7d986ece..33027066 100644 --- a/test/test_opsum_to_ttn.jl +++ b/test/test_opsum_to_ttn.jl @@ -21,7 +21,7 @@ using Test J1 = -1 J2 = 2 h = 0.5 - H = ising(c; J1=J1, J2=J2, h=h) + H = ITensorNetworks.ising(c; J1=J1, J2=J2, h=h) # add combination of longer range interactions Hlr = copy(H) Hlr += 5, "Z", (1, 2), "Z", (2, 2), "Z", (3, 2) @@ -90,7 +90,7 @@ using Test J1 = -1 J2 = 2 h = 0.5 - H = heisenberg(c; J1=J1, J2=J2, h=h) + H = ITensorNetworks.heisenberg(c; J1=J1, J2=J2, h=h) # add combination of longer range interactions Hlr = copy(H) Hlr += 5, "Z", (1, 2), "Z", (2, 2)#, "Z", (3,2) @@ -151,7 +151,7 @@ using Test J1 = -1 J2 = 2 h = 0.5 - H = heisenberg(c; J1=J1, J2=J2, h=h) + H = ITensorNetworks.heisenberg(c; J1=J1, J2=J2, h=h) #Hvac = heisenberg(is_missing_site; J1=J1, J2=J2, h=h) # add combination of longer range interactions