Classical And Quantum Algorithms For Uso Recognition