Skip to content

Commit

Permalink
working implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Jun 12, 2024
1 parent 194fba3 commit 50369c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ModelHamiltonians/src/ModelHamiltonians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ heisenberg(N::Integer; kwargs...) = heisenberg(path_graph(N); kwargs...)
"""
Next-to-nearest-neighbor Ising model (ZZX) on a general graph
"""
function ising(g::AbstractGraph; J1=-1, J2=0, h=0, hl = 0)
function ising(g::AbstractGraph; J1=-1, J2=0, h=0, hl=0)
(; J1, J2, h, hl) = map(to_callable, (; J1, J2, h, hl))
= OpSum()
for e in edges(g)
Expand Down

0 comments on commit 50369c1

Please sign in to comment.