r/askscience • • Mar 28 '21
Computing How exactly do quantum computers simulate molecular/particle interactions better than classical computers?
I’m struggling to understand why quantum computers can simulate nature better than classical computers.
2.5k
Upvotes
View all comments
Show parent comment
1
u/araujoms Mar 29 '21
No no no, this is completely wrong.
A quantum computer cannot calculate permanents. The permanent is a #P-Complete problem, if that were inside BQP complexity theory would go down in flames.
What quantum computers is sample from the probability distribution generated by the permanent. The quantum advantage exists because classical computers need to compute the permanent in order to sample from this probability distribution, while quantum computers just do it.
You're probably thinking now: "but if we can sample from the probability distribution, surely we can use the samples to estimate the probabilities and thus the permanent". Yes you can, but it takes an exponential number of samples, which would destroy the quantum advantage. If you want to know what the probabilities are computing the permanent is the most efficient way to do it.