Ancillas in Quantum Computation: Beyond Two-Level Systems