Jordan-Wigner transformation
A mapping from fermionic ladder operators to qubit operators that preserves fermionic anticommutation through parity strings.
Also called JW transform
On this page
Definition and significance
Fermionic creation and annihilation operators anticommute on different modes. Independent qubit lowering operators commute, so a direct mode-to-qubit substitution would lose essential signs. Jordan-Wigner inserts strings of Z operators to track the parity of earlier occupied modes.
Mechanism and mathematical treatment
For ordered modes beginning at zero, a_j=(product_(k<j) Z_k)(X_j+iY_j)/2 and a_j dagger=(product_(k<j) Z_k)(X_j-iY_j)/2. Occupation n_j=a_j dagger a_j=(I-Z_j)/2 under the convention that |1> means occupied.
Fully worked reference example
For two modes, a0=(X0+iY0)/2 and a1=Z0(X1+iY1)/2. Acting on |11>, a1 produces -|10> because the earlier mode is occupied. Acting a0 first gives |01>, and then a1 gives |00>. Reversing the order gives -|00>. Therefore a0a1=-a1a0 on this example, displaying the needed fermionic sign.
Limitations and common misconceptions
The mapping preserves algebra but can create long Pauli strings for distant modes. Orbital ordering changes circuit locality. Truncating a chemistry basis or selecting an active space is a separate physical approximation, not part of the exact algebraic mapping.
Scientific relationships
Fermionic operators can be mapped into Pauli strings.
A parity-sensitive hopping term across three modes
For three ordered fermionic modes, consider H=t(a0 dagger a2+a2 dagger a0), with real t. Jordan-Wigner gives H=(t/2)(X0Z1X2+Y0Z1Y2). The middle Z is a parity factor arising from modes lying between the two endpoints. It is present even though the physical hopping term has no creation or annihilation operator on mode one.
On |001>, annihilating mode two has positive sign because both earlier modes are empty. Creating mode zero then gives |100>, so H|001>=t|100>. On |011>, annihilating mode two crosses one occupied earlier mode and gives -|010>. Creating mode zero gives -|110>, so H|011>=-t|110>. A qubit hopping operator with the middle Z omitted would assign a positive amplitude to both transitions and therefore represent a different operator.
The reverse transitions carry the same corresponding signs, ensuring Hermiticity. Within the sector where the middle mode is empty, the two endpoint states have the usual positive exchange coupling. Within the sector where that mode is occupied, the coupling changes sign. The full matrix combines both sectors coherently; a correct derivation cannot select one sign without an input-sector promise.
A phase-sensitive evolution that exposes the missing string
Start in (|001>+|011>)/sqrt(2), a superposition with the middle qubit in |+>. Under the stated H for time tau satisfying t tau=pi/4, the evolved state is (|001>+|011>-i|100>+i|110>)/2. The populations of the four basis states are equal. The opposite phases on the hopped terms retain the fermionic parity information.
The middle-qubit X expectation becomes zero. To see this, condition on its occupation: the endpoint state is cos(t tau)|01>-i sin(t tau)|10> for middle occupation zero, but cos(t tau)|01>+i sin(t tau)|10> for occupation one. Their overlap is cos(2t tau), which vanishes at pi/4. The middle qubit has become entangled with the endpoints even though its occupation itself is conserved.
If the Z string were omitted, both endpoint branches would evolve identically and the middle qubit would remain in |+>, giving X expectation one. Computational-basis populations alone would not distinguish the two predictions at the chosen time. This example explains why validating a fermionic mapping requires phase-sensitive operator checks, rather than only checking occupation probabilities for selected basis inputs.
Checking the complete algebra
Constructing the three annihilation matrices provides a direct finite reference calculation: a0=(X+iY)II/2, a1=Z(X+iY)I/2, and a2=ZZ(X+iY)/2, with tensor products understood. For every pair i,j, their anticommutator a_i a_j+a_j a_i is zero, while a_i a_j dagger+a_j dagger a_i equals identity when i=j and zero otherwise. These matrix identities verify the canonical fermionic algebra across all eight basis states.
The occupation n_j remains (I-Z_j)/2, because the parity prefix squares to identity and commutes with the local lowering operator. Density interactions can therefore be short even between distant modes. For example, n0n2=(I-Z0-Z2+Z0Z2)/4 contains no middle parity string. The length of a mapped term depends on its operator structure, not simply on the distance between the named modes.
Orbital reordering changes which parity strings appear. It can improve a circuit's locality, but the occupation basis, Hamiltonian coefficients, and observables must all follow the same ordering. A mode permutation is implemented by fermionic exchange rules when performed coherently. Simply dropping inconvenient Z factors without changing the representation fails to preserve the algebra.
Circuit and simulation costs for this instance
The two Pauli strings XZX and YZY commute because they differ by anticommuting factors at two endpoints. Thus their exponentials factor exactly, with no product-formula approximation for this two-term Hamiltonian. A straightforward parity-gadget implementation of each weight-three exponential uses a compute-and-uncompute parity chain with four CNOTs, plus basis changes and a single rotation. Two such gadgets give eight CNOTs before any cross-gadget optimization or routing.
That count describes one synthesis, not a minimum. A device with an appropriate exchange interaction or a different mapped ordering may implement the evolution differently. On the classical side, this is a number-conserving quadratic fermion Hamiltonian. Its single-particle evolution can be represented by a three-by-three matrix, avoiding an unnecessarily general eight-dimensional many-body simulation when the required state and observables permit that representation.
The mapping is exact for the stated finite set of modes. Basis truncation, neglected interactions, and active-space selection are separate physical approximations. The signed hopping blocks and middle-qubit coherence follow from the stated Pauli strings, so these phase and expectation values are ideal model predictions.
Sources
Verification scope
Recorded source check ·
Official tutorial retrieved, 442 lines; fermionic occupation convention, parity action, and canonical anticommutation equations inspected. No notebook or SDK was executed.
Formal scientific or official reference-semantics anchor. No SDK execution, hardware run, universal performance claim, or independent external peer review asserted. Original finite examples and definitions are independent explanations.
Verification scope
Recorded source check ·
Noninteracting fermionic representation and stated simulation restrictions inspected.
Formal scientific or official reference-semantics anchor. No SDK execution, hardware run, universal performance claim, or independent external peer review asserted. Original finite examples and definitions are independent explanations.