Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:language_reference:functions:newwavefunction [2016/10/09 21:50] – created Maurits W. Haverkort | documentation:language_reference:functions:newwavefunction [2022/09/30 16:34] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== NewWavefunction ====== | ||
+ | ### | ||
+ | // | ||
+ | ### | ||
+ | |||
+ | ===== 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> |