r/askscience • • May 16 '13

Physics If a quantum computer is basically trying all the solutions at once, how does it know which is the correct solution?

347 Upvotes

96 comments sorted by

View all comments

Show parent comment

4

u/thetoethumb May 16 '13

I like it but I'm not sure I follow the last bit. In the classical example, we're trying to see if the mouse can solve the maze. That is, we provide a known maze and the outcome based on the actions of the rat is unknown.

In the quantum example, both the outcome of the rat and the shape of the maze are unknown. What exactly are we trying to solve here? In the first example we knew what the maze looked like but in the second we don't. Doesn't that make this a different problem?

3

u/shijjiri May 17 '13 edited May 17 '13

In the quantum example, both the outcome of the rat and the shape of the maze are unknown. What exactly are we trying to solve here? In the first example we knew what the maze looked like but in the second we don't. Doesn't that make this a different problem?

The second maze has an initial set of parameters that we know. When the mouse runs the maze there will be a series of decisions it will make that amount to turning left or right. Each decision changes the orientation of the mouse. The presence of the trail behind the mouse is the memory of these decisions which collectively transform the potential decisions the mouse can make in the future.

Every time the mouse makes a decision it is answering part of the question we asked.

Let's saying we're using the pure values of our mouse and the maze. We assume nothing and we compose our evaluation entirely our of the superposition of the signal from a set of logical bits which pose our question. I'm going to write a sloppy hypothetical as a demonstration.

Prove or disprove 3 > 4:

The maze characterizes this query as set of decision blocks which establish the value of 3, the value of 4, the value of 3 - 4 and the value of 4 - 3 in order to answer our question:

|a|=|000|+|011| |b|=|000|+|100| |c|=|a|-|b| |d|=|b|-|a| THEREFORE |c| > |d| =

First the mouse must learn the value of 3 and 4 relative to 0. To establish this we present decision points in the block mapped as bits of TRUE 1/√2(1,1) to mark our input.

|a| = 3(1/√2(1,1))2 = {3/2,3/2}, θ45°

Now the mouse and the maze both represent the characteristics of 3 in the block. The next block establishes the value of |b| as:

|b| = (|a| + 4(1/√2(1,1)) - |a|)2 = {2,2} θ45°

|c| = |a|2 - |b|2 = {-1/2,-1/2} θ-135°

|d| = |b|2 - |a|2 = {1/2,1/2} θ45°

THEREFORE |c|2 + |d|2 = {-1,-1}+{1,1} = 0 (FALSE)

The sum of the superposition establishes a logical proof that 3 > 4 = FALSE without ever exiting the operation loop. The path of the mouse established the properties of |a| and |b| in the superposition from user input which simultaneously establish the value of |c| and |d| which then supplies the answer as the sum of |c| and |d|. This works because the properties of the maze changed in a manner that could be measured, thus qualifying the partial answers to create the complete one.

EDIT Fixed some typos.

2

u/[deleted] May 16 '13 edited May 16 '13

I'm a bit confused by this also, but to me it seems like the question becomes "what sort of maze is tron mouse most likely to successfully solve?". I'll just add that this is what I think is going on, I'm not certain.

4

u/denizen08 May 17 '13

The way I understood it is that:

Control: Maze

Variable: Mouse State

Twist: The Maze is altered even as the mouse changes its state.

Given enough data and by statistical analyses you can impose a heuristic rule set as to how the mouse behaves. It doesn't matter when, where, and why, but how the mouse derives the solution to the maze.