r/askscience • • Apr 15 '26

Computing What do quantum computers actually do?

How do quantum computers output usable data, how does it logically "locate" or "make meaning" of information. I read about Grover's algorithm and it seems sort of like an inverted bruteforce or extreme process of elimination or a "the missile knows where it is at all times. It knows this because it knows where it isn't" type scenario.

So I ask, what do quantum computers actually do as opposed to a classical computer?

480 Upvotes

113 comments sorted by

View all comments

Show parent comment

7

u/twoinvenice Apr 17 '26 edited Apr 17 '26

Going back to the dominoes thing, if the different paths that the dominoes fall can make different pictures, then the picture that you get at the end is the answer. You’re setting everything to find out what is the picture from the run of the initial state.

It’s brute forcing, but through the physical set up so everything just shakes out because of the different paths that influence each other. The speed up comes from the fact that the computation that happens is determined by the physical properties of the interconnected decision point nodes. The whole setup ahead of time is to make sure that the entangled parts influence each other in the right way to close off non-optimal solutions.

So if you apply the domino thing to the traveling salesman problem, once the first domino split falls one direction that node can’t be travelled through again, so it influences all the connected dominoes to slightly turn them a bit so that they can no longer fall in the direction that would lead back to the node that has already fallen.