Difference between revisions of "Centrans.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:centrans.m}} __NOTOC__ Central transition operator for half-integer spins expressed in the Pauli basis. ==Syntax== A = centrans(mult,type) ==Arguments==...")
 
(Normalise sequential blank lines)
Line 27: Line 27:
 
==See also==
 
==See also==
 
[[Kernel_functions#Elementary_operators|Elementary operators]]
 
[[Kernel_functions#Elementary_operators|Elementary operators]]
−
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 12:23, 25 April 2026

Central transition operator for half-integer spins expressed in the Pauli basis.

Syntax

    A = centrans(mult,type)

Arguments

    mult     - multiplicity of the spin (even positive integer)

    type     - operator type: 'x' for Sx, 'y' for Sy,
                'z' for Sz, '+' for raising, '-' for lowering

Outputs

    A        - sparse matrix of the central transition operator

Examples

A central transition raising operator for a spin-3/2 system:

    A = centrans(4,'+');

Notes

The operator is returned as a complex sparse matrix.

See also

Elementary operators

Version 2.11, authors: Ilya Kuprov