# Difference between revisions of "Appendix B: spin state indexing"

The Liouville space spherical tensor basis descriptor array contained in spin_system.bas.basis uses the following notation: for each spin, identity state (or equivalently $\hat T_{0,0}$ spherical tensor operator) is denoted 0, $\hat T_{1,1}$ is denoted 1, $\hat T_{1,0}$ is denoted 2, $\hat T_{1, - 1}$ is denoted 3, and so on (Spinach supports all spin quantum numbers) – that is to say, irreducible spherical tensors are numbered by ascending ranks and within ranks by descending projection. The resulting sequence of integers is mapped by the kernel into the sequence of operators in the direct product, for example:

    [0 2 0 3 1 0 2 1 0 0]


is equivalent to

$\hat E \otimes {\hat L_{\rm{Z}}} \otimes \hat E \otimes {\hat L_ - } \otimes {\hat L_ + } \otimes \hat E \otimes {\hat L_{\rm{Z}}} \otimes {\hat L_ + } \otimes \hat E \otimes \hat E$

Many Spinach functions operate semi-analytically by taking advantage of the irreducible spherical tensor rank information contained in the basis descriptor array. Understanding how basis set information is stored is critical to understanding much of Spinach kernel – see the Spinach JMR paper for further info.

Version 2.1, authors: Ilya Kuprov