Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
documentation:language_reference:functions:determinantstring [2018/06/21 16:22] – Filled with content Simon Heinze | documentation:language_reference:functions:determinantstring [2018/09/12 14:37] – Changed order of input 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). | ||
+ | * //Inds// : A list of indices. | ||
===== Output ===== | ===== Output ===== | ||
Line 26: | Line 26: | ||
Ind, NF = CreateAtomicIndicesDict(orbitals, | Ind, NF = CreateAtomicIndicesDict(orbitals, | ||
- | 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[" |
- | psi = NewWavefunction(NF, | + | psi = NewWavefunction(NF, |
print(psi) | print(psi) | ||
</ | </ |