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

9

u/xrelaht Sample Synthesis | Magnetism | Superconductivity Apr 16 '26

This is quantum communication rather than computation, but security is one example. Let’s say I want to share a cryptographic key so we can talk securely. How do I send it to you without worrying about someone intercepting it so they can read our encrypted communications? One way is to check if someone is listening in.

I use two entangled photons for every bit I transmit and we compare what each of us measures. If you are always getting |1> when I get |0> (and vice versa) then we can be reasonably sure that the photons are remaining entangled, which means no one is listening in.

But if someone is sitting in the middle reading out the state of the photons I send, they will become uncorrelated and we will not always measure the same thing. If we see that happening, then we stop sending the key on this channel and start over on another one.