Difference between revisions of "Clebsch gordan.m"
(Normalise sequential blank lines) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
cg=clebsch_gordan(L,M,L1,M1,L2,M2) | cg=clebsch_gordan(L,M,L1,M1,L2,M2) | ||
| − | == | + | ==Parameters== |
L,M,L1,M1,L2,M2 - integer or half-integer indices of | L,M,L1,M1,L2,M2 - integer or half-integer indices of | ||
Revision as of 17:47, 5 June 2026
Clebsch-Gordan coefficient: the coefficient in front of Y(L,M) spherical harmonic in the expansion of the product of Y(L1,M1) and Y(L2,M2) spherical harmonics. In the more general sense, the coefficient refers to the expansion coefficient of |L,M> angular momentum or spin state in the product basis of |L1,M1>|L2,M2> states.
Syntax
cg=clebsch_gordan(L,M,L1,M1,L2,M2)
Parameters
L,M,L1,M1,L2,M2 - integer or half-integer indices of
the angular momentum or spin states
Outputs
cg - floating-point (double precision)
Clebsch-Gordan coefficient
Examples
>> format long >> clebsch_gordan(9500,-9000,5600,-4800,6400,-4200) ans = 0.012291987779716
Notes
- Only some combinations of L,M,L1,M1,L2,M2 are allowed by the properties of spherical harmonics and spin states. If inadmissible indices are supplied, zero is returned.
- CG coefficient calculation in double-precision arithmetic is not a trivial matter for high ranks. This function produces machine precision answers up to about L=1e4. A faster implementation for low ranks is available in cg_fast.m function.
See also
cg_fast.m, wigner.m, wigner_3j.m, wigner_6j.m
SU(2), SO(3), and other groups
Version 2.8, authors: Ilya Kuprov