Ancilla Qubit
Quantum Computingancillary qubitAn ancilla qubit is an extra qubit used as scratch space — for syndrome measurement, gate construction, or reversible computation — rather than holding the primary data.
Ancilla qubits are auxiliary qubits introduced in a known state (often |0⟩) to assist a computation and ideally returned or discarded afterward. In quantum error correction they are entangled with data qubits and then measured to read out an error syndrome without disturbing the encoded logical state. They are also essential for implementing certain multi-qubit gates, for making irreversible classical functions reversible, and for measurement-based protocols. Leftover entanglement between an ancilla and the data must be uncomputed, or it acts as unwanted decoherence.