Quantum Algorithmic Gates