Faster quantum algorithm for evaluating game trees

Similar documents
Quantum algorithms based on span programs

From Adversaries to Algorithms. Troy Lee Rutgers University

arxiv:quant-ph/ v2 26 Apr 2007

The quantum query complexity of read-many formulas

arxiv: v3 [quant-ph] 18 Nov 2008

Reflections Reflections

arxiv: v1 [quant-ph] 9 Jul 2009

Quantum Algorithms for Evaluating Min-Max Trees

arxiv: v3 [quant-ph] 3 Jul 2012

Quantum walk algorithms

c 2010 Society for Industrial and Applied Mathematics

Universal computation by quantum walk

A semi-definite program for quantum query complexity

Equilibrium Points of an AND-OR Tree: under Constraints on Probability

Any AND-OR formula of size N can be evaluated in time N 1/2+o(1) on a quantum computer

Discrete quantum random walks

Quantum algorithms based on quantum walks. Jérémie Roland (ULB - QuIC) Quantum walks Grenoble, Novembre / 39

Quantum speedup of backtracking and Monte Carlo algorithms

Exponential algorithmic speedup by quantum walk

arxiv: v2 [quant-ph] 5 Apr 2017

arxiv: v1 [quant-ph] 6 Feb 2013

Kazuyuki Tanaka s work on AND-OR trees and subsequent development

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk

The Quantum Query Complexity of Algebraic Properties

A Glimpse of Quantum Computation

Lecture 13 Spectral Graph Algorithms

The query register and working memory together form the accessible memory, denoted H A. Thus the state of the algorithm is described by a vector

Quantum Algorithms for Graph Traversals and Related Problems

Quantum algorithms. Andrew Childs. Institute for Quantum Computing University of Waterloo

Bohua Zhan. LIBRARIES Submitted to the Department of Physics in partial fulfillment of the requirements for the degree of. at the.

arxiv:cond-mat/ v1 20 Sep 2004

The Quantum Query Complexity of the Determinant

The Principles of Quantum Mechanics: Pt. 1

Quantum Algorithms for Finding Constant-sized Sub-hypergraphs

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 15: Unstructured search and spatial search

Time-Efficient Quantum Walks for 3-Distinctness

Section 5.4 (Systems of Linear Differential Equation); 9.5 Eigenvalues and Eigenvectors, cont d

Computational Game Theory Spring Semester, 2005/6. Lecturer: Yishay Mansour Scribe: Ilan Cohen, Natan Rubin, Ophir Bleiberg*

Physical Mapping. Restriction Mapping. Lecture 12. A physical map of a DNA tells the location of precisely defined sequences along the molecule.

Algorithms for quantum computers. Andrew Childs Department of Combinatorics & Optimization and Institute for Quantum Computing University of Waterloo

CS281A/Stat241A Lecture 19

ORIE 6334 Spectral Graph Theory October 13, Lecture 15

Quantum Algorithms for Element Distinctness

A better lower bound for quantum algorithms searching an ordered list

Automata, Logic and Games: Theory and Application

Essential facts about NP-completeness:

Intro to Theory of Computation

Size-Depth Tradeoffs for Boolean Formulae

Quantum algorithms for hidden nonlinear structures

Introduction to Adiabatic Quantum Computation

The Small Progress Measures algorithm for Parity games

Spectral Clustering using Multilinear SVD

Which Quantum Walk on Graphs?

Comp487/587 - Boolean Formulas

Hamiltonian simulation and solving linear systems

Quantum Algorithms for Element Distinctness

Lab 8: Measuring Graph Centrality - PageRank. Monday, November 5 CompSci 531, Fall 2018

Lecture 20: PSPACE. November 15, 2016 CS 1010 Theory of Computation

Expander Construction in VNC 1

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Improved bounds for the randomized decision tree complexity of recursive majority

CS286.2 Lecture 8: A variant of QPCP for multiplayer entangled games

Random Lifts of Graphs

The detectability lemma and quantum gap amplification

Homomorphism Testing

Probability & Computing

Improved Quantum Algorithm for Triangle Finding via Combinatorial Arguments

1 PSPACE-Completeness

CS Introduction to Complexity Theory. Lecture #11: Dec 8th, 2015

CSC 8301 Design & Analysis of Algorithms: Lower Bounds

Lecture 23: More PSPACE-Complete, Randomized Complexity

Algorithmic challenges in quantum simulation. Andrew Childs University of Maryland

arxiv: v1 [quant-ph] 17 Jun 2009

Alternating nonzero automata

Space and Nondeterminism

ORIE 6334 Spectral Graph Theory September 22, Lecture 11

Explicit bounds on the entangled value of multiplayer XOR games. Joint work with Thomas Vidick (MIT)

THE concept of an AND-OR tree is interesting because

arxiv: v1 [quant-ph] 11 Oct 2017

Hamiltonian simulation with nearly optimal dependence on all parameters

Ph 219b/CS 219b. Exercises Due: Wednesday 22 February 2006

arxiv: v2 [quant-ph] 11 Oct 2016

A Composition Theorem for Conical Juntas

Probabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs

Notes on induction proofs and recursive definitions

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d

Algorithmic challenges in quantum simulation. Andrew Childs University of Maryland

Quantum expanders from any classical Cayley graph expander

Convergence of Eigenspaces in Kernel Principal Component Analysis

Sums of Products. Pasi Rastas November 15, 2005

Tsirelson s problem and linear system games

Trees. A tree is a graph which is. (a) Connected and. (b) has no cycles (acyclic).

1 Adjacency matrix and eigenvalues

Limitations of Algorithm Power

Lecture 59 : Instance Compression and Succinct PCP s for NP

Complexity Bounds for Muller Games 1

Link Analysis Ranking

A quantum walk based search algorithm, and its optical realisation

FINITE MEMORY DETERMINACY

arxiv:math.pr/ v1 17 May 2004

Transcription:

Faster quantum algorithm for evaluating game trees x 7 x 8 Ben Reichardt xx1 1 x 2 x 3 x 4 x 6 OR x 9 x1 1 x 5 x 9 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 6 OR x 9 x 1 x 1 x 1 x 5 x 9 x 5 AND OR AND AND OR AND ϕ(x)

x 7 x 8 Motivations: xx1 1 x 2 x 3 x 4 x 6 OR x 9 x1 1 x 5 x 9 Two-player games (Chess, Go, ) - Nodes game histories x 5 AND OR AND AND OR AND ϕ(x) - White wins iff move s.t. responses, move s.t. Decision version of min-max tree evaluation - inputs are real numbers - want to decide if minimax is 10 or not Model for studying effects of composition on complexity

Deterministic decision-tree complexity = N Any deterministic algorithm for evaluating a read-once AND-OR formula must examine every leaf x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 For balanced, binary formulas OR AND AND AND AND ϕ(x) α-β pruning is optimal Randomized complexity N 0.754 OR AND [Snir 85, Saks & Wigderson 86, Santha 95] N 0.51 Randomized complexity N [Heiman, Wigderson 91] (see also K. Amano, Session 12B Tuesday)

Deterministic decision-tree complexity = N N 0.51 Randomized complexity N Quantum query complexity = N (very special case of the next talk) j x {0, 1} n ( 1) x j j 1 + 2 ( 1) x 1 1 +( 1) x 2 2 U0 query x U1 query x UT f(x) w/ prob. 2/3 This talk: What is the time complexity for quantum algorithms?

Farhi, Goldstone, Gutmann 07 algorithm Theorem ([FGG 07]): A balanced binary AND-OR formula can be evaluated in time N ½+o(1). x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 AND AND AND AND OR OR AND ϕ(x)

Farhi, Goldstone, Gutmann 07 algorithm Theorem ([FGG 07]): A balanced binary AND-OR formula can be evaluated in time N ½+o(1). Convert formula to a tree, and attach a line to the root Add edges above leaf nodes evaluating to one =0 =1

Farhi, Goldstone, Gutmann 07 algorithm Theorem ([FGG 07]): A balanced binary AND-OR formula can be evaluated in time N ½+o(1). Convert formula to a tree, and attach a line to the root Add edges above leaf nodes evaluating to one x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 AND AND AND AND OR OR AND ϕ(x)

x 11 = 1 x 11 = 0 =0 =1 ϕ(x) = 0 ϕ(x) = 1

ψ t = e ia Gt ψ 0 ϕ(x) = 0 ϕ(x) = 1

ψ t = e ia Gt ψ 0 ϕ(x) = 0 ϕ(x) = 1 Wave reflects! Wave transmits!

What s going on? Observe: State inside tree converges to energy-zero eigenstate of the graph ϕ(x) = 0

What s going on? =0 =1 Observe: State inside tree converges to energy-zero eigenstate of the graph (supported on vertices that witness the formula s value) ϕ(x) = 0

Energy-zero eigenvectors for AND & OR gadgets AND: OR: Together in a formula: Input adds constraints via dangling edges: 0 G

Balanced AND-OR formula evaluation in O( n) time 1 2 2 Squared norm = 1 + 2 + 2 + 4 + 4 + 8 + 8 + +2 1 2 log 2 n = O( n)

Effective spectral gap lemma If M u 0, then M u Kernel(M ) ( by the SVD M = ρ v ρ u ρ ρ projection of M u onto the span of the left singular vectors of M with singular values λ ( since ΠM u 2 = ρ λ ( λ u ρ 2 u ρ u 2 (

Case φ(x)=1 n ¼ 1/n ¼ 1/n ¼ 1 2 Squared norm = O( n) Constant overlap on root vertex 2

Case φ(x)=1 n! 1/n! 1/n! Eigenvalue-zero eigenvector with constant overlap on root vertex M u 1 1/n ¼ 1/n ¼ Case φ(x)=0 Root vertex has Ω(1/ n) effective spectral gap u n ¼ n ¼ -n ¼ n ¼ root projection of M u onto the span of the left singular vectors of M with singular values λ n λ u

Case φ(x)=1 n! 1/n! 1/n! Case φ(x)=0 Root vertex has Ω(1/ n) effective spectral gap n! u Eigenvalue-zero eigenvector with constant overlap on root vertex M u 1 1/n! 1/n! n! -n! n! Quantum algorithm: Run a quantum walk on the graph, for n steps from the root. φ(x)=1 walk is stationary φ(x)=0 walk mixes

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] O( n e log n ) query algorithm Today: O( n log n)

OR: AND: Direct-sum composition Tensor-product composition

Direct-sum composition Tensor-product composition

Tensor-product composition 0010 1100 010 100 01010 10010 00100 Properties Depth from root stays 2 1/ n spectral gap Graph stays sparse provided composition is along the maximally unbalanced formula Middle vertices false inputs Maximal

Final algorithm With direct-sum composition, large depth implies small spectral gap Tensor-product composition gives n-query algorithm (optimal), but graph is dense and norm too large for efficient implementation of quantum walk Hybrid approach: Decompose the formula into paths, longer in less balanced areas Along each path, tensor-product Between paths, direct-sum sort subformulas by size Tradeoff gives 1/( n log n) spectral gap, 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