Skip to content

Commit

Permalink
revert more changes to fermi_hubbard_1d
Browse files Browse the repository at this point in the history
  • Loading branch information
bartandrews committed Apr 24, 2024
1 parent 90ea495 commit 89325f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/ffsim/operators/fermi_hubbard.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def fermi_hubbard_1d(
"""
coeffs: dict[tuple[tuple[bool, bool, int], ...], complex] = {}

# populate keys
for p in range(norb - 1 + periodic):
coeffs[(cre_a(p), des_a((p + 1) % norb))] = -tunneling
coeffs[(cre_b(p), des_b((p + 1) % norb))] = -tunneling
Expand Down

0 comments on commit 89325f0

Please sign in to comment.