Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Biology
BiologyBotanyMicrobiologyEntomologyEvolutionPaleontology
Chemistry
General ChemistryAnalytical ChemistryElectrochemistryOrganic Synthesis
Earth Science
GeologyMineralogyOceanographyMeteorologyEarthquakes
Physics
General PhysicsResearchRelativityParticle PhysicsElectromagnetismFusionOpticsAcousticsNew Theories

Natural Science Forum / Physics / Research / September 2004



Tip: Looking for answers? Try searching our database.

Quantum Computer Algorithms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Tweed - 23 Sep 2004 10:46 GMT
Google is your friend:

http://www.fact-index.com/q/qu/quantum_computer.html

has answers to most of your detailled questions.

However, I'll take a stab at answering your first question, because I'm
not aware of any web-source which gives an overview before jumping in to
details. It's basically a rehash of part of David Deutsch's "The Fabric of
Reality".

>How does QC relate to CC?

One way to look at this is historically: Turing (& other people like
Church who turned out to be working on the foundations of computability
theory) were trying to find some way of analysing what sorts of
"information processing" was possible in the physical world in a way
that whilst clearly physically realizable (in an idealized limiting case
of infinite resources) whilst abstracting away as many inconsequential
physical details as possible. (I'm trying to avoid the phrase
computability here because the mathematical notion of computability was
more an outcome of the investigation rather than a motivation for it.)  
So the Turing machine is a sort of machine built using the elementary
physical operations are making marks on tape, moving the tape and changing
internal state (where these operations behave as in classical physics).  
Algorithmics relates to what information processing can be done with these
operations and the relative execution time (in terms of numbers of
operations). It turns out that of most of the various fundamental models
of computation, the sets of physical operations enable both the same
information processing and the same execution times, which arguably is
what makes algorithmics such an effective subject to study. (Imagine if
what you could compute and/or dramatic changes in asymptotic execution
time differed from computing device to computing device...)

However, David Deutsch (one of the pioneers of QC) has a neat line about
how when building the Turing machine model "Turing thought he understood
the physics of marks on tape works". Our current best quantum mechanical
models of physics say it's possible build elementary physical operations
of computation that manipulate entangled superpositions of states
according to the exact rules of quantum mechanics for sets of states which
are arbitrary size. (You can debate the experimental/theoretical
justification for such hypotheses.) As I understand it (AIUI), this
quantum mechanics based model of physical computation doesn't change the
fundamental range of what information processing is possible (that is,
what is computable) but does have some sequences of quantum operations
(algorithms) which produce the same result as classical algorithms but
with a smaller asymptotic execution time. However, AIUI it's not the case
that all classical algorithms can be converted to quantum algorithms which
have asymptotically lower execution times, and there's no small
description of how quantum complexity theory relates to all the various
classical complexity classes, and indeed many open questions about how
they relate.

So quantum computing is what classical computing would be, except you use
quantum mechanical physics and all its possiblities in your elementary
physical operations rather than classical physics. The question of what
changes occur to algorithms depends whether you can relate something about
your problem to an operation with different quantum and classical time
complexities: appropriately expressed the idea behind Shor's algorithm
works on a quantum or classical computer, but its because of
superpositions & the quantum fourier transforms different asymptotic
complexity the algorithm has different time complexities in QC and CC.
It's not just convertability of algorithms between CC and QC but also how
the complexity changes.

Hopefully this high level overview will make the more detailled stuff on
the web more approachable.

__cheers, dave____________________________________________
www.inf.ed.ac.uk/people/staff/David_Tweed.html
tel: +44 131 651 3447  fax: +44 131 651 3435
X wrote a book about this, which Y was carrying around for
a long time with little discernible effect -- John Baez
Patrick Powers - 24 Sep 2004 14:14 GMT
> However, David Deutsch (one of the pioneers of QC) has a neat line about
> how when building the Turing machine model "Turing thought he understood
> the physics of marks on tape works".

I don't agree.

Computations proved by Turing to be impossible would still be
impossible on a quantum computer because solution brings
contradiction.

The sort of computations that a quantum computer is meant for are
those believed to be in NP.  An informal definition is a puzzle that
is too expensive to solve, but the solution if known can be verified
easily.  The classic example is factoring certain composite numbers.

Turing did consider such problems.  In his terminology, these can be
solved by a "nondeterministic computation."  This confusing term means
that while searching for a solution somehow the correct choice is
always made.  If you think about it, you will see that this is very
much the same as the definition of NP.

So now we have uncomputable problems, which cannot be solved, and NP
problems, which a quantum computer could do.  There are classes of
problems in between, solvable but not by a quantum computer.
Typically these are competitive games: since there is a competitor
with free will, there is no effective way to verify a purported best
strategy.  So, harder than NP.
Peter Shor - 27 Sep 2004 16:20 GMT
> > However, David Deutsch (one of the pioneers of QC) has a neat line about
> > how when building the Turing machine model "Turing thought he understood
[quoted text clipped - 5 lines]
> impossible on a quantum computer because solution brings
> contradiction.

I want to both agree and disagree with you.  Turing's uncomputable
problems are still uncomputable in the quantum computer model, but
I think that's because (as far as we know) physics has turned out
to be a Turing-computable system.  As far as I know, Turing did not
consider quantum mechanics to be relevant when he formulated Turing
machines---a remarkable accomplishment nonetheless.  

What I think you mean is that Turing's diagonalization proof that
uncomputable functions exist still works even for quantum computers
(and would indeed still work even for hypothetical machines that can
compute uncomputable functions).  

> The sort of computations that a quantum computer is meant for are
> those believed to be in NP.  An informal definition is a puzzle that
> is too expensive to solve, but the solution if known can be verified
> easily.  The classic example is factoring certain composite numbers.

The classic examples are probably 3-SAT and the Travelling Salesman
Problem.  These are both NP-complete, and thus quite possibly harder
than and provably no easier than factoring, which is not NP-complete*.

> Turing did consider such problems.  

He did?  That would be news for historians of computer science.  The
first time that NP seems to have been proposed (long before it was
named) is in a letter from Kurt Goedel to John von Neumann in 1956,
two years after Turing's untimely death.  

> In his terminology, these can be
> solved by a "nondeterministic computation."  This confusing term means
[quoted text clipped - 4 lines]
> So now we have uncomputable problems, which cannot be solved, and NP
> problems, which a quantum computer could do.  

NP-complete problems are not known to be solvable efficiently on
a quantum comptuer.  

> There are classes of
> problems in between, solvable but not by a quantum computer.
> Typically these are competitive games: since there is a competitor
> with free will, there is no effective way to verify a purported best
> strategy.  So, harder than NP.

These games define the polynomial hierarchy (if the games have a bounded
number of rounds) or PSPACE (if the games can have an arbitrarily large
number of rounds).

Peter Shor

*(to be pedantic, if factoring is NP-complete, than NP = co-NP, something
which theoretical computer scientists don't generally think is true).
Esa A E Peuha - 28 Sep 2004 17:50 GMT
> As far as I know, Turing did not
> consider quantum mechanics to be relevant when he formulated Turing
> machines---a remarkable accomplishment nonetheless.  

In fact, Turing's motivation was to find out exactly what a human
following an algorithm could do, and after he eliminated everything that
was irrelevant, he had the definition of a Turing machine.

> *(to be pedantic, if factoring is NP-complete, than NP = co-NP, something
> which theoretical computer scientists don't generally think is true).

More importantly, while factoring is not known to be in P, the
corresponding decision problem (is a number prime or composite) _is_
known to be in P, whereas for all known NP-complete problems the search
and decision problems are complexity equivalent (and probably must be
for every NP-complete problem).

Signature

Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/

David Tweed - 28 Sep 2004 08:28 GMT
frisbieinstein@yahoo.com (Patrick Powers) wrote

|> However, David Deutsch (one of the pioneers of QC) has a neat line
about
|> how when building the Turing machine model "Turing thought he
understood
|> the physics of marks on tape works".
|
[quoted text clipped - 3 lines]
|impossible on a quantum computer because solution brings
|contradiction.

I tried (in my typical broken English :-) ) to point out later in that
paragraph that the what is computable does not change between classical
and quantum computers, it's that sometimes (to the best of our current
knowledge) asymptotic execution time of algorithms for solving problems
differs between classical and quantum algorithms. But the real point I was
trying to make is that computability theory is often (at least from what
I've seen) presented as an entirely mathematical notion, whereas it's
more of the form

GIVEN THAT you can do these things in the physical world (physics)
THEN building up with these elements these things are possible, these
aren't, if you had an oracle which could.... then ..., etc (mathematics)

i.e., it's sort of a tower of mathematics built upon some foundations
which come from physics. The quote about Turing thinking he understood the
physics of marks on tape is supposed to show that you might have to
re-evaluate the scope of physical `information processing' afresh if your
idea of what's physically possible changes. (As originally mentioned,
turns out the shift from classical to quantum doesn't change what's
computable, but does change some asymptotic complexities. And there are
certainly people trying to come up with some example of a physical
operation which changes what's computable, eg,

http://portal.acm.org/citation.cfm?id=1011190

although I'm unqualified to rate whether these ideas are sensible or not.)

|The sort of computations that a quantum computer is meant for are
|those believed to be in NP.  An informal definition is a puzzle that
[quoted text clipped - 6 lines]
|always made.  If you think about it, you will see that this is very
|much the same as the definition of NP.

I've only a passing knowledge of quantum computation, but it's not clear
to me that nondeterministic computation is _precisely_ how quantum
computation differs from classical computation.  In particular, I can't
point at some element of Shor's algorithm and say `aha: that step is a
non-deterministic computation' , where non-deterministic is used the in
computer sense of `magically making the correct choice at some point'.
(There are certainly elements there that I can relate to the classical
computational notion of probabilistic computation.) I'd certainly be
interested in a brief, readable reference (paper or web) that clarified
the relation between non-deterministic & quantum computation.

Incidentally, it's not obvious to me why easy verifiability need be
important for quantum computer algorithms? And certainly most minimisation
problems are easy to state yet solutions don't come with any simple
property to verify that a solution is a global minimum.  And there's
some work on function minimisation using quantum computing:

www.iqc.ca/seminar/abstracts/081103.html

|So now we have uncomputable problems, which cannot be solved, and NP
|problems, which a quantum computer could do.  There are classes of
|problems in between, solvable but not by a quantum computer.
|Typically these are competitive games: since there is a competitor
|with free will, there is no effective way to verify a purported best
|strategy.  So, harder than NP.

This bit loses me.

Signature

__cheers, dave____________________________________________
www.inf.ed.ac.uk/people/staff/David_Tweed.html
tel: +44 131 651 3447  fax: +44 131 651 3435
X wrote a book about this, which Y was carrying around for
a long time with little discernible effect -- John Baez

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.