scqubits.core.oscillator¶
Functions
|
Returns the oscillator energy given a harmonic Hamiltonian of the form \(H=\frac{1}{2}E_{\rm kin}p^2 + \frac{1}{2}E_{\rm pot}x^2\) |
|
Returns the oscillator length given a harmonic Hamiltonian of the form \(H=\frac{1}{2}E_{\rm kin}p^2 + \frac{1}{2}E_{\rm pot}x^2\) |
|
For given quantum number \(n=0,1,2,\ldots\) return the value of the harmonic oscillator wave function \(\psi_n(x) = N H_n(x/l_{\rm osc}) \exp(-x^2/2 l_{\rm osc})\), N being the proper normalization factor. |
Classes
|
Class representing a nonlinear Kerr oscillator/resonator governed by a Hamiltonian \(H_{\rm Kerr}=E_{\rm osc} a^\dagger a - K a^\dagger a^\dagger a a\), with \(a\) being the annihilation operator. |
|
Class representing a harmonic oscillator/resonator governed by a Hamiltonian \(H=E_{\rm osc} a^\dagger a\), with \(a\) being the annihilation operator. |