One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

55
One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute

Transcript of One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Page 1: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

One Complexity Theorist’s View of Quantum Computing

Lance FortnowNEC Research Institute

Page 2: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Comp.Theory FAQ8. Complexity Theory

(a) Lower Bounds (b) YACC (Yet Another Complexity Class)

Our ability to understand and handle new models of computation comes from our experience studying previous notions. Case in Point: Quantum Computing

Page 3: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP: Yet AnotherComplexity Class

Lance Fortnow

NEC Research Institute

Page 4: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Quantum ComputationA computation model based on quantum principles of physics.

Ability to enter many parallel “states” and use interference to recover important information.

Transformations must be unitary.

Page 5: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Dephysicfying QuantumTo understand the computational powers of quantum computing, we should ignore the underlying physical model.

Nondeterministic computation has no known underlying physical model yet we have a good understanding of its computational power.

Page 6: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The Quantum Class BQPThe set of languages L such that there is a Polynomial-time Quantum Turing machine M such that for all strings x, If x is in L then the measured probability of

acceptance of M on input x is at least 2/3. If x is not in L then the measured

probability of acceptance of M on input x is at most 1/3.

Page 7: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Oddities of Quantum Computing

Many Parallel StatesSimilar to Probabilistic Computation.

InterferenceSimilar ideas in Counting Complexity.

Unitary TransformationsNew and what makes quantum computing

so hard to classify precisely.

Page 8: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

A Product MachineTraditional nondeterministic Turing machine has a transition function

Consider a generalized machine with transition function

: { , }Qx Qx x L R 2

: { , }Qx Qx x L R

Page 9: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The Computation Matrix

The function imposes a linear function mapping configurations to themselves.

Consider the matrix M capturing this linear function. The value of the computation after t steps is:

: { , }Qx Qx x L R

M Initial Acceptingt ,

Page 10: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

NP as Matrix Multiplication: { , }Qx Qx x L R

M Initial Acceptingt ,

{ , }TRUE FALSE

Multiplication AND

Addition OR

Page 11: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

#P as Matrix Multiplication

: { , }Qx Qx x L R

M Initial Acceptingt ,

Z 0

Page 12: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

GapP as Matrix Multiplication

: { , }Qx Qx x L R

M Initial Acceptingt ,

Z

Page 13: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BPP as Matrix Multiplication

: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

31

3

Q 0

L M v L v1 1( ( )) ( )

Page 14: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Small Changes: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

31

3

QL M v L v1 1( ( )) ( )

Page 15: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Small Changes: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

31

3

QL M v L v2 2( ( )) ( )

Page 16: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Small Changes: { , }Qx Qx x L R

QL M v L v2 2( ( )) ( )

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

Page 17: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP as Matrix Multiplication

: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

QL M v L v2 2( ( )) ( )

Page 18: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

QuestionsWhere’s the Physics?

Where’s the <bra| and |ket>‘s?

Where’s the real/complex numbers?

Don’t we need reversibility?

What if there is more than one accepting configuration?

Where’s the measurements?

Page 19: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Where’s the Physics?Car makers have given us a model from which we can drive a car. Details of how the car works are not necessary.

Page 20: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Where’s <bra| & |ket>’s?

Fancy way that physicists specify row and column vectors.

Don’t need to deal with them when studying quantum complexity.

Computer scientists like balance.

What’s wrong with braT and ket?

Scares away newcomers.

Page 21: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Where’s the complex numbers?

For BQP one can assume the transitions come from {-1,-4/5,-3/5,0, 3/5,4/5,1} instead of computable complex numbers.

Noncomputable numbers allow encoding of noncomputable functions. Similar problem in classical model.

Page 22: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Don’t we need reversibility?

The set of matrices M that preserve the L2 norm are unitary: M(M*)T is the identity.

In particular M is invertible so the computation could be reversed.

Reversibility is not a requirement of quantum computing but a consequence.

Page 23: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

One accepting configuration?

In most models, can assume one accepting configuration by having machine erase work tape and moving to single accept state.

Not reversible process.

Can be simulated in quantum with negligible additional error by writing answer and reversing the rest of the computation.

Page 24: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Where’s the measurements?

Squaring value simulates process of measurement at end.

Taking measurements during computation does not give additional power.

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

Page 25: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP - A good definitionSimple and Robust.Based on a physical model.Contains interesting problems.Other Quantum Classes not as robust:EQP - Differences in set of allowable

amplitudes may affect class.BQL - When measurements are made may

affect class.

Page 26: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP as Matrix Multiplication

: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

QL M v L v2 2( ( )) ( )

Page 27: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

QL M v L v2 2( ( )) ( )

Page 28: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The Class AWPP: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

Q

Page 29: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The Class AWPP“Almost-Wide Probabilistic Polynomial Time”

Previously StudiedFenner-Fortnow-Kurtz-Li - 1993Lide Li’s Thesis - 1993

AWPP contains BQP

Page 30: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Properties of AWPPBQP AWPP PPPSPACE

AWPP is low for PPPPAWPP = PPFor any L in AWPP, PPL = PP.

There exists a relativized world where AWPP = P and the polynomial-time hierarchy is infinite.

Page 31: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Properties of BQPBQP PPPSPACE

BQP is low for PPPPBQP = PPFor any L in BQP, PPL = PP.

There exists a relativized world where BQP = P and the polynomial-timehierarchy is infinite.

Page 32: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Diagram of ClassesPSPACE

P BQP

AWPP

PP

PP-Low

BPP

NP

PH

Page 33: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Diagram of ClassesPSPACE

P BQP

AWPP

PP

PP-Low

BPP

NP

PH

Page 34: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Diagram of ClassesPSPACE

P BQP

AWPP

PP

PP-Low

BPP

NP

PH

Page 35: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The Polynomial-Time Hierarchy

Nondeterministic Computation is a misleading title. Really Existential.Similarly can have Universal Computation.Alternating TM - Switches back and forth between Existential and Universal.Unbounded Alternations - PSPACEConstant Alternations - PH

Page 36: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP in PH?Bernstein-Vazirani relativized language does not appear to sit in PH.

It would if we allowed slightly more than polynomial-time or constant alternations.

Suggestion: Try to show that BQP can be solved in

quasipolynomial time and/or polylogarithmic alternations.

Page 37: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Diagram of ClassesPSPACE

P BQP

AWPP

PP

PP-Low

BPP

NP

PH

Page 38: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

NP in BQP?Relative to a random oracle NP is in AWPP.

Two problems: Random oracles do not give us a good view of the

world. Need unitary transformations to get NP in BQP.

Make it difficult to obtain bad consequences of NP in BQP.

Page 39: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Model

Page 40: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Model

I N P U T

Page 41: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Model

Page 42: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Model

N

Page 43: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Model

Count only number of queries made. We do not care about computation time.

Also known as decision tree or oracle model. Hard to define decision trees properly for quantum

machines.

N T

Page 44: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

OR Function

The OR function requires all N queries on some input of N bits for a deterministic machine.Adversary always answers zero on all

queries.

OR has small nondeterministic black box complexity (1 query).

Page 45: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box Classes

P – Polylogarithmic in N queries

NP – Nondeterministic polylogarithmic in N queries

The OR functions separates black box P from black box NP.

How about BQP?

Page 46: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Black Box BQP

The probability of acceptance of a black box BQP machine using t queries is a polynomial of degree at most 2t.

Easy to see from Matrix Multiplication view of BQP.

Page 47: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP as Matrix Multiplication

: { , }Qx Qx x L R

x L M Initial Accepting

x L M Initial Accepting

t

t

,

,

2

2

2

31

3

QL M v L v2 2( ( )) ( )

Page 48: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

The OR function

The OR function has degree n.

However a BQP black box need only approximate the OR function.

Any polynomial that approximates the OR functions has degree (n).

Page 49: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Tightness of OR

Any black box BQP machine must use (n) queries.

OR function separates NP from BQP.

Grover shows that O(n) queries suffice to compute OR on a BQP machine.

Page 50: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

General Result

Any function f:{0,1}n {0,1} that can be approximated by a degree d polynomial has a deterministic black box algorithm using O(d6) queries.

Due to Nisan-Szegedy, Beals-Buhrman-Cleve-Mosca-de Wolf.

Page 51: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

BQP and P

Every function computed by a BQP black box algorithm using t queries can be computed by a deterministic black box algorithm using O(t6) queries.

Black box BQP is the same as black box P.

Page 52: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Isn’t quantum better?

What about Shor’s factoring, discrete logarithm, Deutch-Josza, Simon, etc.

These have black box algorithms with limited input space.Deutch-Josza only separates all same from

same number of zeros-ones.Factoring problem leads to black box with

strong algebraic structure.

Page 53: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

NP and BQP

If BQP were to contain NP in the traditional model it would be because NP problems have a nice structure that BQP can take advantage of.

To me this seems unlikely so I would conjecture that BQP cannot solve NP problems.

Page 54: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

Is quantum computing useful?

We can factor but … If the only uses of quantum computation remain

discrete logarithms and factoring, it will likely become a special-purpose technique whose only raison d'etre is to thwart public key cryptosystems. (Peter Shor)

Using tools of counting complexity, we have shown new bounds on power of quantum machines.

Page 55: One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.

ConclusionsQuantum Complexity very fascinating and worthy of future study.To study complexity of BQP forget the physics and their awful notation.Still seeking a definitive answer on usefulness of quantum computation.So far unable to use unitary property of BQP to help in classifying the class. Though useful in some oracle worlds.