Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:language_reference:functions:createspectra [2017/03/01 14:40] Maurits W. Haverkortdocumentation: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 element specifying options.
 ### ###
  
Line 12: Line 12:
  
   * $O_1$ : Operator   * $O_1$ : Operator
-  * $O_2$ : Operator +  * $O_2$ : Operator or a list of operators 
-  * $\psi$ : Wavefunction+  * $\psi$ : Wavefunction or a list of Wavefunctions
   * Possible options are:   * Possible options are:
     * "NTri" Positive integer specifying the number of states in the Krylov basis. (Standard value 200)     * "NTri" Positive integer specifying the number of states in the Krylov basis. (Standard value 200)
Line 26: Line 26:
 ===== Output ===== ===== Output =====
  
-  * //G// : Spectrum object+  * //G// : Spectrum object. In the case that both a list of operators $\{O_2^a,O_2^b\}$ as well as a list of Wavefunctions $\{\psi_1,\psi_2,\psi_3\}$ is given the output order first the Wavefunctions and then the operators, i.e. $\{I_1^a,I_2^a,I_3^a,I_1^b,I_2^b,I_3^b\}$ with $a$ and $b$ referring to the index of the operators and $1,2,3$ to the index of the Wavefunctions.
   * //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
  
Print/export