Difference between revisions of "Oper2bm.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Fix lead description from MATLAB header (folding/hyphenation pass))
(Normalise sequential blank lines)
Line 33: Line 33:
 
* [[kq2lin.m]]
 
* [[kq2lin.m]]
 
* [[lin2kq.m]]
 
* [[lin2kq.m]]
−
 
−
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 11:28, 25 April 2026

Bosonic monomial operator expansion of a user-specified square matrix.

Syntax

                   [states,coeffs]=oper2bm(A)

Arguments

        A      - a square matrix

Outputs

        states - states, in the Spinach BM basis index-
                 ing convention, that contribute to the
                 operator in question; use lin2kq() fun-
                 ction to convert to K,Q bosonic monomi-
                 al indices
        coeffs - coefficients with which the BMs enter
                 the linear combination

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