261261
262262function add_physical_charge(O:: MPOTensor , charge:: Sector )
263263 sectortype(O) === typeof(charge) || throw(SectorMismatch())
264- auxspace = Vect[typeof(charge)](charge => 1 )
264+ auxspace = Vect[typeof(charge)](charge => 1 )'
265265 F = fuser(scalartype(O), physicalspace(O), auxspace)
266266 @plansor O_charged[- 1 - 2 ; - 3 - 4 ] := F[- 2 ; 1 2 ] *
267267 O[- 1 1 ; 4 3 ] *
@@ -270,16 +270,14 @@ function add_physical_charge(O::MPOTensor, charge::Sector)
270270end
271271function add_physical_charge(O:: BraidingTensor , charge:: Sector )
272272 sectortype(O) === typeof(charge) || throw(SectorMismatch())
273- auxspace = Vect[typeof(charge)](charge => 1 )
273+ auxspace = Vect[typeof(charge)](charge => 1 )'
274274 V = left_virtualspace(O) ⊗ fuse(physicalspace(O), auxspace) ←
275275 fuse(physicalspace(O), auxspace) ⊗ right_virtualspace(O)
276276 return BraidingTensor{scalartype(O)}(V)
277277end
278278function add_physical_charge(O:: AbstractBlockTensorMap{<:Any,<:Any,2,2} , charge:: Sector )
279279 sectortype(O) == typeof(charge) || throw(SectorMismatch())
280-
281- auxspace = Vect[typeof(charge)](charge => 1 )
282-
280+ auxspace = Vect[typeof(charge)](charge => 1 )'
283281 Odst = similar(O,
284282 left_virtualspace(O) ⊗ fuse(physicalspace(O), auxspace) ←
285283 fuse(physicalspace(O), auxspace) ⊗ right_virtualspace(O))
0 commit comments