Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/irreps/irreps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ Asymbol(a::I, b::I, c::I) where {I <: AbelianIrrep} = Int(Nsymbol(a, b, c))
Bsymbol(a::I, b::I, c::I) where {I <: AbelianIrrep} = Int(Nsymbol(a, b, c))
Rsymbol(a::I, b::I, c::I) where {I <: AbelianIrrep} = Int(Nsymbol(a, b, c))

"""
fusiontensor(a::I, b::I, c::I) where {I <: AbstractIrrep} -> Array{T, 4}

Return the fusion tensor for the fusion `a ⊗ b -> c`, where `a`, `b`, and `c` are irreps of
a group. The dimensions of the returned array are `(dim(a), dim(b), dim(c), Nsymbol(a, b, c))`.
The components of the fusion tensor are simply the Clebsch-Gordan coefficients of the group,
describing the unitary basis change from the tensor product of irreps `a` and `b` to the coupled irrep `c`.
"""
function fusiontensor(a::I, b::I, c::I) where {I <: AbelianIrrep}
return fill(Int(Nsymbol(a, b, c)), (1, 1, 1, 1))
end
Expand Down