Difference between revisions of "Twospinist.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Update function See also links and function index membership)
 
(3 intermediate revisions by the same user not shown)
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==
+
==Parameters==
−
 
 
−
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 ig-
+
In Hilbert space calculations, the type parameter is ignored, and the operator itself is always returned.
−
nored, and the operator itself is always returned.
 
  
 
==Outputs==
 
==Outputs==
  
−
T  - irreducible spherical tensor operator
+
    T  - irreducible spherical tensor operator
  
 
==See also==
 
==See also==
−
 
+
[[add_spins.m]], [[cg_fast.m]], [[clebsch_gordan.m]], [[comm.m]], [[hilb2liouv.m]], [[irr_sph_ten.m]], [[ist_product_table.m]], [[lorentz.m]], [[mat2sphten.m]], [[multipack.m]], [[pauli.m]], [[perm_group.m]], [[rocomm.m]], [[rwalk.m]], [[sle_operators.m]], [[sorensen.m]], [[spher_harmon.m]], [[sphten2mat.m]], [[stev2sph.m]], [[stevens.m]], [[superop.m]], [[wigner.m]], [[wigner_3j.m]], [[wigner_6j.m]], [[Kernel_utilities]]
−
[[Kernel_utilities#Rotations|Rotations]]
 
−
 
 
−
[[Kernel_utilities#SU.282.29.2C_SO.283.29.2C_and_other_groups|SU(2), SO(3), and other groups]]
 
−
 
 
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Latest revision as of 18:42, 6 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

add_spins.m, cg_fast.m, clebsch_gordan.m, comm.m, hilb2liouv.m, irr_sph_ten.m, ist_product_table.m, lorentz.m, mat2sphten.m, multipack.m, pauli.m, perm_group.m, rocomm.m, rwalk.m, sle_operators.m, sorensen.m, spher_harmon.m, sphten2mat.m, stev2sph.m, stevens.m, superop.m, wigner.m, wigner_3j.m, wigner_6j.m, Kernel_utilities

Version 2.8, authors: Ilya Kuprov