r/QuantumComputing • • 5d ago

Question How is the mysterious behavior of quantum particles utilized to achieve computational power of parallelism?

In quantum mechanics, particles can exist in superpositions of multiple possible states. However, when we measure or observe a quantum system, we obtain a definite outcome. The physical meaning of measurement and why a particular outcome occurs are still subjects of foundational debate.

My question is:

How have quantum scientists utilized these unusual quantum properties to achieve computational parallelism?

In classical computing, we generally process information using definite binary states (0 or 1). Quantum computing, however, utilizes qubits that can exist in superpositions of multiple states.

What I find fascinating is how this unusual quantum behavior is translated into actual computational parallelism.

If a quantum system can represent multiple possible states simultaneously, how have scientists learned to harness this property to achieve computational power beyond classical computing?

I am particularly interested in understanding the connection between the fundamental behavior of quantum particles and the computational advantage it provides.

I would appreciate an explanation that goes beyond the simplified claim that quantum computers perform multiple calculations simultaneously.

0 Upvotes

38 comments sorted by

9

u/SubsequentOwner9830 5d ago

The "multiple calculations at once" line is a huge oversimplification and leads to a lot of confusion. It’s more about exploiting interference between probability amplitudes so wrong answers cancel out and the right one gets amplified. The parallelism isn't literally running every branch like a classical fork, you only get one answer when you measure, so the trick is designing the setup so that one answer is overwhelmingly likely to be the useful one.

5

u/TUVegeto137 1d ago

Open Nielsen & Chuang, read the first chapter.

4

u/Dhukino 5d ago

Simple answer: the idea of quantum computers processing something in parallel is simply wrong or at least misleading.

The idea of a quantum algorithm is to amplify states which encode your desired states (e.g. the optimum of an optimization problem). While the gates are executed you have some cross talk via super position and entanglement. This is the part that could be considered "parallel" because a system of e.g. 2 qubits can explore 4 states but might have a high chance to measure the 00 state due to the operations on the respective qbits.

I'm sure that there are better explanations out there.

3

u/Cryptizard Professor 5d ago • Bravo

We don’t actually know where the advantage comes from for quantum computing, if you try to dig down to the bedrock. And that’s because we don’t actually know if there is an advantage at all.

The most accurate thing to say is that quantum computers are a different model of computation with different gates and different data representations, and the best algorithms for some problems on quantum computers are better than the best algorithms for those same problems on classical computers.

But crucially we don’t know that this is definitely the case. It might be that we just haven’t found better classical algorithms yet. And even if quantum computers are inherently “better” at some things, we still can’t point to a specific property they have and say, “that is why they are better.” It’s all very open still.

2

u/QubitEncoder In Grad School for Quantum 1d ago

This is the best response here. Where do you teach at?

2

u/WinSecure7023 5d ago

Although a single measurement (shot) is a definite state (0 or 1 for a single qubit), quantum computing is done by using the distribution of probabilities obtained by thousands of shots (repetitions of the experiment). In the distribution, effects caused by superposition are apparent, this distribution has much more information than 0 or 1.

I tried to keep it as simple as possible. If something isn't clear or you have more questions let me know!

1

u/Cryptizard Professor 5d ago edited 5d ago

That’s not really correct. The only reason we do multiple shots is because the qubits and gates that we use are noisy. If you had a better quantum computer, or could implement error correction (which we are beginning to do) then you could get everything you need from one shot. There isn’t anything inherent to quantum computation that requires multiple shots, as far as we know.

9

u/Adventurechess 5d ago

What?? Even if you had no noise, you’d need multiple shots to recover the probability distribution of your result, and plenty of algorithms need you to recover the distribution.

-1

u/Cryptizard Professor 5d ago

But some do not, they work with a single shot. So if the question is, “where does the advantage of quantum computing come from” the answer cannot be multiple shots.

5

u/Adventurechess 5d ago

No one has ever said the advantage comes from multiple shots. That’s just the nature of any probabilistic algorithm, whether it be classical or quantum.

-2

u/Cryptizard Professor 5d ago

That was OP's question and the comment I replied to said, "quantum computing is done by using the distribution of probabilities obtained by thousands of shots." Are you not reading the things you reply to?

6

u/Adventurechess 5d ago

It is factual that quantum computing is done using a distribution obtained from thousands of shots. No one said that is Why it has an advantage though.
It feels like you are trying to argue something unclear on some weird semantics idk.

-1

u/Cryptizard Professor 5d ago

That is the question was. Again, do you think conversations are just people making random unrelated statements back and forth?

4

u/Adventurechess 5d ago

You are incoherent brother

0

u/Cryptizard Professor 5d ago

So yes, you do seem to lack the ability to read. Sorry for your condition.

→ More replies

3

u/WinSecure7023 5d ago

I'm refeering to, a single algorithm run in superconducting qubits needs multiple shots to obtain a probability distribution, you are probably refeering to needing multiple runs of the same algorithm due to its success rate not being 100% due to noise. We are both correct but talking about slightly difrferent things. If you do a single shot at the Schor algorithm with 100 qubits, you will have 100 binary 0 or 1 results. The probability distribution used to obtain the actual result is obtained after thousands of shots. On NMR qubits for example, you manipulate ~1012 identical molecules simultaneously, in that case, a single measurement alteady yields the probability distribution for the qubit system. Edit: in the context i'm refeering, even with perfect gates a single shot is not sufficient to obtain the desired result

1

u/Cryptizard Professor 5d ago edited 5d ago

But that is, again, the result of imprecise technology. There is nothing inherent to quantum computing that requires multiple shots (or at least we don't know anything that does yet) and the question is “where does a quantum computer get its advantage from.” Since a perfect quantum computer would not require many shots, they can’t be the source of any advantage.

1

u/Wild-Store321 5d ago

You should understand that a comment is not the same as an answer to the question in the title. No one claimed that multiple shots are the source of quantum advantage.

0

u/Cryptizard Professor 5d ago

You did, actually.

>quantum computing is inherently probabilistic, even if there are no errors

Hopefully you see now why this is frustrating from my perspective. That statement is simply not known to be true. Because of EQP vs BQP but also because don’t even know if quantum mechanics is probabilistic or not.

I’m sorry that I’m actually holding you to your words here and for some reason that makes you angry.

2

u/Wild-Store321 5d ago edited 5d ago

This is a fact and not a claim about quantum advantage. Yes you may manipulate your probability distribution such that one shot may lead to advantage. This is possible yes. Still inherently probabilistic and I wasn’t talking about the source of advantage.

Also, I am not angry.

Also, if quantum computing is not probabilistic in case QM turns out not to be probabilistic, then by the same reasoning, probabilistic computing (like the P in BPP) is not probabilistic. This is not what we are talking about. Quantum computing is inherently probabilistic. They are both probabilistic computing models. You are claiming that probabilistic computing is not inherently probabilistic.

2

u/Wild-Store321 5d ago edited 5d ago

Are you really a professor in quantum computing?

“There isn’t anything inherent to quantum computation that requires multiple shots.”

yes there is, quantum computing is inherently probabilistic, even if there are no errors.

Here is a non-exhaustive list of examples:

Quantum linear system solving (either via HHL or QSVT) only gets you a solution in a quantum state. If you want to extract useful information from this, you will almost always need multiple shots.

Same for differential equation solving or simulations of quantum systems, the original target of quantum computing.

surely you know about Shor’s algorithm, which is also not one shot.

I guess Grover’s algorithm will in many cases likely only need one shot, but still has a small chance to give the incorrect answer so better do a few shots.

Combinatorial optimization will need multiple shots to optimize the tunable parameters, and even without that (the non-variational variants) they only increase the probability of low cost (good) solutions, so multiple shots will be needed.

Block encodings (implementing non-unitary linear operations) only work when the ancillas are measured in the desired state, so multiple shots will be needed (post selection)

0

u/Cryptizard Professor 5d ago

There are some algorithms that are randomized within the framework of quantum computing, but there are also some that are not. This is not a controversial statement.

If there exists at least one useful algorithm that is deterministic (succeeds with probability 1 or very close to 1 when there is no error) then it cannot be the case that multiple shots are an inherent part of quantum advantage.

Again, this is well established. I would appreciate it if you didn’t resort to ad hominem, especially when you are the one who is ignorant.

1

u/Wild-Store321 5d ago edited 5d ago

“The only reason we do multiple shots is because the qubits and gates that we use are noisy”

“The only reason”, you said. Quite strong. So I gave you a list of other reasons.

“you could get everything you need from one shot”

“Everything”, you said, again quite strong. If your algorithm produces a state where all probability mass is concentrated in one basis state (so a deterministic algorithm), then shot is enough

I never argued that there are no deterministic quantum algorithms.

You argued that everything can be done deterministically. Big difference. But sure let’s pretend I am the ignorant one here.

-1

u/Cryptizard Professor 5d ago

I argued that quantum advantage cannot come from multiple shots, which is what the question was. We also don't know whether multiple shots are required for anything, so you and I would be at the very least equally incorrect, even if I was claiming what you said I was.

1

u/Wild-Store321 5d ago

Shor’s algorithm requires multiple shots and currently has a clear theoretical quantum advantage… (barring a new classical breakthrough)

Grovers algorithm requires multiple shots to get the success probability arbitrary close to one and has a quite clear quantum advantage.

What do you mean quantum advantage cannot come from multiple shots? Do you mean the reason quantum computing has an advantage is not because of the multiple shots?

Sure you can say it is because of superposition and interference. And then we need multiple shots to read out the result we want, because it is inherently a type of probabilistic computing. (and yes that includes the edge case of a state with all probability mass on one classical state).

-2

u/Cryptizard Professor 5d ago

Shor's algorithm does not require multiple shots. An optimized circuit can recover the factors of a number with accuracy arbitrarily close to 1. Same with Grover's algorithm, as you just said. There are other algorithms that can be exactly probability 1, and we currently don't know of any problem that strictly requires multiple shots to solve. See EQP vs BQP.

Do you mean the reason quantum computing has an advantage is not because of the multiple shots?

Yes that's exactly what I said.

Sure you can say it is because of superposition and interference.

It's not because of that, or at least not that alone. Clifford gates have superposition and interference, and they can be simulated efficiently on classical computers.

And then we need multiple shots to read out the result we want.

Only because the technology is imprecise.

As I have said elsewhere, the only correct answer is that we don't actually know where the advantage for quantum computers comes from, and we don't actually know if there even is an advantage at all.

3

u/Wild-Store321 5d ago

Dude, you were answering a person that correctly claimed we use multiple shots in quantum computing, and that this gives us information about the distribution of the final state. Not someone who claimed that this is the one and only true source of the power of quantum computing.

And sure, for grover you can take a circuit with a decent success probability and then do amplitude amplification until you are happy with the success probability of that circuit. This still contains multiple runs of the original circuit but sure, we wouldn’t call those shots. Then it is still probabilistic but you like the final probability.

That does not validate any of you claims. No, noise is not the only reason we use multiple shots.

I gave you a bunch of examples on top of that. Getting information about the solution of a lineair system or a PDE or quantum simulation requires multiple shots. Getting a block encoding to do the linear operation you want requires multiple shots.

I am not claiming there is no quantum advantage unless you use multiple shots. No one here claimed that. You are the only one talking in absolutes here.

-1

u/Cryptizard Professor 5d ago edited 5d ago

Not someone who claimed that this is the one and only true source of the power of quantum computing.

That was what the question was, though. So one would assume that the original commenter did not just randomly walk in here and make an unrelated statement.

No, noise is not the only reason we use multiple shots.

Oh great, it seems like you have solved BQP vs EQP. You should publish that so you can get the credit, because it is currently a significant open problem in complexity theory.

Or, the more likely explanation, you actually don't know as much as you think you do. I would suggest this as a beginning. It's one of the papers I have given my students in that class you said I don't teach.

https://link.springer.com/chapter/10.1007/978-3-540-24597-1_32

→ More replies

2

u/SeniorLoan647 In Grad School for Quantum 5d ago

Read the line in yellow at the very top in Scott aaronson's blog - https://scottaaronson.blog/

1

u/ohwellidunno 4d ago

Yes, there are quantum algorithms that do what you're suggesting: first the computer is initialized such that it branches out to cover all bit configurations in separate branches, then all branches do separate classical computations in their own branch, and then at the end the branches recombine again in a clever way: the knowledge gathered in each branch is used to create a new branching structure, often such that there is one resulting branch with the correct solution to the computation. So in such an algorithm the correct solution is found by doing many classical computations in parallel during the middle phase.

But a quantum computer can do much more than just parallel computations. First of all it can branch out and recombine, which is needed even in your type of algorithm, and leads to a much richer landscape of possibilities in general if you allow new branchings and recombinations during the middle phase rather than just parallel computation. Second and connected point, the quantum computer's bits have more degrees of freedom than a classical computer's (two independent ways of being 0 or 1, with the corresponding branching structures), so there are always two independent ways a quantum computer branches out at the same time, and that's pretty difficult to wrap your head around.

A classical computer can be thought of as a quantum computer that has lost some of its powers: lost one of its two ways of being 0 or 1 and the corresponding branching structure, and lost its power to branch out and recombine. Its branches are fixed and computations run in parallel in each branch, never sharing knowledge.

0

u/Albert__Camus__ 5d ago

As far as Ik qubit is in superposition but still it will have noise And error qualification and qc is an accelerator and also curious at how are ISA level it works