Tag Quantum algorithms