Commit a370985d authored by mgassner's avatar mgassner
Browse files

...

parent 54eb6c5b
......@@ -12,10 +12,10 @@ def github_test(number_spins=10, spin_inversion=-1, use_symmetries=True):
sites = np.arange(number_spins)
# Momentum in x direction with eigenvalue π
T = (sites + 1) % number_spins
symmetries.append(ls.Symmetry(T, sector=number_spins // 2))
symmetries.append(ls.Symmetry(T, sector=0))#number_spins // 2))
# Parity with eigenvalue π
P = sites[::-1]
symmetries.append(ls.Symmetry(P, sector=1))
symmetries.append(ls.Symmetry(P, sector=0))#1))
# Constructing the group
symmetry_group = ls.Group(symmetries)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment