Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:language_reference:functions:createspectra [2017/03/01 14:40] – Maurits W. Haverkort | documentation:language_reference:functions:createspectra [2018/07/25 16:14] – minor typo Simon Heinze | ||
---|---|---|---|
Line 6: | Line 6: | ||
\langle \psi | O_2^{\dagger} \frac{1}{(\omega + \mathrm{i} \Gamma/2 + E_0 - O_1)} O_2 | \psi \rangle, | \langle \psi | O_2^{\dagger} \frac{1}{(\omega + \mathrm{i} \Gamma/2 + E_0 - O_1)} O_2 | \psi \rangle, | ||
\end{equation} | \end{equation} | ||
- | with $E_0 = \langle \psi | O_1 | \psi \rangle$ and returns the result as a spectrum object and as a tri-diagonal matrix. $O_1$ and $O_2$ are allowed to be tables of operators or tables of wavefunctions. CreateSpectra can take a forth element specifying options. | + | with $E_0 = \langle \psi | O_1 | \psi \rangle$ and returns the result as a spectrum object and as a tri-diagonal matrix. $O_1$ and $O_2$ are allowed to be tables of operators or tables of wavefunctions. CreateSpectra can take a fourth |
### | ### | ||
Line 12: | Line 12: | ||
* $O_1$ : Operator | * $O_1$ : Operator | ||
- | * $O_2$ : Operator | + | * $O_2$ : Operator |
- | * $\psi$ : Wavefunction | + | * $\psi$ : Wavefunction |
* Possible options are: | * Possible options are: | ||
* " | * " | ||
Line 26: | Line 26: | ||
===== Output ===== | ===== Output ===== | ||
- | * //G// : Spectrum object | + | * //G// : Spectrum object. In the case that both a list of operators $\{O_2^a, |
* //T// : List representing a tri-diagonal matrix, whose resolvent is the spectral function | * //T// : List representing a tri-diagonal matrix, whose resolvent is the spectral function | ||