AND is the
-bit Boolean function that evaluates to 1 if and only if
its input is
, and OR is the
-bit Boolean function that
evaluates to 0 if and only if its input is
.
Beals et al. proved that these lower bounds are asymptotically tight
in the bounded error setting [2]. Observe that we
could have just as easily used Theorem
to attain the
same lower bounds, as AND and OR are singleton functions. In the
classical case exactly
oracle queries are required to compute AND
or OR. Thus, quadratic improvement is possible in the quantum bounded
error setting.