Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:language_reference:objects:responsefunction:functions:tooperator [2024/12/22 20:19] – Maurits W. Haverkort | documentation:language_reference:objects:responsefunction:functions:tooperator [2024/12/31 13:36] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 3: | Line 3: | ||
### | ### | ||
- | alligned paragraph text | + | //H, BitMasks = ResponseFunction.ToOperator(G)// |
### | ### | ||
- | ===== Example ===== | + | ### |
+ | Possible options are | ||
+ | * AddSpin: Boolean, if true the Hilbert space is doubled with the even indices (starting at 0) related to spin down and the odd (starting at 1) to spin up. | ||
+ | * Fermion shift: Integer defining a shift added to all indices used in the operator. | ||
### | ### | ||
- | description text | ||
- | ### | ||
- | |||
- | ==== Input ==== | ||
- | <code Quanty Example.Quanty> | ||
- | -- some example code | ||
- | </ | ||
- | |||
- | ==== Result ==== | ||
- | <file Quanty_Output> | ||
- | text produced as output | ||
- | </ | ||
===== Table of contents ===== | ===== Table of contents ===== | ||
{{indexmenu> | {{indexmenu> | ||