Faster quantum algorithm for evaluating game trees
Ben Reichardt
x9 x5 x6
x1 x1x9 x8 x7 x5 x4 x2 x3
AND OR AND AND AND OR OR
ϕ(x) x1 x1
University of Waterloo
Faster quantum algorithm for evaluating game trees x 7 x 8 x 1 x 2 x - - PowerPoint PPT Presentation
Faster quantum algorithm for evaluating game trees x 7 x 8 x 1 x 2 x 3 x 4 x 1 Ben Reichardt x 6 x 9 x 5 x 9 OR x 1 x 1 University of Waterloo x 5 AND OR AND AND OR AND ( x ) x 7 x 8 x 1 x 2 x 3 x 4 x 1 x 6 x 9 x 5 x 9 OR x 1 x 1 x 5
x9 x5 x6
x1 x1x9 x8 x7 x5 x4 x2 x3
AND OR AND AND AND OR OR
ϕ(x) x1 x1
University of Waterloo
AND OR AND AND AND OR OR
x9 x5 x6
x1 x1x9 x8 x7 x5 x4 x2 x3
AND OR AND AND AND OR OR
ϕ(x) x1 x1
move s.t. …
evaluation
composition on complexity
x1 x2 x3 x4 x5 x7 x6 x8 ϕ(x)
[Snir ‘85, Saks & Wigderson ’86, Santha ’95]
Any deterministic algorithm for evaluating a read-once AND-OR formula must examine every leaf
[Heiman, Wigderson ’91] (see also K. Amano, Session 12B Tuesday)
(very special case of the next talk)
q u e r y x
q u e r y x …
f(x)
w/ prob. ≥2/3
|1 + |2 → (−1)x1|1 + (−1)x2|2 |x ∈ {0, 1}n| |j (−1)xj|j
OR AND OR AND AND AND AND
x1 x2 x3 x4 x5 x7 x6 x8 ϕ(x)
in time N½+o(1).
in time N½+o(1).
=0 =1
OR AND OR AND AND AND AND
x1 x2 x3 x4 x5 x7 x6 x8 ϕ(x)
in time N½+o(1).
x11 = 0 x11 = 1 =0 =1 ϕ(x) = 0 ϕ(x) = 1
ϕ(x) = 0 ϕ(x) = 1
Wave transmits! Wave reflects!
ϕ(x) = 0 ϕ(x) = 1
ϕ(x) = 0
Observe: State inside tree converges to
energy-zero eigenstate of the graph
ϕ(x) = 0
=0 =1
Observe: State inside tree converges to
energy-zero eigenstate of the graph (supported on vertices that witness the formula’s value)
OR: AND: +1 +1
Together in a formula: +1
+1 +1 Input adds constraints via dangling edges:
Squared norm = +1
+1 +1 +1 +1 +1 +1 1 + 2 + 2 + 4 + 4 + 8 + 8 + · · · + 2
1 2 log2 n = O(√n)
· · · 1 2 2
Effective spectral gap lemma If M u ≠ 0, then M u ⊥ Kernel(M✝)
ρ |vρ uρ|
span of the left singular vectors
≤ λ u
u2 =
ρ2|uρ|u|2
Squared norm = O(√n) 1 2 2 n¼
+1 +1 +1 +1 +1 +1 · · · 1/n¼ 1 / n¼
Case φ(x)=1
Constant overlap on root vertex
Case φ(x)=1
Eigenvalue-zero eigenvector with constant
Case φ(x)=0
span of the left singular vectors
≤ λ u
+1 +1 +1 +1 +1 +1 · · · 1/n 1/n
1/n¼ 1 / n¼ n¼
n¼ n¼
u
M u
√n
Root vertex has Ω(1/√n) effective spectral gap
Case φ(x)=1
Eigenvalue-zero eigenvector with constant
Case φ(x)=0
n
+1 +1 +1 +1 +1 +1 · · · 1/n 1/n
Ω(1/√n) effective spectral gap
· · · 1/n 1/n n
n n
u
M u
Evaluating unbalanced formulas
[Ambainis, Childs, Reichardt, Špalek, Zhang ’10]
Proper edge weights on an unbalanced formula give √(n·depth) queries depth n, spectral gap 1/n
“Rebalancing” Theorem:
For any AND-OR formula with n leaves, there is an equivalent formula with
n e√log n leaves, and depth e√log n
[Bshouty, Cleve, Eberly ’91, Bonet, Buss ’94]
OR: AND:
— 1/√n spectral gap
provided composition is along the maximally unbalanced formula
false inputs ↔ 010 100 0010 1100 01010 10010 00100
sort subformulas by size
dense and norm too large for efficient implementation of quantum walk
longer in less balanced areas
while maintaining sparsity and small norm ⇒ Quantum walk has efficient implementation (poly-log n after preprocessing) ACRŠZ ’10 √n e√log n today √n log n