oper2bm.m

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

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