weyl.m

From Spinach Documentation Wiki
Revision as of 21:20, 22 February 2026 by Kuprov (talk | contribs) (Outputs)
Jump to: navigation, search

Weyl boson operators (sparse, see below for normalisa- tion convention) for a bosonic mode with a user-specified population number truncation.

Syntax

                         A=weyl(nlevels)

Arguments

        nlevels - an integer specifying the
                  number of population levels

Outputs

        A.u - unit operator
        A.c - creation operator
        A.a - annihilation operator
        A.n - population number operator

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