Difference between revisions of "Oper2bm.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Expand See also links to related Spinach functions and docs)
(Fix lead description from MATLAB header (folding/hyphenation pass))
Line 1: Line 1:
 
{{DISPLAYTITLE:oper2bm.m}} __NOTOC__
 
{{DISPLAYTITLE:oper2bm.m}} __NOTOC__
−
Bosonic monomial operator expansion of a user-specified
+
Bosonic monomial operator expansion of a user-specified square matrix.
  
 
==Syntax==
 
==Syntax==

Revision as of 21:49, 22 February 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