@@ -22,11 +22,11 @@ function left_canonicalize!(
2222 Q, R = _left_orth! (tmp; alg, trunc = trscheme)
2323
2424 if dim (R) == 0 # fully truncated
25- V = BlockTensorKit . oplus ( oneunit (S), oneunit (S) )
25+ V = oneunit (S) ⊞ oneunit (S)
2626 Q1 = typeof (W. A)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
2727 Q2 = typeof (W. C)(undef, physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
2828 else
29- V = BlockTensorKit . oplus (oneunit (S), space (R, 1 ), oneunit (S))
29+ V = ⊞ (oneunit (S), space (R, 1 ), oneunit (S))
3030 scale! (Q, d)
3131 scale! (R, inv (d))
3232 Q1 = typeof (W. A)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W) ⊗ space (R, 1 ))
@@ -38,7 +38,7 @@ function left_canonicalize!(
3838 Q, R = _left_orth! (tmp; alg, trunc = trscheme)
3939
4040 if dim (R) == 0 # fully truncated
41- V = BlockTensorKit . oplus ( oneunit (S), oneunit (S) )
41+ V = oneunit (S) ⊞ oneunit (S)
4242 Q1 = typeof (W. A)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
4343 Q2 = typeof (W. C)(undef, physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
4444 else
@@ -47,7 +47,7 @@ function left_canonicalize!(
4747 Q′ = transpose (Q, ((2 , 3 ), (1 , 4 )))
4848 Q1 = Q′[2 : end , 1 , 1 , 1 ]
4949 Q2 = removeunit (SparseBlockTensorMap (Q′[1 : 1 , 1 , 1 , 1 ]), 1 )
50- V = BlockTensorKit . oplus (oneunit (S), right_virtualspace (Q′), oneunit (S))
50+ V = ⊞ (oneunit (S), right_virtualspace (Q′), oneunit (S))
5151 end
5252 H[i] = JordanMPOTensor (codomain (W) ← physicalspace (W) ⊗ V, Q1, W. B, Q2, W. D)
5353 end
@@ -108,11 +108,11 @@ function right_canonicalize!(
108108 R, Q = _right_orth! (tmp; alg, trunc = trscheme)
109109
110110 if dim (R) == 0
111- V = BlockTensorKit . oplus ( oneunit (S), oneunit (S) )
111+ V = oneunit (S) ⊞ oneunit (S)
112112 Q1 = typeof (W. A)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
113113 Q2 = typeof (W. B)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W))
114114 else
115- V = BlockTensorKit . oplus (oneunit (S), space (Q, 1 ), oneunit (S))
115+ V = ⊞ (oneunit (S), space (Q, 1 ), oneunit (S))
116116 scale! (Q, d)
117117 scale! (R, inv (d))
118118 Q1 = typeof (W. A)(undef, space (Q, 1 ) ⊗ physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
@@ -123,7 +123,7 @@ function right_canonicalize!(
123123 tmp = transpose (cat (insertleftunit (B′, 4 ), W. A; dims = 4 ), ((1 ,), (3 , 4 , 2 )))
124124 R, Q = _right_orth! (tmp; alg, trunc = trscheme)
125125 if dim (R) == 0
126- V = BlockTensorKit . oplus ( oneunit (S), oneunit (S) )
126+ V = oneunit (S) ⊞ oneunit (S)
127127 Q1 = typeof (W. A)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W) ⊗ SumSpace {S} ())
128128 Q2 = typeof (W. B)(undef, SumSpace {S} () ⊗ physicalspace (W) ← physicalspace (W))
129129 else
@@ -132,7 +132,7 @@ function right_canonicalize!(
132132 Q′ = transpose (Q, ((1 , 4 ), (2 , 3 )))
133133 Q1 = SparseBlockTensorMap (Q′[1 , 1 , 1 , 2 : end ])
134134 Q2 = removeunit (SparseBlockTensorMap (Q′[1 , 1 , 1 , 1 : 1 ]), 4 )
135- V = BlockTensorKit . oplus (oneunit (S), left_virtualspace (Q′), oneunit (S))
135+ V = ⊞ (oneunit (S), left_virtualspace (Q′), oneunit (S))
136136 end
137137 H[i] = JordanMPOTensor (V ⊗ physicalspace (W) ← domain (W), Q1, Q2, W. C, W. D)
138138 end
0 commit comments