Skip to content

Commit

Permalink
Merge pull request #27 from yomichi/fix_loop_cut
Browse files Browse the repository at this point in the history
fix loop_update for transverse field
  • Loading branch information
yomichi authored May 30, 2024
2 parents 77ac4fa + 337502a commit a92d1a9
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 a92d1a9

Please sign in to comment.