@@ -280,36 +280,3 @@ function TensorKitSectors.Fsymbol(a::I, b::I, c::I, d::I, e::I, f::I) where {I <
280280 colordict = _get_Fcache (I)[i, j, k, l]
281281 return get! (colordict, (a. label, b. label, c. label, d. label, e. label, f. label), zero_array)
282282end
283-
284- # interface with TensorKit where necessary
285- # -----------------------------------------
286-
287- # TODO : can remove this once the otimes assert is removed
288- function TensorKit. fuse (V₁:: GradedSpace{I} , V₂:: GradedSpace{I} ) where {I <: BimoduleSector }
289- dims = TensorKit. SectorDict {I, Int} ()
290- for a in sectors (V₁), b in sectors (V₂)
291- a. j == b. i || continue # skip if not compatible
292- for c in a ⊗ b
293- dims[c] = get (dims, c, 0 ) + Nsymbol (a, b, c) * dim (V₁, a) * dim (V₂, b)
294- end
295- end
296- return typeof (V₁)(dims)
297- end
298-
299- # TODO : these might not be necessary anymore after TensorKit#291
300- # check after BlockTensorKit#38
301-
302- # function TensorKit.unitspace(S::SumSpace{<:GradedSpace{<:BimoduleSector}})
303- # @assert !isempty(S) "Cannot determine type of empty space"
304- # return SumSpace(oneunit(first(S.spaces))) # assuming diagonal SumSpace (like in MPSKit)
305- # end
306-
307- # function rightunitspace(S::SumSpace{<:GradedSpace{<:BimoduleSector}})
308- # @assert !isempty(S) "Cannot determine type of empty space"
309- # return SumSpace(rightunitspace(first(S.spaces)))
310- # end
311-
312- # function leftunitspace(S::SumSpace{<:GradedSpace{<:BimoduleSector}})
313- # @assert !isempty(S) "Cannot determine type of empty space"
314- # return SumSpace(leftunitspace(first(S.spaces)))
315- # end
0 commit comments