Difference between revisions of "Enlev2bm.m"
(Fix lead description from MATLAB header (folding/hyphenation pass)) |
(Normalise sequential blank lines) |
||
| Line 35: | Line 35: | ||
* [[kq2lin.m]] | * [[kq2lin.m]] | ||
* [[lin2kq.m]] | * [[lin2kq.m]] | ||
| − | |||
| − | |||
''Version 2.11, authors: [[Ilya Kuprov]]'' | ''Version 2.11, authors: [[Ilya Kuprov]]'' | ||
Revision as of 12:25, 25 April 2026
Bosonic monomial expansion of specific bosonic energy level projectors.
Syntax
[states,coeffs]=enlev2bm(nlevels,lvl_num)
Arguments
nlevels - number of energy levels in the mode,
a positive integer
lvl_num - energy level number, counting from the
empty mode state upwards
Outputs
states - states, in the Spinach BM basis index-
ing, that contribute to the operator in
question; use lin2kq to convert to K,Q
bosonic monomial 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