e3x.so3.irreps.clebsch_gordan

e3x.so3.irreps.clebsch_gordan(max_degree1, max_degree2, max_degree3, cartesian_order=True)[source]

Clebsch-Gordan coefficients for coupling all degrees at once.

See the corresponding section in the overview for more details on coupling irreps.

Parameters:
  • max_degree1 (int) – Maximum degree of the first factor.

  • max_degree2 (int) – Maximum degree of the second factor.

  • max_degree3 (int) – Maximum degree of the tensor product.

  • cartesian_order (bool, default: True) – If True, Cartesian order is assumed.

Return type:

<class 'Float[Array, '(max_degree1+1)**2 (max_degree2+1)**2 (max_degree3+1)**2']'>

Returns:

The values of all Clebsch-Gordan coefficients for coupling degrees up to the requested maximum degrees stored in an Array of shape ((max_degree1+1)**2, (max_degree2+1)**2, (max_degree3+1)**2)).

Raises:

ValueError – If max_degree1, max_degree2, or max_degree3 are not positive or zero.