Sitemap
Quantum Learning

My day to day learning journey on Quantum Learning

Member-only story

Quantum Parallelism and Quantum Entanglement vs Inference — Day 10

--

Press enter or click to view image in full size
Photo by Logan Voss on Unsplash

Quantum parallelism is based on the principle of quantum superposition. A quantum state can exist simultaneously in a combination of basis states, such as ∣0⟩ and ∣1⟩. This allows us to evaluate a function f(x) at multiple input points (x1,x2,x3,…,xn) simultaneously.

A key advantage of quantum computation is that we can obtain all function values f(x)f(x) across different possible inputs in a single operation, rather than performing multiple classical calculations while holding other parameters fixed.

In quantum computing, a single qubit can be put into a superposition state:

When a quantum operation Uf (encoding the function f(x)f(x)) acts on this state, the system evolves into:

This output contains both x=0x=0 and x=1x=1 result branches at once, effectively evaluating the function for both inputs together.

For more qubits, the superposition covers all NN possible xx values in parallel, so with two qubits:

This is processed in one step to produce all f(0),f(1),f(2),f(3) at once.

Classical Computation Limitation

  • A classical computer must provide each input value one at a time: first compute f(0), then f(1), and so forth.

--

--