Text this: Quantum search algorithm on weighted databases