Second Quantization
Writing the electronic Hamiltonian directly in terms of electron positions forces us to drag the antisymmetry of the wavefunction around by hand: swapping any two electrons must flip the sign of . Second quantization builds that antisymmetry into the operators themselves, giving a notation in which the Hamiltonian becomes a compact sum over orbitals — and, crucially, a form ready to be mapped onto qubits.
Occupation-number states
Fix a finite basis of spin-orbitals (each spatial orbital splits into a spin-up and a spin-down spin-orbital). Instead of tracking which electron sits in which orbital, we track only how many electrons occupy each orbital. Because electrons are fermions, each spin-orbital holds at most one (the Pauli exclusion principle), so an occupation number is either 0 or 1. A many-electron state is a string of occupation numbers:
This is already strikingly qubit-like: spin-orbitals give occupation strings, exactly the dimension of an -qubit register. That correspondence is what we exploit in the next lessons.
Creation and annihilation operators
For each spin-orbital define a creation operator that adds an electron and an annihilation operator that removes one:
and they annihilate the state () if the orbital is already occupied (for ) or already empty (for ). The sign , with counting the electrons in earlier orbitals, is the fermionic phase that enforces antisymmetry.
The anticommutation relations
The defining algebra of fermionic operators is the set of canonical anticommutation relations. Using :
The last two relations encode antisymmetry: setting gives , which is the Pauli exclusion principle (you cannot create two electrons in the same spin-orbital). The operator is the number operator; it returns the occupation of orbital .
The Hamiltonian in second quantization
Projecting the electronic Hamiltonian onto the chosen orbital basis turns the differential operator into a sum of one-body and two-body terms with numerical coefficients:
The coefficients are molecular integrals computed once on a classical computer from the chosen basis set and nuclear geometry:
The one-body integrals capture kinetic energy and electron–nucleus attraction; the two-body integrals capture electron–electron repulsion. Tools such as PySCF or Psi4 produce them; on a quantum computer we treat them as known constants.
Why this is the right starting point
Three features make second quantization the launch pad for quantum simulation:
- Fixed operator count. The Hamiltonian has at most terms regardless of how many electrons are present, because antisymmetry is handled by the operators, not by enumerating configurations.
- Qubit-shaped states. Occupation strings map one-to-one onto computational basis states of an -qubit register.
- Algebraic, not analytic. Everything reduces to the anticommutation relations and a table of integrals — no wavefunction calculus survives into the quantum circuit.
In the next lesson we make the qubit correspondence precise with the Jordan–Wigner transform, which turns and into concrete Pauli operators your simulator can run.
Sign in on the full site to ask questions and join the discussion.