File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ apply a transfer matrix to the left.
2121 t_top = tensorexpr (:A , 2 : (N₂ + 1 ), - (N₁ + 1 ))
2222 t_bot = tensorexpr (:Ā , (1 , (3 : (N₂ + 1 )). .. ), - 1 )
2323 t_in = tensorexpr (:v , 1 , (- (2 : N₁). .. , 2 ))
24- return :(return @plansor $ t_out := $ t_in * $ t_top * conj ($ t_bot))
24+ return macroexpand ( :(return @plansor $ t_out := $ t_in * $ t_top * conj ($ t_bot) ))
2525end
2626
2727"""
@@ -41,7 +41,7 @@ apply a transfer matrix to the right.
4141 t_top = tensorexpr (:A , (- 1 , reverse (3 : (N₂ + 1 ))... ), 1 )
4242 t_bot = tensorexpr (:Ā , (- (N₁ + 1 ), reverse (3 : (N₂ + 1 ))... ), 2 )
4343 t_in = tensorexpr (:v , 1 , (- (2 : N₁). .. , 2 ))
44- return :(return @plansor $ t_out := $ t_top * conj ($ t_bot) * $ t_in)
44+ return macroexpand ( :(return @plansor $ t_out := $ t_top * conj ($ t_bot) * $ t_in) )
4545end
4646
4747# transfer, but the upper A is an excited tensor
You can’t perform that action at this time.
0 commit comments