Skip to content

Commit 149372f

Browse files
committed
Use ITensorNetworks.model(...) instead of model(...) in test.
1 parent 6c3c0c9 commit 149372f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_opsum_to_ttn.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using Test
2121
J1 = -1
2222
J2 = 2
2323
h = 0.5
24-
H = ising(c; J1=J1, J2=J2, h=h)
24+
H = ITensorNetworks.ising(c; J1=J1, J2=J2, h=h)
2525
# add combination of longer range interactions
2626
Hlr = copy(H)
2727
Hlr += 5, "Z", (1, 2), "Z", (2, 2), "Z", (3, 2)
@@ -90,7 +90,7 @@ using Test
9090
J1 = -1
9191
J2 = 2
9292
h = 0.5
93-
H = heisenberg(c; J1=J1, J2=J2, h=h)
93+
H = ITensorNetworks.heisenberg(c; J1=J1, J2=J2, h=h)
9494
# add combination of longer range interactions
9595
Hlr = copy(H)
9696
Hlr += 5, "Z", (1, 2), "Z", (2, 2)#, "Z", (3,2)
@@ -151,7 +151,7 @@ using Test
151151
J1 = -1
152152
J2 = 2
153153
h = 0.5
154-
H = heisenberg(c; J1=J1, J2=J2, h=h)
154+
H = ITensorNetworks.heisenberg(c; J1=J1, J2=J2, h=h)
155155
#Hvac = heisenberg(is_missing_site; J1=J1, J2=J2, h=h)
156156

157157
# add combination of longer range interactions

0 commit comments

Comments
 (0)