Skip to content

Commit

Permalink
fix loop_update for Sx
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed May 30, 2024
1 parent be127ae commit 337502a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/QuantumXXZ/update.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function loop_update!(model::QuantumXXZ, T::Real,
st = ot - 4nbt
s = sites(model, st)[rand(rng, 1:numsites(model, st))]
ss = rand(rng, 1:S2)
push!(ops, LocalLoopOperator(LET_Cut, t, s, (ss, ss)))
push!(ops, LocalLoopOperator(LET_Cut, t, s.id, (ss, ss)))
t += randexp(rng) * op_dt
end
else
Expand Down

0 comments on commit 337502a

Please sign in to comment.