← Atlas

Operators · Fermionic Hamiltonians

Fermionic number operator

The Jordan-Wigner-encoded fermionic number operator n = c†c = (I-Z)/2, whose eigenvalues count mode occupation exactly.

Exact & formalUpdated

View frozen graph

mode 0mode 1mode 2mode 3Step 1 of 4 · n₀=(I-Z)/2 · on mode 0n₀=(I-Z)/2Step 2 of 4 · n₁=(I-Z)/2 · on mode 1n₁=(I-Z)/2Step 3 of 4 · n₂=(I-Z)/2 · on mode 2n₂=(I-Z)/2Step 4 of 4 · n₃=(I-Z)/2 · on mode 3n₃=(I-Z)/2

4 steps across 4 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • N=2 sector (e.g. half-filling)38%
  • Steps4
  • Wires4
  • Qubits1 per mode
  • DepthDiagonal (no gates needed to define)
  • Eigenvalues0 (empty) / 1 (occupied)
  • Papers1

Under the Jordan-Wigner transform, the fermionic creation/annihilation operators for mode ii are

ci†=(∏k<iZk)σi−,ci=(∏k<iZk)σi+,σi±=12(Xi∓iYi),c^\dagger_i = \Big(\prod_{k<i} Z_k\Big)\sigma^-_i, \qquad c_i = \Big(\prod_{k<i} Z_k\Big)\sigma^+_i, \qquad \sigma^{\pm}_i = \tfrac12(X_i \mp iY_i),

and the number operator ni=ci†cin_i = c^\dagger_i c_i is

ni=(∏k<iZk)σi−(∏k<iZk)σi+=σi−σi+=I−Zi2,n_i = \Big(\prod_{k<i} Z_k\Big)\sigma^-_i \Big(\prod_{k<i} Z_k\Big)\sigma^+_i = \sigma^-_i\sigma^+_i = \frac{I - Z_i}{2},

since the two ZZ-strings square to identity and cancel — the number operator, unlike creation or annihilation individually, never needs the nonlocal Jordan-Wigner string. This is why nin_i is diagonal and single-qubit local even though cic_i and ci†c^\dagger_i individually act nonlocally in the qubit register.

Spectrum. (I−Zi)/2(I-Z_i)/2 has eigenvalue 00 on ∣0⟩|0\rangle and 11 on ∣1⟩|1\rangle exactly, matching Fock-space occupation number one-to-one. The total number operator N=∑iniN = \sum_i n_i has eigenvalue on any basis string equal to that string's Hamming weight, and commutes with any Hamiltonian built only from hopping and density-density terms (both are number-conserving), which is exactly the symmetry exploited to block-diagonalize the Fermi-Hubbard operator elsewhere in this catalog.

Role as a building block. Every density-density interaction (Hubbard's Uni↑ni↓U n_{i\uparrow}n_{i\downarrow}), every chemical-potential term (−μ∑ini-\mu\sum_i n_i), and every measurement of "how many particles are in this orbital" in quantum chemistry / condensed-matter simulations is expressed directly in terms of this operator. Because it is diagonal, expectation values ⟨ni⟩\langle n_i \rangle can be read out with a single computational-basis measurement per mode — no ancilla or phase-estimation circuit is required, unlike for off-diagonal observables.

References

Exact & formal
  • Direct mathematics
  • Verified by construction
  • Textbook / standard citation
Method
The Jordan-Wigner-encoded operator n = (I - Z)/2 was compared against its matrix form [[0,0],[0,1]], confirming eigenvalue 0 on |0⟩ (unoccupied) and 1 on |1⟩ (occupied), and the multi-mode total-number operator's eigenvalues were checked against Hamming weight for all 16 basis strings of a 4-qubit register.
Result
Pass · single-mode n has eigenvalues {0,1} matching occupation exactly; total N's eigenvalue on each basis string equals that string's Hamming weight for all 16 checked strings.
Über das Paulische Äquivalenzverbot ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
number operatorjordan-wignerfermionic simulationoccupation

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.