Live data from Hacker News

'Unprecedented' discovery could propel quantum computers to reality

thebunsenburner.com

41–50 of 52 posts

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

#41
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…

In quantum mechanics a particle is not described by a position and velocity but by a wave function that represents a probability distribution of the possible states of the particle. When a measurement is made the particle takes one of the possible states, with a probability determined by the wave function. This is what people mean when they say that a particle can be in multiple states at the same time.

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

#42
post #27

This I believe is how certain aspects of the mind exists, information being temporarily stored and interactive with other systems. Theoretically then systems of the brain/mind should be able to be duplicated. This would allow for managing of large amounts of information, at very high speed, with no-heat generation. The only heat generated would be through the support systems / foundation - I suppose much like how the…

Not sure if you meant to imply the brain is an inherently quantum system or not, but if so:

> Theoretically then systems of the brain/mind should be able to be duplicated.

http://en.wikipedia.org/wiki/No-cloning_theorem

It's actually theoretically impossible.

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

#43
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…

Someone mentioned Shor's Algorithm, here's a better writeup compared to the rather nebulous wiki page: http://www.scottaaronson.com/blog/?p=208

He has another good post on quantum computing here: http://www.scottaaronson.com/blog/?p=266

Feynman's QED is a good book for a general feel of quantum electrodynamics.

This long sequence may help fix your intuition when it comes to quantum things: http://lesswrong.com/lw/r5/the_quantum_physics_sequence/ (Stuff after the basics is optional but recommended.)

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

#44
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…

Super simplified summary: because the probabilities can interfere with each other in controlled ways.

Bits vs Qubits

Suppose you have 3 bits, but you don't know what state they are in. Could be 000, 001, 010, 011, 100, 101, 110, or 111. There is a probability of the state being each of those possibilities. However, the bits are actually in one of these states. Any operation you perform, like 'increment', will take one fixed input and give one fixed output.

Now suppose you have 3 qubits, but you don't know what state they are in. Could be 000, 001, 010, 011, 100, 101, 110, or 111. There is a probability of the state being each of those possibilities. However, the probability is derived from a "magnitude" or "amplitude" (http://en.wikipedia.org/wiki/Probability_amplitude) which sortof actually physically exists. The bits are not in exactly one of the states. They "really" have an amplitude/probability.

Ok, whatever, so the probabilities are "magnitudes" and "actually exist". How does that help? Well ... you can perform operations that 'rotate' the magnitudes in ways that make them interfere with each other in ways that give the right answer more and more magnitude as you iterate. Keep in mind these rotations are over a huge number of magnitudes (2^n) but their running times are polynomial in the number of qubits (n). This allows you to do things like Grover's algorithm (http://en.wikipedia.org/wiki/Grover%27s_algorithm), searching N unordered items in O(Sqrt(N)) time:

  // http://tph.tuwien.ac.at/~oemer/doc/quprog/node17.html#SECTION00513300000000000000
  procedure grover(int n) {
    int l=floor(log(n,2))+1;        // no. of qubits
    int m=ceil(pi/8*sqrt(2^l));     // no. of iterations
    int x;
    int i;
    qureg q[l];
    qureg f[1];

    {
      reset;
      Mix(q);             // prepare superposition
      for i= 1 to m {     // main loop
        query(q,f,n);     // calculate C(q)
        CPhase(pi,f);     // negate |n>
        !query(q,f,n);    // undo C(q)
        diffuse(q);       // diffusion operator
      }
      measure q,x;        // measurement
      print "measured",x;
    } until x==n;
  }

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

#45
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?

It's a little pricey (I think it's meant as a textbook), but DJB has a book on post-quantum cryptography‡

He also has an intro paper (which is probably more along the lines of what you're looking for)‡

Hash-based cryptography, code-based cryptography, lattice-based cryptography, and multivariate-quadratic-equations cryptography are all methods that should hold up in a post-quantum world.

RSA will be screwed though.

http://www.amazon.com/Post-Quantum-Cryptography-Daniel-J-Ber...

http://www.pqcrypto.org/www.springer.com/cda/content/documen...

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

#46
post #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 stu…

have you read Cryptonomicon? :) you might like it

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

#47
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…

Hats off. You guys must work really hard to understand this stuff.

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

#48
post #26
post #17

Earlier quoted context omitted.

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…

A k-qbit computer's state is actually a unit vector in 2^k dimensional complex space. This exponential blowup makes it difficult to simulate quantum computers on classical systems.

Yeah, my bad. I think I crosswired "computer" and "bit" when I was typing "2D vector".

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

#49
Qubits in the Sky with Diamonds

If they can achieve two seconds with diamonds, you have to wonder what they will be able to achieve with graphene, another allotrope of carbon. Maybe they will be able to find metamaterials that can store information in qubits indefinitely. This is indeed an exciting development.

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

#50
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…

I personally think Wikipedia has a good page on the qubit:

http://en.wikipedia.org/wiki/Qubit

The Bloch Sphere is particularly helpful in understanding superpositions in qubits and operations on qubits.

Also, for the perl folks I think these two modules are useful for "hands-on" learning with "qubits" (an approximation of qubits on classical computing):

http://search.cpan.org/~dconway/Quantum-Superpositions-1.03/...

http://search.cpan.org/~ajgough/Quantum-Entanglement-0.32/En...

I personally favor the Quantum::Entanglement module.

The documentation on the q_logic function gives you a basic root-not gate, and you can best understand the intermediate state. Here, the entangle(1,0) returns an "entangled", which you can call just a single qubit with a superposition of values, but which returns the value 0 with 100% probability and 1 with 0% probability (hence, the 1,0).

The root_not function given to q_logic as its first argument is the root-not gate. You can see that it takes the input value, and returns a superposition of 0 and 1 ($val and !$val), the superposition giving you a 50% chance of getting either a 0 or a 1.

However, if you apply root_not TWICE, you have a 100% chance of getting a 1 and a 0% chance of getting a 0. In essence, square root of not times square root of not gives you square root of not squared, or just not, and not of 0 is 1.

Again, the Bloch Sphere is invaluable in understanding the probabilities in superpositions of 1 and 0, or qubits.

Post reply on HN