A scheme of error prevention and error correction using quantum-byte controlling quantum-byte in quantum logic operation was proposed. It is suitable for quantum logic gate and quantum computer memory. The qubits service efficiency of this encoding method is 50%, and the process of error prevention and error correction is simple and clear. The dual-rail representation of single logical state provides a foundation for the...