C
C
cthulhudx2015-05-09 15:22:55
Programming
cthulhudx, 2015-05-09 15:22:55

What is the difference between a quantum algorithm and a classical one?

How does a quantum algorithm differ from a classical one? Will the classical approach to programming become obsolete if quantum computing enters the mainstream?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-05-09
@begemot_sun

In the classical algorithm, a specific state of the computer (deterministic) is implemented.
In a quantum computer, there are simultaneously many states of the machine that exist simultaneously and immediately.
The solution of the problem on a quantum computer is the distribution of the probability of occurrence of a "specific" state for "specific" input data. That. in a quantum computer, you cannot get an exact solution, but you can get as close to it as you like (performing several calculations).

P
PavelChernov, 2016-08-17
@PavelChernov

What is the difference between a quantum algorithm and a classical one?
- those that are intended for a quantum computer and work not according to the laws of Boolean arithmetic, but according to the laws of quantum information theory.
- Will the classical approach to programming become obsolete if quantum computing enters the mainstream?
- All quantum mechanical algorithms are currently highly specialized. I don't think you need to worry about it. Your grandchildren may catch this moment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question