superop.m

From Spinach Documentation Wiki
Revision as of 21:26, 22 February 2026 by Kuprov (talk | contribs) (Outputs)
Jump to: navigation, search

Sided product superoperator in the spherical tensor basis set. Returns superoperators corresponding to right or left multiplication of a den-

Syntax

                     A=superop(spin_system,opspec,side)

Arguments

        opspec - Spinach operator specification described in Sections 2.1
                 and 3.3 of the following paper:
                        http://dx.doi.org/10.1016/j.jmr.2010.11.008
        side   - 'left' or 'right' causes the function to return a product
                 superoperator corresponding to a product from that side;
                 'comm' or 'acomm' results in commutation and anticommuta-
                 tion superoperator respectively.

Outputs

             A - a three-column array of row indices (first column),
                 column indices (second column) and values (third column).

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also


Version 2.11, authors: Ilya Kuprov, Hannah Hogben