Skip to content

Commit a5bb099

Browse files
authored
Update main.jl
1 parent 8fead4d commit a5bb099

File tree

1 file changed

+1
-0
lines changed
  • examples/quantum1d/1.ising-cft

1 file changed

+1
-0
lines changed

examples/quantum1d/1.ising-cft/main.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The resulting energy levels have one-to-one correspondence to the operators in C
6868
"""
6969

7070
function fix_degeneracies(basis)
71+
L = length(basis[1])
7172
M = zeros(ComplexF64, length(basis), length(basis))
7273
for i in eachindex(basis), j in eachindex(basis)
7374
M[i, j] = dot(basis[i],O_shift(L)*basis[j])

0 commit comments

Comments
 (0)