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:27] – 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 ===== | ===== Input ===== | ||
| Line 19: | Line 18: | ||
| * psi : Wavefunction | * psi : Wavefunction | ||
| - | |||
| ===== Example ===== | ===== Example ===== | ||
| Line 27: | Line 25: | ||
| ### | ### | ||
| + | ==== Input ==== | ||
| + | <code Quanty NewWavefunction.Quanty> | ||
| + | Nf=6 | ||
| + | Nb=0 | ||
| - | ==== Input ==== | + | 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> | ||