Tribes and the AND of ORs by the adversary method #
Split s w bits into s blocks of w bits, bit i of block j being bit
finProdFinEquiv (j, i). The AND of ORs is true when every block contains a true bit, and
Tribes (Cslib.BitString.tribes, an OR of ANDs) is true when some block is all true. The
two functions are De Morgan duals.
[Amb02], Theorem 4, shows that the AND of √N ORs of √N bits takes Ω(√N) quantum
queries, whereas the √bs(f) lower bounds of the hybrid and polynomial methods give only
Ω(N^{1/4}) for it, since its block sensitivity is Θ(√N). The relation is that of single bit
flips between the inputs with exactly one true bit in every block and those with one all-false
block and exactly one true bit in every other block. An input of the first kind has w neighbors
of the second, and an input of the second kind has s neighbors of the first
(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_neighbors). So an algorithm computing the AND of
ORs with error ε ≤ 1/2 has (1 - 2√(ε(1-ε))) √(w s) ≤ 2T
(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_forall_exists), which is Theorem 4 when
w = s = √N. The same bound holds for Tribes
(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_tribes). At error 1/3 both give
w s ≤ 1296 T².
Both bounds require correctness only under the promise that every block has at most one true bit
(for the AND of ORs) or at most one false bit (for Tribes), so they hold for the promise
problems as well. The constants are those of this proof. The source states Ω(√N).
Main results #
Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_forall_exists: theANDofORs,(1 - 2√(ε(1-ε))) √(w s) ≤ 2T.Cslib.Quantum.mul_le_mul_sq_of_forall_exists: theANDofORs,w s ≤ 1296 T²at error1/3.Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_tribes: Tribes,(1 - 2√(ε(1-ε))) √(w s) ≤ 2T.Cslib.Quantum.mul_le_mul_sq_of_tribes: Tribes,w s ≤ 1296 T²at error1/3.
References #
Tribes takes Ω(√(w s)) queries, the De Morgan dual of [Amb02], Theorem 4: if a
T-query algorithm with a unit initial state accepts, by an outcome in S, every input x in
which every tribe has at most one false bit with probability within ε ≤ 1/2 of
Tribes_{w,s}(x), then (1 - 2√(ε(1-ε))) √(w s) ≤ 2T.
The AND of ORs takes Ω(√(w s)) queries [Amb02], Theorem 4: if a T-query
algorithm with a unit initial state accepts, by an outcome in S, every input x in which every
block has at most one true bit with probability within ε ≤ 1/2 of the AND over the s blocks
of the OR of their w bits, then (1 - 2√(ε(1-ε))) √(w s) ≤ 2T. Theorem 4 is the case
w = s = √N.
Tribes at error 1/3: if a T-query algorithm with a unit initial state accepts, by an
outcome in S, every input x in which every tribe has at most one false bit with probability
within 1/3 of Tribes_{w,s}(x), then w s ≤ 1296 T².
The AND of ORs at error 1/3 [Amb02], Theorem 4: if a T-query algorithm
with a unit initial state accepts, by an outcome in S, every input x in which every block has
at most one true bit with probability within 1/3 of the AND over the s blocks of the OR of
their w bits, then w s ≤ 1296 T².