Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:language_reference:functions:determinantstring [2018/06/21 15:16] – created Simon Heinze | documentation:language_reference:functions:determinantstring [2025/11/20 03:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ### | ### | ||
| - | alligned paragraph text | + | DeterminantString(// |
| ### | ### | ||
| ===== Input ===== | ===== Input ===== | ||
| - | * bla : Integer | + | * // |
| - | * bla2 : Real | + | * // |
| ===== Output ===== | ===== Output ===== | ||
| - | * bla : real | + | * // |
| ===== Example ===== | ===== Example ===== | ||
| ### | ### | ||
| - | description text | + | A small example: |
| ### | ### | ||
| ==== Input ==== | ==== Input ==== | ||
| <code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
| - | -- some example code | + | orbitals = {" |
| + | groupings = { {" | ||
| + | Ind, NF = CreateAtomicIndicesDict(orbitals, | ||
| + | |||
| + | print(" | ||
| + | print(DeterminantString(NF, | ||
| + | print(" | ||
| + | print(DeterminantString(NF, | ||
| + | print(" | ||
| + | print(DeterminantString(NF, | ||
| + | print(" | ||
| + | print(DeterminantString(NF, | ||
| + | --Upcoming Version: | ||
| + | print(" | ||
| + | print(DeterminantString(NF, | ||
| + | |||
| + | psi = NewWavefunction(NF, | ||
| + | print(psi) | ||
| </ | </ | ||
| ==== Result ==== | ==== Result ==== | ||
| <file Quanty_Output> | <file Quanty_Output> | ||
| - | text produced as output | + | DeterminantString({0, |
| + | 1111000000000000000000 | ||
| + | |||
| + | DeterminantString(NF, | ||
| + | 0000111111000000000000 | ||
| + | |||
| + | DeterminantString(NF, | ||
| + | 1100000000000000000000 | ||
| + | |||
| + | DeterminantString(NF, | ||
| + | 0011111111111111111111 | ||
| + | |||
| + | DeterminantString(NF, | ||
| + | 1100111111001111111111 | ||
| + | |||
| + | WaveFunction: | ||
| + | QComplex | ||
| + | N = 1 (Number of basis functions used to discribe psi) | ||
| + | NFermionic modes = 22 (Number of fermions in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | # pre-factor | ||
| + | | ||
| </ | </ | ||