We propose an error correction coding algorithm for continuous quantum
variables. We use this algorithm to construct a highly efficient 5-wa
ve-packet code which can correct arbitrary single wave-packet errors.
We show that this class of continuous variable codes is robust against
imprecision in the error syndromes. A potential implementation of the
scheme is presented.