Quantum Computing Asked by fabiolinhares on August 7, 2021
Ok, I understand the difference between quantum bits and classical bits. But, unfortunately, all explanations on the Internet stop at this point.
This is what I understand that happens:
But how is this different from a classical calculation? How do they use the “superposition” to make many trials instead of just some?
I do not get the point were it gets faster than classical computers, once in the end the spin is converted to 1 or 0.
Point 1: A qubit (a particle in your words) is not rotated randomly but its rotation depends on gate acting on it. For example Hadamard gate produces a qubit with same probability of measuring $|0rangle$ and $|1rangle$ while $X$ gate is equivalent of classical NOT gate. Sequence of gates rotate qubit as intended for particular calculation. This sequence is callled quantum algorithm.
Point 2: Yes, measurement is done at the end of every algorithm to get probability distribution of a result. Based on this probability distribution you can infer a final result you are looking for. How to do this depends on particular algorithm.
Point 3: No, quantum gates are used for calculation, not for measurement.
Difference from classical calculations: Quantum computing is based on effects described by a quantum mechanics, so it is inherently probabilistic instead of deterministic. As a result, some algorithm can run faster and more efficient (e.g. Shor algorithm for integer factorization).
Superposition and trials: Superposition means that a qubit is in many different states simultaneously until it is measured. To get a probability distribution of those states you have to run algorithm many times to get enough samples for a statistics. You can repeat the algorithm as many times as you want. However, for some algorithms it is enough to run it only once to get desired result.
Last question on speed-up: The reason for speed-up comes from probabilistic nature of a quantum computer and completely different computing paradigm used in comparison with classical computers.
I would recomend reading this site: https://quantum-computing.ibm.com/support/guides/user-guide?section=5dcb2b45330e880045abccb0 I think it can help you to learn more about quantum computing.
Correct answer by Martin Vesely on August 7, 2021
Quantum computing is a different paradigm than classical computing. Data exists as probabilities that one amplifies with repeated operations until the value of the solution emerges. The static data values of classical computing is not assumed.
Though I am working on a method to encode information with qubits that has similar properties to a classically encoded information. Reducing the noise in a computation should simplify programming.
Answered by Daro Gross on August 7, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP