Sitemap
Lokesh P D

Lokesh P D

Stay Hungry, Stay Curious

๐Ÿš€ ๐Ÿฏ๐Ÿฌ ๐——๐—ฎ๐˜†๐˜€ โ€ข ๐Ÿฏ๐Ÿฌ ๐—–๐—ผ๐—ป๐—ฐ๐—ฒ๐—ฝ๐˜๐˜€ ๐—ผ๐—ณ ๐—ค๐˜‚๐—ฎ๐—ป๐˜๐˜‚๐—บ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ถ๐—ป๐—ด | ๐——๐—ฎ๐˜† ๐Ÿญ๐Ÿด

3 min readJul 30, 2026

--

Hello everyone! ๐Ÿ‘‹

Welcome back to Day 18 of the 30 Days โ€ข 30 Concepts of Quantum Computing series.

So far, weโ€™ve learned about qubits, quantum gates, circuits, noise, and error correction.

But hereโ€™s the big questionโ€ฆ

How do we actually use a quantum computer to solve a problem?

The answer lies in Quantum Algorithms.

Just as classical computers follow algorithms to solve problems, quantum computers follow quantum algorithms โ€” but they use the unique properties of quantum mechanics to tackle certain problems more efficiently.

Letโ€™s explore what makes them different.

๐—ช๐—ต๐—ฎ๐˜ ๐—œ๐˜€ ๐—ฎ ๐—ค๐˜‚๐—ฎ๐—ป๐˜๐˜‚๐—บ ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ?

A quantum algorithm is a step-by-step procedure designed to run on a quantum computer.

Instead of using only classical bits and logic operations, it manipulates qubits using quantum gates, taking advantage of:

๐Ÿ”น Superposition

๐Ÿ”น Entanglement

๐Ÿ”น Interference

These quantum effects allow the algorithm to process information in ways that classical computers cannot.

๐—›๐—ผ๐˜„ ๐——๐—ผ๐—ฒ๐˜€ ๐—œ๐˜ ๐—ช๐—ผ๐—ฟ๐—ธ?

Most quantum algorithms follow a similar flow:

1๏ธโƒฃ Prepare the qubits.

2๏ธโƒฃ Create superposition.

3๏ธโƒฃ Apply a sequence of quantum gates.

4๏ธโƒฃ Use interference to increase the probability of the correct answer while reducing incorrect ones.

5๏ธโƒฃ Measure the qubits to obtain the result.

The power of a quantum algorithm comes from carefully designing these steps โ€” not from simply โ€œtrying every answer at once.โ€

Press enter or click to view image in full size

๐—ค๐˜‚๐—ฎ๐—ป๐˜๐˜‚๐—บ ๐˜ƒ๐˜€ ๐—–๐—น๐—ฎ๐˜€๐˜€๐—ถ๐—ฐ๐—ฎ๐—น ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€

Imagine searching for a friendโ€™s name in a huge phone book.

๐Ÿ“– A classical algorithm may check entries one by one.

Get Lokesh P Dโ€™s stories inย yourย inbox

Join Medium for free to get updates fromย thisย writer.

โš›๏ธ A quantum algorithm manipulates many possible states simultaneously and uses interference to make the correct answer more likely when measured.

It doesnโ€™t magically know the answer โ€” it changes the probabilities so the right answer is more likely to appear.

Press enter or click to view image in full size

๐—™๐—ฎ๐—บ๐—ผ๐˜‚๐˜€ ๐—ค๐˜‚๐—ฎ๐—ป๐˜๐˜‚๐—บ ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€

Some of the best-known examples include:

๐Ÿ”น Shorโ€™s Algorithm โ€” Efficiently factors large numbers, a problem that underpins many current encryption methods.

๐Ÿ”น Groverโ€™s Algorithm โ€” Speeds up searching through unstructured data by requiring fewer checks than a classical approach.

๐Ÿ”น Quantum Phase Estimation (QPE) โ€” A foundational algorithm used in many advanced quantum applications.

Weโ€™ll explore these in future posts.

๐—ช๐—ต๐˜† ๐—”๐—ฟ๐—ฒ ๐—ง๐—ต๐—ฒ๐˜† ๐—œ๐—บ๐—ฝ๐—ผ๐—ฟ๐˜๐—ฎ๐—ป๐˜?

Quantum computers donโ€™t automatically outperform classical computers on every task.

Their advantage comes from specialized quantum algorithms designed for problems where quantum mechanics provides an edge.

Applications include:

โœ… Cryptography

โœ… Drug discovery

โœ… Materials science

โœ… Optimization

โœ… Machine learning

๐—ง๐—ต๐—ฎ๐˜โ€™๐˜€ ๐—œ๐˜ ๐—ณ๐—ผ๐—ฟ ๐——๐—ฎ๐˜† ๐Ÿญ๐Ÿด!

Quantum hardware provides the power.

Quantum algorithms provide the instructions.

Without algorithms, even the most advanced quantum computer is just powerful hardware waiting for a problem to solve.

Thank you for reading till the end โค๏ธ

See you in Day 19โ€ฆ

๐Ÿ’ญ ๐—ง๐—ต๐—ผ๐˜‚๐—ด๐—ต๐˜ ๐—ผ๐—ณ ๐˜๐—ต๐—ฒ ๐——๐—ฎ๐˜†

โ€œA quantum computerโ€™s true power isnโ€™t in its qubits โ€” itโ€™s in the algorithms that orchestrate them.โ€

๐—–๐—ผ๐—บ๐—ถ๐—ป๐—ด ๐—จ๐—ฝ ๐—ก๐—ฒ๐˜…๐˜โ€ฆ

๐——๐—ฎ๐˜† ๐Ÿญ๐Ÿต: ๐—ฆ๐—ต๐—ผ๐—ฟโ€™๐˜€ ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ โ€” ๐—ช๐—ต๐˜† ๐—ค๐˜‚๐—ฎ๐—ป๐˜๐˜‚๐—บ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ฒ๐—ฟ๐˜€ ๐—–๐—ผ๐˜‚๐—น๐—ฑ ๐—–๐—ต๐—ฎ๐—น๐—น๐—ฒ๐—ป๐—ด๐—ฒ ๐— ๐—ผ๐—ฑ๐—ฒ๐—ฟ๐—ป ๐—˜๐—ป๐—ฐ๐—ฟ๐˜†๐—ฝ๐˜๐—ถ๐—ผ๐—ป

Weโ€™ll explore one of the most famous quantum algorithms and why it has attracted so much attention in cybersecurity.

--

--

Lokesh P D
Lokesh P D

Written by Lokesh P D

Stay Hungry, Stay Curious