equivcouple#
- torchspin.equivcouple(I, n)[source]#
Decompose n equivalent spins-I into independent effective spins.
Implements the Clebsch-Gordan reduction of the n-fold tensor product representation of spin-I.
- Parameters:
- Returns:
F (ndarray) – Effective spin quantum numbers in decreasing order.
N (ndarray) – Multiplicities (number of times each effective spin appears).
Examples
>>> F, N = equivcouple(0.5, 5) >>> print(F) # [2.5, 1.5, 0.5] >>> print(N) # [1, 4, 5]