Skip to content

Commit

Permalink
Fixed line wrap issue in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbett5 committed Jun 11, 2024
1 parent 6a8a36f commit a13bc9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/fermi-hubbard.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function Fermi_Hubbard_momentum_space(
for p in 1:N
for q in 1:N
for k in 1:N
os .+= U / N,
"Cdagup", mod1(p - k, N), "Cdagdn", mod1(q + k, N), "Cdn", q, "Cup",
p
pmk = mod1(p - k, N)
qpk = mod1(q + k, N)
os .+= U / N, "Cdagup", pmk, "Cdagdn", qpk, "Cdn", q, "Cup", p
end
end
end
Expand Down

0 comments on commit a13bc9e

Please sign in to comment.