Live data from Hacker News

'Unprecedented' discovery could propel quantum computers to reality

thebunsenburner.com

11–20 of 52 posts

Re: 'Unprecedented' discovery could propel quantum computers to reality

#11
post #6

"For qubits, they can hold a value of “1” or “0” as well as both values at the same time. Described as superposition,"... Am a bit frustrated reading that same description for years and still having no clue what it really means. Both values at the same time... huh? What is the physical property that is existing in two states at once? And how does that feature translate into speedier computation? Is it so hard to unde…

It's been many years since I took an introductory class in quantum computing, but basically the way computation works with quantum computers is fundamentally different. I would require me relearning a lot to explain how it makes computation faster, but basically it's possible to devise algorithms where multiple solutions are returned as a superposition of states, which when observed will usually collapse to the most probable answer, which is the correct one.

The algorithm I studied was for prime factorisation. Basically it lets you calculate prime factors of a number in polynomial time which ultimately breaks the security of things that depend on prime factorisation being hard (slow), namely all public key encryption.

Shor's Algorithm: http://en.wikipedia.org/wiki/Shors_algorithm

Re: 'Unprecedented' discovery could propel quantum computers to reality

#12
It's always a bit creepy to see this. I mean, if one is really close to this it could mean NSA or DARPA could have the know how and especially the money to already have one.

Well it's actually just the money. Money to buy knowhow, researchers, facilities and what else they'd need. It's not only about such things, but if you see how EFF built the DES cracker with donations or a group of security researchers breaks stuff with playstations and then see how much money and power government organizations without any transparency have then it's really creepy.

It's also a bit creepy how much power the bosses of such institutions potentially have when compared to something like a president. No wonder there are so many conspiracy theories.

Re: 'Unprecedented' discovery could propel quantum computers to reality

#13
Can someone maybe describe the details of "could propel" and what exactly "reality" mean?

I've always been told "when quantum computers become reality you can forget about everything you learned on computer science".

For me reality would be that one can use it in production, even if it's a complete niche.

In other words is it "we got a step closer" or "we potentially solved our only (major) problem"?

Re: 'Unprecedented' discovery could propel quantum computers to reality

#15
post #9

Apart from the fairly wonderful applications in computing, it will be interesting to see what it does for the enhancement of synthetic diamond technology. I am not going to invest my pension in De Beers, unless they're going large in the synthetic diamond business.

I developed the system years ago that De Beers used to track the recipes for all of their synthetic diamonds. Small world.

Re: 'Unprecedented' discovery could propel quantum computers to reality

#16
We always hear about the ramifications a quantum computer would have if used to crack enterprise level security. Does there exist encryption that would be troublesome even for a quantum computer to crack or are we just SOL if one of these falls into the wrong hands?

Re: 'Unprecedented' discovery could propel quantum computers to reality

#17
post #10
post #6

"For qubits, they can hold a value of “1” or “0” as well as both values at the same time. Described as superposition,"... Am a bit frustrated reading that same description for years and still having no clue what it really means. Both values at the same time... huh? What is the physical property that is existing in two states at once? And how does that feature translate into speedier computation? Is it so hard to unde…

Think of a qbit as a 2D vector. You can express it as a (1,0)+b (0,1), where (1,0) is the "1" state and (0,1) is the "0" state. In quantum mechanics a and b are complex numbers. When you measure the qbit the quantum state by magic collapses to (1,0) with probability a^2 or to (0,1) with probability b^2. The power of quantum computers come from the fact that transformations or your qbits act on the superpositioned sta…

This explanation is missing a little bit of background. A classical computer's state is represented by a single number - the concatenation of all of the classical bits in its memory. The transition function in a classical computer takes a state and moves it into another state - a simple mapping.

A quantum computer's state is a 2D vector of unit length. Transitions are actually rotations on this vector. Observing the quantum state collapses it into a classical state - a single number - by projecting it onto a random nearby axis. If your vector is halfway between two axes, the computer has an equal chance of collapsing into either classical state when observed. As it turns out, this also means that acting on this vector is equivalent to acting on both of those classical states simultaneously. If you have the right kind of problem (http://en.wikipedia.org/wiki/BQP, for example), this lets you do a lot of computation in a hurry.

Re: 'Unprecedented' discovery could propel quantum computers to reality

#18
post #16

We always hear about the ramifications a quantum computer would have if used to crack enterprise level security. Does there exist encryption that would be troublesome even for a quantum computer to crack or are we just SOL if one of these falls into the wrong hands?

Lattice-based cryptography (https://en.wikipedia.org/wiki/Lattice-based_cryptography) is currently believed to be quantum-computer resistant (i.e. requires super-polynomial time to break even on a sufficiently large quantum computer).

There are only very few problems were quantum computers achieve an exponential speedup vs. classical computers, factoring being one example.

Re: 'Unprecedented' discovery could propel quantum computers to reality

#19
post #6

"For qubits, they can hold a value of “1” or “0” as well as both values at the same time. Described as superposition,"... Am a bit frustrated reading that same description for years and still having no clue what it really means. Both values at the same time... huh? What is the physical property that is existing in two states at once? And how does that feature translate into speedier computation? Is it so hard to unde…

Think of it like this.

What if you represented your computer bits as a arrow on a compass. You have also the plane that the compass is on.

The arrow points in one direction for 1 and in another direction for zero.

Regular computation would have you doing operations on bits. You could only do one operation at a time on one bit and you are able to flip them given a recipe.

A probabilistic computer allows you to do some special things. For example you have this magical random source where you can add a magic variable. This magic variable is a random variable. This is used in the following algorithm. We call it fermats little theorem.

Given a prime how do we test its primality? We would have to at minimum divide each number lower than itself? (there are optimizations I am glossing over for this exercise).

What if we use this magical random variable. It can be a number from 0 to a natural number?

If we have a few other algorithmic tools we can make a probabilistic search of a array. With a random variable we can do the following operation

findingA_LV(array A, n) begin repeat Randomly select one element out of n elements. until 'a' is found end

This will search a array A randomly and works with probability 1 (this is very important... if your probability is 0 then you probably don't have a working algorithm ;) )

Whats the advantage? Well, instead of having a sequential search of an array you can randomize the search. The probability of success is 1! So, if we are really lucky we could win very fast. If the array is SMALL then that might be even better right? If the array has one element then we will always win but thats not fun :(

But, a more useful example is the fact that quicksort with a randomized sort can get FAST {O(nlogn)}

Now, lets make a quantum leap. Lets go faster than FAST. Lets go ridiculous.

Lets say that we have a new magical bit. People call it the qubit. The more you have the better you are off.

Superposition can be described as follows. You can correlate two qubits together magically. Algorithmically no one cares how . On the Engineering side the ability to do this is worth trillions of dollars though. The advantage has the following feature.

If we want to factor a number we can do it faster than any known classical algorithm. By classical I mean following the rules of your standard computer.

Quantum computers allow you to BREAK the rules of classical ones. They do this by doing the following things.

Lets review the two computers we have discussed before.

The first kind of computer is called a Turing Machine or a Recursively Enumerable Language / Problem. This basically follows rules due to a finite control (a CPU basically) and has a tape which you can write to, go left or right.

The second kind of computer has the magical randomness. This is a randomized algorithm. If you are feeling lucky you might get lucky and this reduces your runtime. In the average case you probably win more often than you lose hopefully.

Our magical quantum compuer allows for correlation of two or more "variables" (called qubits) . How is this better?

In quantum physics when you observe a particle you "collapse its wave state". This is making an observation. This is analogous to a return variable in any C like language. The difference is how it returns and while in your function it does some magical things.

The magic is as follows. A qubit can be observed in something called a computational basis. What does that mean? It means you make two vectors in the "plane" or the "complex plane" or basically you have a 3d arrow that points wherever you want. They call this the bloch sphere.

With this magic you can do magic tricks. This magic trick is called sorting a UNSORTED database in O(sqrt(n)). This sounds ridiculous right?

You are performing operations that are LESS than the size of the array... You aren't LOOKING at every entry.

This is ridiculous. How do they do this?

Instead of thinking of the database as an array think of it as a function.

We are trying to invert the following function. Encode all of the elements of the database as a vector in an "n-dimentional state space" this will require a logarithmic amount of qubits.

Given a function which returns true or false if the element is there you can write an algorithm that searches it using superposition EXTREMELY fast O(sqrt(n))

It works by creating a correlation between the state space or basically all of the qubits are correlated together. Then you start rotating all of the qubits. Since they are tied to a function which tells you if they are equivalent to your target variable then this requires sqrt n operations to do so. They correlate this by doing a "uniform superposition" or entangling all of the elements and then you start rotating the state space to get what you want.

Thats why we want these things. They are just faster. They break rules but they are hard to build.

References http://www.amazon.com/Quantum-Computing-Computer-Scientists-...

Post reply on HN