|q⟩ Bad Qubits

← Question Bank

Multiple choice
For the quantum harmonic oscillator with x=(a+a†)/2x = (a + a^\dagger)/\sqrt{2} in natural units, compute the matrix element ⟨2∣x2∣0⟩\langle 2| x^2 |0\rangle. (Use a∣n⟩=n∣n−1⟩a|n\rangle = \sqrt{n}|n-1\rangle and a†∣n⟩=n+1∣n+1⟩a^\dagger|n\rangle = \sqrt{n+1}|n+1\rangle.)