Difference between revisions of "Twospinist.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:twospinist.m}} __NOTOC__
 
{{DISPLAYTITLE:twospinist.m}} __NOTOC__
 +
 
Two-spin irreducible spherical tensor operators.
 
Two-spin irreducible spherical tensor operators.
  
 
==Syntax==
 
==Syntax==
  
−
    T=twospinist(spin_system,spin_a,spin_b,indices,type)
+
T=twospinist(spin_system,spin_a,spin_b,indices,type)
  
 
==Arguments==
 
==Arguments==
  
−
    spin_a  - number of the first spin
+
spin_a  - number of the first spin
−
+
 
 
     spin_b  - number of the second spin
 
     spin_b  - number of the second spin
−
+
 
 
     indices  - two-element vector [L,M] containing
 
     indices  - two-element vector [L,M] containing
 
                 rank and projection index; L=1,2 are
 
                 rank and projection index; L=1,2 are
 
                 available
 
                 available
  
−
In Liouville space, type can be set to:
+
In Liouville space, type can be set to:
  
 
     'left' - produces left side product superoperator
 
     'left' - produces left side product superoperator
−
+
 
 
     'right' - produces right side product superoperator
 
     'right' - produces right side product superoperator
−
+
 
 
     'comm' - produces commutation superoperator (default)
 
     'comm' - produces commutation superoperator (default)
−
+
 
 
     'acomm' - produces anticommutation superoperator
 
     'acomm' - produces anticommutation superoperator
  
−
In Hilbert space calculations, the type parameter is ignored, and the operator itself is always returned.
+
In Hilbert space calculations, the type parameter is ig-
 +
nored, and the operator itself is always returned.
  
 
==Outputs==
 
==Outputs==
  
−
    T  - irreducible spherical tensor operator
+
T  - irreducible spherical tensor operator
  
 
==See also==
 
==See also==
 +
 
[[Kernel_utilities#Rotations|Rotations]]
 
[[Kernel_utilities#Rotations|Rotations]]
  

Revision as of 14:06, 5 April 2026


Two-spin irreducible spherical tensor operators.

Syntax

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

Arguments

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 ig-
nored, 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