twospinist.m

From Spinach Documentation Wiki
Revision as of 12:31, 25 April 2026 by Kuprov (talk | contribs) (Normalise sequential blank lines)
Jump to: navigation, search

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 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