Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:language_reference:functions:newwavefunction [2022/09/30 06:23] – Maurits W. Haverkort | documentation:language_reference:functions:newwavefunction [2025/11/20 03:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ### | ### | ||
| - | // | + | // |
| ### | ### | ||
| + | |||
| + | ===== Input ===== | ||
| + | |||
| + | * Nf : Integer | ||
| + | * Nb : Integer | ||
| + | * Determinant Table : Table of tables containing the determinant in terms of 1's and 0's specifying occupied and unoccupied Fermions followed by a real or complex prefactor. | ||
| + | * Possible options are | ||
| + | * " | ||
| + | * " | ||
| + | |||
| + | |||
| + | ===== Output ===== | ||
| + | |||
| + | * psi : Wavefunction | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | ### | ||
| + | description text | ||
| + | ### | ||
| + | |||
| + | ==== Input ==== | ||
| + | <code Quanty NewWavefunction.Quanty> | ||
| + | Nf=6 | ||
| + | Nb=0 | ||
| + | |||
| + | psi0=NewWavefunction(Nf, | ||
| + | |||
| + | print(psi0) | ||
| + | </ | ||
| + | |||
| + | ==== Result ==== | ||
| + | <file Quanty_Output NewWavefunction.out> | ||
| + | WaveFunction: | ||
| + | QComplex | ||
| + | N = 2 (Number of basis functions used to discribe psi) | ||
| + | NFermionic modes = 6 (Number of fermions in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | # pre-factor | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ===== Table of contents ===== | ||
| + | |||
| + | {{indexmenu> | ||