Text this: Exact Quantum Algorithms for Quantum Phase Recognition: Renormalization Group and Error Correction