Skip to content
  • Facebook
  • X
  • Linkedin
  • WhatsApp
  • YouTube
  • Associate Journalism
  • About Us
  • Privacy Policy
  • 033-46046046
  • editor@artifex.news
Artifex.News

Artifex.News

Stay Connected. Stay Informed.

  • Breaking News
  • World
  • Nation
  • Sports
  • Business
  • Science
  • Entertainment
  • Lifestyle
  • Toggle search form
  • Stones Hurled, Clashes Break Out During Mithun Chakraborty’s Roadshow
    Stones Hurled, Clashes Break Out During Mithun Chakraborty’s Roadshow Nation
  • Binance Founder Changpeng Zhao Released From US Custody: Report
    Binance Founder Changpeng Zhao Released From US Custody: Report World
  • “Absolute Rubbish”: Harbhajan Singh Blasted By CSK Physio For Saying Angry MS Dhoni ‘Punched Screen’ After RCB Game
    “Absolute Rubbish”: Harbhajan Singh Blasted By CSK Physio For Saying Angry MS Dhoni ‘Punched Screen’ After RCB Game Sports
  • RPF-GRP team cracks theft case in Erode, recovers valuables
    RPF-GRP team cracks theft case in Erode, recovers valuables Nation
  • Access Denied Sports
  • Access Denied World
  • Neeraj Chopra Falls Short Of 90m Mark, Finishes Second In Lausanne Diamond League
    Neeraj Chopra Falls Short Of 90m Mark, Finishes Second In Lausanne Diamond League Sports
  • IPL 2026 | Revitalised Chennai Super Kings host faltering Knight Riders
    IPL 2026 | Revitalised Chennai Super Kings host faltering Knight Riders Sports
How quantum algorithms solve problems that classical computers can’t

How quantum algorithms solve problems that classical computers can’t

Posted on October 15, 2023 By admin


We often hear that quantum computers efficiently solve problems that are very difficult to solve with a classical computer. But even if the hardware is available to build a quantum computer, exploiting its quantum features requires us to write smart algorithms.

An algorithm is a sequence of logically connected mathematical steps that solve a problem. For example, an algorithm to add three numbers can have two steps: add the first two numbers in the first step and the result to the third number in the second step.

Quantum v. classical algorithms

A more involved example of an algorithm is the search for the largest number in a finite list of numbers.

An algorithm can start by assuming that the first number on the list is the largest.  Next, it can compare this number with the second number on the list. If the second number is larger than or equal to the first number, the second number is now deemed to be the largest.  Otherwise, the first number remains the largest at this stage. The algorithm then moves to the third number on the list – and so on until it has finished comparing all the numbers on the list. The number that is the largest as of the final step will be the answer.

A quantum algorithm is also a series of steps, but its implementation requires quantum gates. Some problems may need fewer steps on the part of a quantum algorithm than the number of steps required by a classical algorithm. That is, the quantum algorithm can speed up the computation.

One factor that controls this speed-up is the possibility of superposition of the states of quantum bits, or qubits, that encode information. Whereas a classical computer uses semiconductor-based gadgets as bits to encode information, quantum computers use qubits. In both cases, the bit or the qubit can have two distinct states, 0 or 1; but qubits have the additional ability to be partly 0 and partly 1 at the same time.

Shor’s algorithm

One of the earliest quantum algorithms is the factorisation algorithm developed by Peter Shor. It requires fewer steps to factorise a number than one that operates with classical principles.

Shor’s algorithm identifies the factors of a given integer. For example, 2 is a factor of 20 (since 2 divides 20 without a remainder). Similarly, 4, 5, and 10 are also factors of 20. However, identifying all the factors requires a greater and greater number of steps if the number becomes larger.

The efficiency of an algorithm is related to the number of steps required as the size of the input increases. An algorithm is more efficient if it requires fewer steps (and thus less time). From this perspective, Shor’s algorithm is far more efficient than any known classical algorithm for factorisation.

Technically, in Shor’s algorithm, the number of steps increases as a polynomial in the size (more precisely, the logarithm of the size) of the input whereas it is a superpolynomial for the best classical algorithm known today.

To understand the difference, compare multiplying 10 with itself thrice (i.e. 10^3) and multiplying 3 ten times (i.e. 3^10). The former is a polynomial in 10 whereas the latter is a  superpolynomial in 10. A polynomial increase is always lower than a superpolynomial increase for a sufficiently large input size. Thus, classical factorisation algorithms are far less efficient compared to Shor’s algorithm, which is a quantum algorithm.

Modern cryptography – which is used to secure user accounts on the internet, for example – depends on the fact that there are no efficient classical algorithms that can factorise large integers. This is the source of the claim that the availability of quantum computers (with an adequate number of qubits) will challenge the safety of classical cryptography.

Grover’s and Deutsch-Jozsa algorithms

Another popular quantum algorithm is the quantum search algorithm developed by Lov Grover. It looks for a numerical pattern in a large list of numbers. A deterministic classical algorithm requires almost half the number of steps as there are patterns in the list. That is, to identify a pattern from a list of one-million patterns, the classical approach may need half a million steps. The quantum algorithm will require only a thousand steps, however. In fact, for every 100x increase in the list’s size, Grover’s algorithm will need only 10x more steps. This is the kind of speed-up this quantum algorithm achieves.

Yet another scheme that showcases the exponential speed-up is the Deutsch-Jozsa algorithm. Imagine a set containing two-digit numbers whose digits are either 0 or 1; let’s call this Set A: 00, 01, 10, and 11. For each number from Set A, associate a number from another set, Set B, containing 0 and 1 as the only members.

Next, consider two categories of relation between the two sets. A relation is constant if all the members of the first set are associated with only 0 or only 1. A relation is balanced if two of the numbers from the first set are associated with 0 and the other two with 1.

Say the output is 0. A classical computer will require three steps at most to determine if the mapping is constant or balanced. (Can you figure out what they are?)

But a quantum computer can figure it out with only one computation. This is thanks to superposition – the ability of the value of a qubit to be partly 0 and partly 1 at the same time.

As this author wrote previously, “If a qubit is in a superposition, then measuring the qubit will cause it to collapse to one of the two states [either 0 or 1]. However, we can only predict the probability that it will collapse to one state.”

When the inputs are in superposition, the output will be as well, and in a way that corresponds to the states in the input superposition. The output will also have a sign – positive or negative – depending on whether the association is balanced or constant.

So the Deutsch-Jozsa algorithm can determine the mapping with one computation independent of the size of the input. We just need to make sure there are enough qubits available to represent the number of digits in the input. (Of course, this requirement would apply to bits as well).

Wait for reliable devices

Scientists already know of more quantum algorithms that can solve problems in optimisation, drug design, and pattern search, among other fields more efficiently.

When reliable, large-scale devices become available, quantum computing will help address many otherwise intractable problems as well. Research in quantum algorithms is highly interdisciplinary, involving computer science, mathematics, and physics. The field is also still evolving, and there are plenty of opportunities to make significant contributions.

S. Srinivasan is a professor of physics at Krea University.



Source link

Science Tags:Deutsch-Jozsa algorithm, Grover’s search algorithm, Hadamard gate, quantum algorithm, quantum computing, quantum gates, quantum superposition, Shor’s factorization algorithm

Post navigation

Previous Post: New Adani Mega Port Can Lure World’s Biggest Ships To India
Next Post: Congress Field ‘Ramayana’ Actor To Face Madhya Chief Minister In Polls

Related Posts

  • Science Snapshots: April 19, 2026
    Science Snapshots: April 19, 2026 Science
  • What’s the status of the rare earth hypothesis? | Explained
    What’s the status of the rare earth hypothesis? | Explained Science
  • 238 bird species spotted in Thiruvananthapuram district during Great Backyard Bird Count and Campus Bird Count
    238 bird species spotted in Thiruvananthapuram district during Great Backyard Bird Count and Campus Bird Count Science
  • On zoos and magnets: the physics behind sounds
    On zoos and magnets: the physics behind sounds Science
  • Pragyan rover finds an unexpected surprise on the moon: sulphur | Explained
    Pragyan rover finds an unexpected surprise on the moon: sulphur | Explained Science
  • Fun, future, and linguistics – The Hindu
    Fun, future, and linguistics – The Hindu Science

More Related Articles

NASA’s Artemis II moonship returns home to its launch site after historic voyage NASA’s Artemis II moonship returns home to its launch site after historic voyage Science
World’s first wooden satellite built by Japan researchers World’s first wooden satellite built by Japan researchers Science
Not just forests: why grasslands also belong in national climate plans Not just forests: why grasslands also belong in national climate plans Science
New science awards, old political project New science awards, old political project Science
Indian forest activist Alok Shukla awarded the Goldman Environmental Prize Indian forest activist Alok Shukla awarded the Goldman Environmental Prize Science
‘Think before you throw’: This event will teach you how to use scraps in your kitchen for zero waste cooking ‘Think before you throw’: This event will teach you how to use scraps in your kitchen for zero waste cooking Science
SiteLock

Archives

  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022

Categories

  • Business
  • Nation
  • Science
  • Sports
  • World

Recent Posts

  • Israeli settler killed in West Bank, suspect arrested
  • Number of drought-hit taluks in Karnataka may cross 200
  • OFC menace persists in Bengaluru as new GBA regulations remain pending
  • Manal bounces back after failing to make it to u-19 WC team
  • Old era of jingoism, equating Nepali nationalism with anti-Indianism, is over: Nepal Finance Minister

Recent Comments

  1. Frankenrib on UP Teacher Who Asked Students To Slap Muslim Classmate
  2. Anthonylop on UP Teacher Who Asked Students To Slap Muslim Classmate
  3. Anthonylop on UP Teacher Who Asked Students To Slap Muslim Classmate
  4. TimmyMEs on UP Teacher Who Asked Students To Slap Muslim Classmate
  5. Josephjab on UP Teacher Who Asked Students To Slap Muslim Classmate
  • Access Denied
    Access Denied Nation
  • Access Denied Business
  • RPF-GRP team cracks theft case in Erode, recovers valuables
    TVK must ensure Governor’s address mentions about caste-survey: Anbumani Nation
  • Top U.S. court upholds ‘ million’ Trump sex assault judgment
    Top U.S. court upholds ‘$5 million’ Trump sex assault judgment World
  • Ukrainian officials say civilians were killed and wounded in Russian overnight attacks
    Ukrainian officials say civilians were killed and wounded in Russian overnight attacks World
  • Access Denied
    Access Denied Nation
  • As the summer sun cranks up the temperature, it increases the risk of heatstroke. It’s not just about feeling uncomfortable; it’s about staying safe. Heatstroke can sneak up on anyone, but it poses a particular threat to kids and parents hustling through their summer adventures.
    As the summer sun cranks up the temperature, it increases the risk of heatstroke. It’s not just about feeling uncomfortable; it’s about staying safe. Heatstroke can sneak up on anyone, but it poses a particular threat to kids and parents hustling through their summer adventures. Science
  • Access Denied
    Access Denied Nation

Editor-in-Chief:
Mohammad Ariff,
MSW, MAJMC, BSW, DTL, CTS, CNM, CCR, CAL, RSL, ASOC.
editor@artifex.news

Associate Editors:
1. Zenellis R. Tuba,
zenelis@artifex.news
2. Haris Daniyel
daniyel@artifex.news

Photograher:
Rohan Das
rohan@artifex.news

Artifex.News offers Online Paid Internships to college students from India and Abroad. Interns will get a PRESS CARD and other online offers.
Send your CV (Subjectline: Paid Internship) to internship@artifex.news

Links:
Associate Journalism
About Us
Privacy Policy

News Links:
Breaking News
World
Nation
Sports
Business
Entertainment
Lifestyle

Registered Office:
72/A, Elliot Road, Kolkata - 700016
Tel: 033-22277777, 033-22172217
Email: office@artifex.news

Editorial Office / News Desk:
No. 13, Mezzanine Floor, Esplanade Metro Rail Station,
12 J. L. Nehru Road, Kolkata - 700069.
(Entry from Gate No. 5)
Tel: 033-46011099, 033-46046046
Email: editor@artifex.news

Copyright © 2023 Artifex.News Newsportal designed by Artifex Infotech.