Difference between revisions of "Twospinist.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     T=twospinist(spin_system,spin_a,spin_b,indices,type)
 
     T=twospinist(spin_system,spin_a,spin_b,indices,type)
  
−
==Arguments==
+
==Parameters==
  
 
     spin_a  - number of the first spin
 
     spin_a  - number of the first spin

Revision as of 17:53, 5 June 2026

Two-spin irreducible spherical tensor operators.

Syntax

    T=twospinist(spin_system,spin_a,spin_b,indices,type)

Parameters

    spin_a   - number of the first spin

    spin_b   - number of the second spin

    indices  - two-element vector [L,M] containing
               rank and projection index; L=1,2 are
               available

In Liouville space, type can be set to:

   'left' - produces left side product superoperator

   'right' - produces right side product superoperator

   'comm' - produces commutation superoperator (default)

   'acomm' - produces anticommutation superoperator

In Hilbert space calculations, the type parameter is ignored, and the operator itself is always returned.

Outputs

    T  - irreducible spherical tensor operator

See also

Rotations

SU(2), SO(3), and other groups

Version 2.8, authors: Ilya Kuprov