|q⟩ Bad Qubits

intermediate · Physics · Identical Particles & Exchange Symmetry

Identical Particles in Computing

One of the most promising uses of quantum computers is simulating other quantum systems — molecules, materials, and field theories. Most of these are systems of identical fermions (electrons), so a quantum programmer must encode fermionic antisymmetry onto qubits, which obey their own algebra. This lesson connects the physics of identical particles to the machinery of quantum simulation.

Occupation-number (second quantization) picture

Instead of writing NN-particle wavefunctions and antisymmetrizing by hand with Slater determinants, many-body physics uses occupation numbers: list how many particles sit in each single-particle mode (orbital). For fermions each mode holds 00 or 11 particle, so a state of MM modes is a bitstring like 1011|1011\rangle — mode 0 occupied, mode 1 empty, modes 2 and 3 occupied. This maps naturally onto MM qubits, one per mode.

Creation and annihilation operators aj,aja_j^\dagger, a_j add or remove a fermion in mode jj. Antisymmetry is enforced by their anticommutation relations:

{ai,aj}=δij,{ai,aj}=0,{ai,aj}=0.\{a_i, a_j^\dagger\} = \delta_{ij}, \qquad \{a_i, a_j\} = 0, \qquad \{a_i^\dagger, a_j^\dagger\} = 0.

The relation {aj,aj}=0\{a_j^\dagger, a_j^\dagger\} = 0 implies (aj)2=0(a_j^\dagger)^2 = 0: you cannot create two fermions in the same mode. Pauli exclusion is now an operator identity.

The sign problem on qubits

Qubits are not fermions. Two different qubits commute, but two fermionic modes anticommute — there is a minus sign whenever you act on one mode "past" another occupied mode. A faithful encoding must reproduce those signs, or the simulated antisymmetry is wrong.

The Jordan–Wigner transformation is the standard fix. It maps each fermionic operator to a qubit operator with a string of ZZ gates trailing behind it:

aj    (k<jZk)σj,aj    (k<jZk)σj+,a_j^\dagger \;\longmapsto\; \Big(\prod_{k<j} Z_k\Big)\,\sigma^-_j, \qquad a_j \;\longmapsto\; \Big(\prod_{k<j} Z_k\Big)\,\sigma^+_j,

where σ±=(X±iY)/2\sigma^\pm = (X \pm iY)/2 flip a single qubit and the ZZ string supplies the exchange sign. With the convention that 1|1\rangle marks an occupied mode, the lowering operator σ=(XiY)/2\sigma^- = (X-iY)/2 takes 01|0\rangle \to |1\rangle and so creates a fermion, which is why aja_j^\dagger maps to σj\sigma^-_j. The string counts the parity of occupied modes to the left, so acting on mode jj picks up 1-1 for each occupied mode it must "pass" — exactly the antisymmetry bookkeeping a Slater determinant would do.

Why this matters in practice

To find a molecule's ground-state energy on a quantum computer you:

  1. Choose single-particle orbitals and write the electronic Hamiltonian in terms of aiaja_i^\dagger a_j and aiajakala_i^\dagger a_j^\dagger a_k a_l.
  2. Apply the Jordan–Wigner (or Bravyi–Kitaev) transformation to turn it into a sum of Pauli strings on qubits.
  3. Run a variational algorithm (VQE) or phase estimation to extract the energy.

Each occupied orbital becomes a qubit in 1|1\rangle; antisymmetry is carried by the ZZ strings. The exclusion principle you derived earlier is what keeps the qubit register a valid fermionic state.

Bosons and indistinguishability as a resource

Identical-particle physics also appears on the hardware side. Boson sampling exploits the way indistinguishable photons interfere in a linear-optical network: the output probabilities involve permanents of the network matrix, which are classically hard to compute. Here bosonic exchange symmetry — the bunching tendency — is not an obstacle but the very source of computational hardness that a photonic device exploits.

The takeaway

Simulating electrons on a quantum computer means encoding fermionic antisymmetry onto commuting qubits. The occupation-number picture turns Slater determinants into bitstrings, anticommutation relations turn exclusion into an operator identity, and the Jordan–Wigner transformation supplies the exchange signs via ZZ strings. The same identical-particle principles you studied as foundational physics are now everyday engineering in quantum chemistry and photonic computing.

Sign in on the full site to ask questions and join the discussion.