In [[quantum mechanics]], forsystemswherethetotal[[Particlenumber|number of particles]]<math>|\Psi\rangle_\nu</math>composedofsingle-particle[[Basis(linear algebra)|basis state]]s <math>|\phi_i\rangle</math>:
In [[quantum mechanics]], the '''particle number operator''' is an operator whose eigenvalues can be interpreted as the number of particles that are in a given state.
Assume the total [[Particle number|number of particles]] <math>|\Psi\rangle_\nu</math> is composed of single-particle [[basis]] states <math>|\phi_i\rangle</math>:
with [[creation and annihilation operators]] <math>a^{\dagger}(\phi_i)</math> and <math>a(\phi_i)\,</math> we define the number operator <math>\hat{N_i} \ \stackrel{\mathrm{def}}{=}\ a^{\dagger}(\phi_i)a(\phi_i)</math> and we have:
Given [[creation and annihilation operators]] <math>a^{\dagger}(\phi_i)</math> and <math>a(\phi_i)\,</math> we define the number operator <math>\hat{N_i} \ \stackrel{\mathrm{def}}{=}\ a^{\dagger}(\phi_i)a(\phi_i)</math> and we have:
In quantum mechanics, the particle number operator is an operator whose eigenvalues can be interpreted as the number of particles that are in a given state.