Difference between revisions of "Wigner.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Computes Wigner matrices of user-specified ranks. Syntax: D=wigner(l,alp,bet,gam) where alp, bet and gam are Euler angles in radians. Rows and columns of t...")
 
Line 1: Line 1:
−
Computes Wigner matrices of user-specified ranks. Syntax:
+
{{DISPLAYTITLE:wigner.m}}
 +
Wigner D matrices, defined as (Brink & Satchler, Eq 2.13):
  
−
                  D=wigner(l,alp,bet,gam)
+
      D=expm(-1i*Lz*alp)*expm(-1i*Ly*bet)*expm(-1i*Lz*gam);
  
−
where alp, bet and gam are Euler angles in radians. Rows and columns of the resulting Wigner matrix are sorted by descending ranks, e.g.:
+
where Lx, Ly, Lz are Pauli matrices.
−
   
 
−
                        [D( 2,2)  ...  D( 2,-2)
 
−
                            ...    ...    ... 
 
−
                          D(-2,2)  ...  D(-2,-2)]
 
  
−
The resulting Wigner matrix is to be used as v=W*v, where v is a column vector of irreducible spherical tensor coefficients, listed vertically in the order: T(2,2), T(2,1), T(2,0), T(2,-1), T(2,-2).
+
==Syntax==
 +
 
 +
    D=wigner(l,alp,bet,gam)
 +
 
 +
==Arguments==
 +
 
 +
      l    - rank of the Wigner matrix, may be half-integer
 +
 +
    alp    - alpha Euler angle, radians
 +
 +
    bet    - beta Euler angle, radians
 +
 +
    gam    - gamma Euler angle, radians
 +
 
 +
ZYZ convention is used for Euler angles, see Brink and Satchler, Figures 1 and 2.
 +
 
 +
==Outputs==
 +
 
 +
      D    - Wigner D matrix with rows and columns sorted
 +
              by descending ranks, for example (l=2):
 +
   
 +
                      [D( 2,2)  ...  D( 2,-2)
 +
                        ...    ...    ... 
 +
                      D(-2,2)  ...  D(-2,-2)]
 +
 
 +
The output is to be used as y=D*x, where x is a column vector of irreducible spherical tensor coefficients, listed vertically in the order: T(2,2), T(2,1), T(2,0), T(2,-1), T(2,-2).
 +
 
 +
==Notes==
 +
Reasonable further notes on good and bad practices.
 +
 
 +
==See also==
 +
Links to related functions.
 +
 
 +
 
 +
''Version 2.2, authors: [[Author 1]]''

Revision as of 15:21, 29 August 2018

Wigner D matrices, defined as (Brink & Satchler, Eq 2.13):

      D=expm(-1i*Lz*alp)*expm(-1i*Ly*bet)*expm(-1i*Lz*gam);

where Lx, Ly, Lz are Pauli matrices.

Syntax

    D=wigner(l,alp,bet,gam)

Arguments

      l    - rank of the Wigner matrix, may be half-integer

    alp    - alpha Euler angle, radians

    bet    - beta Euler angle, radians

    gam    - gamma Euler angle, radians

ZYZ convention is used for Euler angles, see Brink and Satchler, Figures 1 and 2.

Outputs

      D    - Wigner D matrix with rows and columns sorted
             by descending ranks, for example (l=2):
    
                     [D( 2,2)  ...  D( 2,-2)
                        ...    ...    ...  
                      D(-2,2)  ...  D(-2,-2)]

The output is to be used as y=D*x, where x is a column vector of irreducible spherical tensor coefficients, listed vertically in the order: T(2,2), T(2,1), T(2,0), T(2,-1), T(2,-2).

Notes

Reasonable further notes on good and bad practices.

See also

Links to related functions.


Version 2.2, authors: Author 1