Differences
This shows you the differences between two versions of the page.
documentation:basics:wave_functions [2016/10/06 20:35] – created Maurits W. Haverkort | documentation:basics:wave_functions [2016/10/10 09:40] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | ====== Wave functions ====== | ||
+ | ### | ||
+ | Wave-functions can be created from a string containing 1's (occupied) and 0's (unoccupied). For each Fermionic spin-orbital on has one bit. For Bosonic modes Quanty reserves 8 bit, i.e. Bosons can have an occupation from 0 to 255. A wave-function resembling a single electron in a $p_x$ orbital with spin-up could be created by defining 6 spin-orbitals, | ||
+ | <code Quanty Example.Quanty> | ||
+ | -- a number of Fermionic modes or spin-orbitals | ||
+ | NF=6 | ||
+ | -- a number of Bosonic modes (phonon modes, ...) | ||
+ | NB=0 | ||
+ | |||
+ | -- For a p-shell we would like the have 6 | ||
+ | -- spinorbitals with the quantum numbers | ||
+ | -- spin down ml=-1, | ||
+ | -- spin up with ml=-1, ml=0, ml=1 | ||
+ | -- We can group different spin-orbitals into | ||
+ | -- lists and assign meaning to them | ||
+ | IndexDn={0, | ||
+ | IndexUp={1, | ||
+ | -- the code knows that a 3 fold degenerate shell | ||
+ | -- has l=1 and ml=-1, 0 and 1 are | ||
+ | -- assigned to them automatically | ||
+ | |||
+ | -- the wave-function with one electron in the | ||
+ | -- px orbital with spin down is created as | ||
+ | psipx = NewWavefunction(NF, | ||
+ | </ | ||
+ | ### | ||
+ | |||
+ | |||
+ | ===== Index ===== | ||
+ | - [[documentation: | ||
+ | - [[documentation: | ||
+ | - Wavefunctions | ||
+ | - [[documentation: | ||
+ | - [[documentation: | ||
+ | - [[documentation: | ||
+ | - [[documentation: | ||
+ | - [[documentation: |