Abstract:We proposed a scheme of error prevention and error correction using quantum byte controlling quantum byte in quantum logic operation.It is useful for quantum logic gate and quantum computer memory.The dual rail representation of a logical state provides experimental possibilities,so the scheme is easy to construct and to implement.