Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:language_reference:functions:newwavefunction [2022/09/30 06:27] – Maurits W. Haverkort | documentation:language_reference:functions:newwavefunction [2022/09/30 10:30] – Elmar Bittner | ||
---|---|---|---|
Line 4: | Line 4: | ||
// | // | ||
### | ### | ||
- | |||
===== Input ===== | ===== Input ===== | ||
Line 19: | Line 18: | ||
* psi : Wavefunction | * psi : Wavefunction | ||
- | |||
===== Example ===== | ===== Example ===== | ||
Line 26: | Line 24: | ||
description text | description text | ||
### | ### | ||
- | |||
==== Input ==== | ==== 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 ===== | ||