Kronecker coefficients¶
Kronecker coefficients of the symmetric group.
Tensor two irreducible representations of \(S_n\) and the result is no longer irreducible. The Kronecker coefficient \(g(\lambda, \mu, \nu)\) counts how many copies of \(S^\lambda\) sit inside \(S^\mu \otimes S^\nu\). Since characters multiply under tensor products, it is an inner product of characters: a finite sum over conjugacy classes, with \(z_\rho\) the centralizer size of the class \(\rho\),
The same formula works for any number of partitions of the same \(n\), so
kronecker_coefficient is variadic. With two arguments it reduces to character
orthogonality, \(g(\lambda, \mu) = \delta_{\lambda\mu}\). No positive combinatorial
formula for these numbers is known in general — computing them from characters
is exactly what this does.
Examples:
\(S^{(2,1)} \otimes S^{(2,1)} = S^{(3)} \oplus S^{(2,1)} \oplus S^{(1,1,1)}\):
>>> from schur_weyl import partitions, kronecker_coefficient
>>> [kronecker_coefficient(lam, (2, 1), (2, 1)) for lam in partitions(3)]
[1, 1, 1]
kronecker_coefficient
cached
¶
Get the kronecker coefficient for multiple partitions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
*partitions_
|
tuple[tuple[int, ...]]
|
The partitions |
()
|
Returns:
| Type | Description |
|---|---|
int
|
The kronecker coefficient g(\mu, \nu, ...) |
Examples:
>>> kronecker_coefficient((2, 1), (2, 1))
1
>>> kronecker_coefficient((2, 1), (3,))
0
>>> kronecker_coefficient((3,), (2, 1), (2, 1))
1
>>> kronecker_coefficient((3,), (2, 1), (1, 1, 1))
0