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/06/21 16:22] – Filled with content 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(// |
### | ### | ||
===== Input ===== | ===== Input ===== | ||
- | * //Inds// : A list of indices. | ||
* //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). | ||
+ | * // | ||
===== Output ===== | ===== Output ===== | ||
Line 27: | Line 27: | ||
print(" | print(" | ||
- | print(DeterminantString({0, | + | print(DeterminantString(NF, {0,1,2,3}) ) |
- | print(" | + | print(" |
- | print(DeterminantString(Ind[" | + | print(DeterminantString(NF, Ind[" |
- | print(" | + | print(" |
- | print(DeterminantString(Ind[" | + | print(DeterminantString(NF, Ind[" |
- | print(" | + | print(" |
- | print(DeterminantString(Ind[" | + | print(DeterminantString(NF, Ind[" |
+ | --Upcoming Version: | ||
+ | print(" | ||
+ | print(DeterminantString(NF, Ind[" | ||
- | 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: |