= Number operator
{title2=$N=A^\dagger A$}
{wiki}
= Particle number operator
{synonym}
The <number operator> counts oscillator quanta in a <bosonic> mode. For <creation and annihilation operators> with $[A,A^\dagger]=1$, it is $N=A^\dagger A$ and satisfies
$$
[N,A]=-A,\qquad [N,A^\dagger]=A^\dagger.
$$
The <number states> obey $N|n\rangle=n|n\rangle$, $n=0,1,2,\ldots$. For the <quantum harmonic oscillator>, $H=\hbar\omega(N+\tfrac12)$, so counting quanta also determines the <energy>. Positivity follows from $\langle\psi|N|\psi\rangle=\|A|\psi\rangle\|^2\ge0$ on the operator domain. <Quantum Mechanics by David Tong>[Section 2.2.1, harmonic-oscillator ladder construction]{ref}
An <expectation value> need not be a possible sharp count. In $(|0\rangle+|2\rangle)/\sqrt2$, $\langle N\rangle=1$, but a <quantum measurement> of $N$ gives only $0$ or $2$, each with <probability> one half. For a general <quantum field>, a <particle number operator> also depends on the chosen modes and need not commute with an interacting <Hamiltonian>.
Back to article page