Difference between revisions of "Enlev2bm.m"
(Normalise sequential blank lines) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
[states,coeffs]=enlev2bm(nlevels,lvl_num) | [states,coeffs]=enlev2bm(nlevels,lvl_num) | ||
| − | == | + | ==Parameters== |
nlevels - number of energy levels in the mode, | nlevels - number of energy levels in the mode, | ||
Revision as of 18:48, 5 June 2026
Bosonic monomial expansion of specific bosonic energy level projectors.
Syntax
[states,coeffs]=enlev2bm(nlevels,lvl_num)
Parameters
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