Difference between revisions of "Pauli.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Notes)
(Notes)
Line 37: Line 37:
 
           sigma.m=sigma.x-1i*sigma.y
 
           sigma.m=sigma.x-1i*sigma.y
  
3. It is never a good idea to normalise spin operators because commutation relations would break.
+
3. It is never a good idea to normalise spin operators using matrix norms because commutation relations would break.
  
 
==See also==
 
==See also==

Revision as of 09:02, 20 August 2021

Pauli matrices (sparse) for a spin of a user-specified multiplicity.

Syntax

    sigma=pauli(mult)

Arguments

    mult - an integer specifying the 
           multiplicity of the spin

Outputs

    sigma.u - unit operator

    sigma.p - raising operator

    sigma.m - lowering operator

    sigma.x - Pauli sigma_x matrix

    sigma.y - Pauli sigma_y matrix

    sigma.z - Pauli sigma_z matrix

Notes

1. The matrices are normalized so as to obey the following commutation relations:

         [sigma.x,sigma.y]=1i*sigma.z
         [sigma.y,sigma.z]=1i*sigma.x
         [sigma.z,sigma.x]=1i*sigma.y

2. Raising and lowering operators are defined as:

          sigma.p=sigma.x+1i*sigma.y
          sigma.m=sigma.x-1i*sigma.y

3. It is never a good idea to normalise spin operators using matrix norms because commutation relations would break.

See also

stevens.m, irr_sph_ten.m, wigner.m, operator.m, state.m, hamiltonian.m


Version 2.3, authors: Ilya Kuprov