We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fead4d commit a5bb099Copy full SHA for a5bb099
examples/quantum1d/1.ising-cft/main.jl
@@ -68,6 +68,7 @@ The resulting energy levels have one-to-one correspondence to the operators in C
68
"""
69
70
function fix_degeneracies(basis)
71
+ L = length(basis[1])
72
M = zeros(ComplexF64, length(basis), length(basis))
73
for i in eachindex(basis), j in eachindex(basis)
74
M[i, j] = dot(basis[i],O_shift(L)*basis[j])
0 commit comments