Linear encodings. Let be an invertible matrix over . The encoding represents the Fock state with occupation vector by the computational basis state with . The Jordan–Wigner encoding is (qubit stores ); the parity encoding has (qubit stores a prefix parity). Applying requires two pieces of information, the occupation and the parity that sets the sign, and it changes every that depends on . Each of these involves the qubits in a set determined by , and the Pauli weight of the encoded is the size of their union.
The Bravyi–Kitaev encoding. For let be the largest power of 2 dividing . Qubit stores
the parity of a block of consecutive occupations ending at . For this gives , , , . The blocks form a binary tree, so the occupation , the prefix parity , and the set of qubits whose stored parity contains each involve qubits. Consequently every and is a sum of two Pauli strings of weight .
The construction is due to Bravyi and Kitaev, who show that one fermionic gate costs qubit gates in this encoding, against for Jordan–Wigner; Seeley, Richard and Love work it out explicitly for molecular Hamiltonians. Encodings based on ternary trees give every Majorana operator Pauli weight , and no encoding can have average Majorana weight below (Jiang et al.).