Quantum Computing Algorithm Example