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?

481 Upvotes

113 comments sorted by

View all comments

Show parent comment

60

u/Krivvan Apr 16 '26

The quantum computer itself doesn't know. Rather, there are problems where you don't know the answer but you can pretty easily check if an answer is correct.

For example, "which two prime numbers multiply to 1000609937" versus "what is the product of 10007 and 99991".

16

u/VLHACS Apr 16 '26

Aha that's the type of example that helps make sense of it a little better, thank you

13

u/ind3xOutOfBounds Apr 16 '26

And to follow that thought, a lot of cryptology algorithms are based on assumptions similar to calculating prime numbers as being difficult.

If an algorithm assumes that and it's no longer the case because of quantum computing, that algorithm is no longer considered cryptographically secure.