Quantum Signal Processing Algorithm And Its Applications