oper2bm.m

From Spinach Documentation Wiki
Revision as of 21:05, 22 February 2026 by Kuprov (talk | contribs) (Create documentation page from Spinach function header)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Bosonic monomial operator expansion of a user-specified

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

Main_Page

Version 2.11, authors: Ilya Kuprov