Definition (Michael et al.). Let , and be the numbers of photon losses, photon gains and dephasing events to be corrected. Put and . The codewords are
The smallest member, , , is
with mean photon number 2 in both codewords. The code with uses the Fock states : and .
How it works. Codewords occupy Fock states that are multiples of , so the photon number modulo is zero in the code space. Losing photons or gaining changes this generalised parity to a distinct value, which is the syndrome. For the errors to be correctable and not merely detectable, the two codewords must be indistinguishable to the environment: the moments must agree for up to the required order. The binomial coefficients guarantee this, because for all .
What is corrected. Exactly: every error operator that is a polynomial in , of the stated degrees. For the pure-loss channel: to order in the loss probability, see the theorem for the smallest code.
Properties. The codewords have bounded photon number and are exactly orthogonal, in contrast with cat codes. Under the pure-loss channel with optimal recovery, binomial and cat codes perform similarly, binomial codes being better at small loss rates (Albert et al.).
Realisations. Hu et al. implemented repeated error correction and a universal single-qubit gate set on the smallest binomial code in a superconducting cavity, extending the logical lifetime by a factor 2.8 over the uncorrected code. Ni et al. exceeded the break-even point, the lifetime of the best physical qubit of the system, by about 16%.