Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:language_reference:functions:createresonantspectra [2016/10/10 09:41] – external edit 127.0.0.1 | documentation:language_reference:functions:createresonantspectra [2022/05/18 17:01] (current) – Corrected NTri1/2 standard values. Yi Lu | ||
---|---|---|---|
Line 4: | Line 4: | ||
// | // | ||
\begin{equation} | \begin{equation} | ||
- | \langle \psi | O_3^{\dagger} \frac{1}{(\omega_1 - \mathrm{i} \Gamma_1/2 + E_0 - O_1^{\dagger})} O_4^{\dagger} \frac{1}{(\omega_2 + \mathrm{i} \Gamma_2/2 + E_0 - O_2)} O_4\frac{1}{(\omega_1 + \mathrm{i} \Gamma_1/2 + E_0 - O_1)} O_3 | \psi \rangle, | + | \langle \psi | O_3^{\dagger} \frac{1}{(\omega_1 - \mathrm{i} \Gamma_1/2 + E_0^{(1)} |
\end{equation} | \end{equation} | ||
- | with $E_0 = \langle \psi | O_1 | \psi \rangle$. The spectrum is returned as a spectrum object. | + | with $E_0^{(i)} |
### | ### | ||
Line 17: | Line 17: | ||
* ψ : Wavefunction | * ψ : Wavefunction | ||
* Possible options are: | * Possible options are: | ||
- | * " | + | * " |
- | * " | + | * " |
* " | * " | ||
* " | * " | ||
Line 33: | Line 33: | ||
===== Output ===== | ===== Output ===== | ||
- | * //G// : Spectrum object | + | * //G// : Spectrum object. |
+ | In the case that O3 ({Oa3,Ob3}) , O4 ({Oα4,Oβ4,Oγ4}) and ψ ({ψ1,ψ2,ψ3}) are given as tables the order of spectra returned is: | ||
+ | |||
+ | { | ||
+ | Ia,α1(E0), | ||
+ | Ia,β1(E0), | ||
+ | Ia,γ1(E0), | ||
+ | |||
+ | Ib,α1(E0), | ||
+ | Ib,β1(E0), | ||
+ | Ib,γ1(E0), | ||
+ | |||
+ | |||
+ | Ia,α2(E0), | ||
+ | Ia,β2(E0), | ||
+ | Ia,γ2(E0), | ||
+ | |||
+ | Ib,α2(E0), | ||
+ | Ib,β2(E0), | ||
+ | Ib,γ2(E0), | ||
+ | |||
+ | |||
+ | Ia,α3(E0), | ||
+ | Ia,β3(E0), | ||
+ | Ia,γ3(E0), | ||
+ | |||
+ | Ib,α3(E0), | ||
+ | Ib,β3(E0), | ||
+ | Ib,γ3(E0), | ||
+ | |||
+ | where the alphabetic, greek and numeral indices refer to O3, O4 and ψ. | ||
===== Example ===== | ===== Example ===== | ||
### | ### | ||
- | description text | + | Calculates the resonant spectra for some toy Hamiltonian and transition operators. |
### | ### | ||