 There is an exact quantum binary search procedure that runs in formula_178 queries in the worst case.In comparison, Grover's algorithm is the optimal quantum algorithm for searching an unordered list of elements, and it requires formula_179 queries.The idea of sorting a list of items to allow for faster searching dates back to antiquity.