We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
undo_bond_tensor_last
1 parent b6aeff3 commit bbc3bc4Copy full SHA for bbc3bc4
1 file changed
src/algorithms/truncation/bond_tensor.jl
@@ -101,7 +101,8 @@ end
101
"""
102
Undo the decomposition in `bond_tensor_last`.
103
104
-function undo_bond_tensor_last(Y::PEPSOrth, b::MPSTensor)
+function undo_bond_tensor_last(Y::PEPSOrth, b::MPSTensor; gate_ax::Integer = 1)
105
+ @assert gate_ax == 1
106
return @tensor A[-1; -2 -3 -4 -5] := b[-5 -1 1] * Y[-2 -3 -4 1]
107
end
108
function undo_bond_tensor_last(Y::PEPOOrth, b::MPSTensor; gate_ax::Integer = 1)
0 commit comments