Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:language_reference:functions:determinantstring [2018/09/12 14:37] – Changed order of input Simon Heinze | documentation:language_reference:functions:determinantstring [2018/11/05 13:33] (current) – remark about upcoming verisons Simon Heinze | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | DeterminantString(// | + | DeterminantString(// |
### | ### | ||
Line 8: | Line 8: | ||
* //NF// : The number of fermionic states (and hence the length of the resulting string). | * //NF// : The number of fermionic states (and hence the length of the resulting string). | ||
- | * //Inds// : A list of indices. | + | * //Inds1//,... : One (release version) or several (upcoming versions) lists of indices. |
===== Output ===== | ===== Output ===== | ||
Line 26: | Line 26: | ||
Ind, NF = CreateAtomicIndicesDict(orbitals, | Ind, NF = CreateAtomicIndicesDict(orbitals, | ||
- | print(" | + | print(" |
- | print(DeterminantString(NF, | + | print(DeterminantString(NF, |
- | print(" | + | print(" |
- | print(DeterminantString(NF, | + | print(DeterminantString(NF, |
- | print(" | + | print(" |
- | print(DeterminantString(NF, | + | print(DeterminantString(NF, |
- | print(" | + | print(" |
- | print(DeterminantString(NF, | + | print(DeterminantString(NF, |
+ | --Upcoming Version: | ||
+ | print(" | ||
+ | print(DeterminantString(NF, | ||
- | psi = NewWavefunction(NF, | + | psi = NewWavefunction(NF, |
print(psi) | print(psi) | ||
</ | </ | ||
Line 44: | Line 47: | ||
1111000000000000000000 | 1111000000000000000000 | ||
- | DeterminantString(Ind[" | + | DeterminantString(NF, Ind[" |
0000111111000000000000 | 0000111111000000000000 | ||
- | DeterminantString(Ind[" | + | DeterminantString(NF, Ind[" |
1100000000000000000000 | 1100000000000000000000 | ||
- | DeterminantString(Ind[" | + | DeterminantString(NF, Ind[" |
0011111111111111111111 | 0011111111111111111111 | ||
+ | |||
+ | DeterminantString(NF, | ||
+ | 1100111111001111111111 | ||
WaveFunction: | WaveFunction: |