Skip to content

Commit 0fe9c96

Browse files
Update src/lib/SiteTypes/src/sitetypes/tj.jl
Matt's tidyin suggestion Co-authored-by: Matt Fishman <[email protected]>
1 parent f43eca0 commit 0fe9c96

File tree

1 file changed

+3
-3
lines changed
  • src/lib/SiteTypes/src/sitetypes

1 file changed

+3
-3
lines changed

src/lib/SiteTypes/src/sitetypes/tj.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ function op!(Op::ITensor, ::OpName"Sx", ::SiteType"tJ", s::Index)
184184
return Op[s' => 3, s => 2] = 0.5
185185
end
186186
function op!(Op::ITensor, ::OpName"Sy", ::SiteType"tJ", s::Index)
187-
Op[s' => 2, s => 3] = -1im*0.5
188-
return Op[s' => 3, s => 2] = 1im*0.5
189-
end
187+
Op[s' => 2, s => 3] = -0.5im
188+
return Op[s' => 3, s => 2] = 0.5im
189+
end
190190
function op!(Op::ITensor, ::OpName"Sʸ", st::SiteType"tJ", s::Index)
191191
return op!(Op, OpName("Sy"), st, s)
192192
end

0 commit comments

Comments
 (0)