Quantum Computing Algorithm