Differences
This shows you the differences between two versions of the page.
documentation:language_reference:objects:operator:properties:nb [2016/09/25 13:56] – created Maurits W. Haverkort | documentation:language_reference:objects:operator:properties:nb [2016/10/10 09:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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 // | ||
+ | ### | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | ### | ||
+ | description text | ||
+ | ### | ||
+ | |||
+ | ==== Input ==== | ||
+ | <code Quanty Example.Quanty> | ||
+ | NF=3 | ||
+ | NB=0 | ||
+ | O = NewOperator(NF, | ||
+ | print(O.NB) | ||
+ | O.NB=3 | ||
+ | </ | ||
+ | |||
+ | ==== Result ==== | ||
+ | <file Quanty_Output> | ||
+ | 0 | ||
+ | Error while executing the script: | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Available properties ===== | ||
+ | {{indexmenu> |