The concept of ancilla bit can be extended for quantum computing in terms of ancilla qubits, that can be used for example in quantum error correction. One notable example for the use of ancilla qubits in quantum computing is the Deutsch–Jozsa algorithm.