Table of Contents
NB
unsigned integer, read and write
Current version does not suport bosons, i.e. NB must always be 0.
An integer representing the number of Bosons in the basis. For Operator O, index 0 to O.NF-1 refers to Fermions, index O.NF to O.NF+O.NB-1 refers to Bosons. Changing this number changes the operator. If the new number of Bosons is smaller than the old number all operators referring to Bosons larger than NB-1 will be removed from the operator.
Example
description text
Input
- Example.Quanty
NF=3 NB=0 O = NewOperator(NF,NB,{{3.4},{0,-0,1.2},{1,-2,2.5+I}}) print(O.NB) O.NB=3
Result
0 Error while executing the script: /Example.Quanty:8: Current version does not suport Bosons