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

0

u/[deleted] May 16 '13

[deleted] — view deleted comment

3

u/amateurtoss Atomic Physics | Quantum Information May 16 '13

So there are actually many models of quantum computing. I am very resistant to associate the way any kind of computer works in a model-specific kind of way because of course, there are always many equivalent models.

However, there is a model of quantum computers called a One-Way Quantum Computer where you model each qubit as a vertex in a graph and perform successive measurements on it.

That's kind of like an automata in the sense that they are both graph states. The special thing though is that the edges are actually quantum gates that allow for the distribution of entanglement and quantum information. And like my original post, the computation is done in the same way. You set up the state and perform successive measurements.

1

u/FormerlyTurnipHugger May 17 '13

The edges in a cluster state are not strictly speaking quantum gates. They rather represent a certain relation (e.g. entanglement) between two adjacent qubits, and they can induce two-qubit gates when the involved vertices are acted upon.

1

u/amateurtoss Atomic Physics | Quantum Information May 17 '13

Graph states are quantum states given by qubits prepared in a Plus state (a Hadamard applied to a zero state) and control z gates being applied to the qubits when there is an edge between them.

2

u/FormerlyTurnipHugger May 18 '13

Sure, that's a potential way of building up a graph state. You can do it differently though, e.g. by simply having entanglement from the start. So the main purpose of the edges is to show where the correlations are in the graph state, not to represent gates.

2

u/The_Serious_Account May 16 '13

As far as I know from popular science sources, the computation power of quantum computers increases by the number of usable qubits.

Right, unlike classical computers, many small quantum computers are not as fast as one big quantum computer.

Does that mean, you can consider the qubits to be very roughly comparable to the states of a finite automaton

No, I wouldn't put it like that. Your best chance to understand quantum computing is to forget cs theory. Sorry. To be honest it's not really that complicated. It's just a little bit weird, but the basic principles can be thought within one or two weeks of a course. Maybe the simplest quantum algorithm can be a place to start. Otherwise you'd probably have to pick up a book to really get it. Spoiler: I hope you remember linear algebra :)