  We construct a new class of quantum error-correcting codes for a bosonic mode
which are advantageous for applications in quantum memories, communication, and
scalable computation. These 'binomial quantum codes' are formed from a finite
superposition of Fock states weighted with binomial coefficients. The binomial
codes can exactly correct errors that are polynomial up to a specific degree in
bosonic creation and annihilation operators, including amplitude damping and
displacement noise as well as boson addition and dephasing errors. For
realistic continuous-time dissipative evolution, the codes can perform
approximate quantum error correction to any given order in the timestep between
error detection measurements. We present an explicit approximate quantum error
recovery operation based on projective measurements and unitary operations. The
binomial codes are tailored for detecting boson loss and gain errors by means
of measurements of the generalized number parity. We discuss optimization of
the binomial codes and demonstrate that by relaxing the parity structure, codes
with even lower unrecoverable error rates can be achieved. The binomial codes
are related to existing two-mode bosonic codes but offer the advantage of
requiring only a single bosonic mode to correct amplitude damping as well as
the ability to correct other errors. Our codes are similar in spirit to 'cat
codes' based on superpositions of the coherent states, but offer several
advantages such as smaller mean number, exact rather than approximate
orthonormality of the code words, and an explicit unitary operation for
repumping energy into the bosonic mode. The binomial quantum codes are
realizable with current superconducting circuit technology and they should
prove useful in other quantum technologies, including bosonic quantum memories,
photonic quantum communication, and optical-to-microwave up- and
down-conversion.
