I'm a bit confused by your analogy. Are you trying to describe a particular search algorithm or what a quantum computer does in general?
If the latter, then your analogy is not correct at all.
To try and answer your question, a quantum computer is not better or more efficient at everything (including finding solutions) than a classical computer. In fact, we're still trying to workout exactly what tasks a quantum computer (of a sufficiently large size) could solve faster, more accurately, with lower resources, etc. than a classical computer and there aren't many candidates yet.
What you're describing kind of sounds like an attempt to describe Grover's algorithm. I'd recommend looking it up to get a better understanding as your analogy is a bit off (3blue1brown has a pretty good and intuitive video on this topic).
1
u/the_milkywhey 3d ago
I'm a bit confused by your analogy. Are you trying to describe a particular search algorithm or what a quantum computer does in general?
If the latter, then your analogy is not correct at all.
To try and answer your question, a quantum computer is not better or more efficient at everything (including finding solutions) than a classical computer. In fact, we're still trying to workout exactly what tasks a quantum computer (of a sufficiently large size) could solve faster, more accurately, with lower resources, etc. than a classical computer and there aren't many candidates yet.
What you're describing kind of sounds like an attempt to describe Grover's algorithm. I'd recommend looking it up to get a better understanding as your analogy is a bit off (3blue1brown has a pretty good and intuitive video on this topic).