- #1
david_8956
- 1
- 0
The calculation process of a quantum computer
I've just started reading up about quantum computers and it's fascinating stuff but I need some help understanding something.
I understand how a qubit can be in the classical "0" or "1" state used in a conventional computer and it can also be in a superposition of two states at the same time. It seems that there are certain calculations that would be best suited to quantum computing, for example factorizing a large number.
In a conventional computer I guess this is just trial and error until the lowest prime factor is found. But if the quantum computer had many quibits all in a state of superposition in the input register then it could perform all of these calculations in parallel, simultaneously.
From my understanding you would then have many possible results but only one answer. I can't seem to find anywhere that explains this in a way in which I can understand, but how do you get your answer from the jumbled mess of results?
Would you not need to take a final measurement thus causing the wave function collapse that would leave you with one random result, but not necessarily the right answer? I read that you can manipulate the end result without taking a measurement and get your answer through quantum interference, but how exactly would this work?
I've just started reading up about quantum computers and it's fascinating stuff but I need some help understanding something.
I understand how a qubit can be in the classical "0" or "1" state used in a conventional computer and it can also be in a superposition of two states at the same time. It seems that there are certain calculations that would be best suited to quantum computing, for example factorizing a large number.
In a conventional computer I guess this is just trial and error until the lowest prime factor is found. But if the quantum computer had many quibits all in a state of superposition in the input register then it could perform all of these calculations in parallel, simultaneously.
From my understanding you would then have many possible results but only one answer. I can't seem to find anywhere that explains this in a way in which I can understand, but how do you get your answer from the jumbled mess of results?
Would you not need to take a final measurement thus causing the wave function collapse that would leave you with one random result, but not necessarily the right answer? I read that you can manipulate the end result without taking a measurement and get your answer through quantum interference, but how exactly would this work?
Last edited: