The Hype of Quantum Algorithms

The Hype of Quantum Algorithms

Quantum algorithms, different from quantum protocols, are a specific procedure for solving computational problems. These are different from protocols because they are a set of standard rules that allow multiple devices to communicate. Algorithms are a set of instructions given to a computer.

The two main goals of effective algorithms, quantum and classical, are simple:

  1. Accuracy — to solve a problem correctly
  2. Efficiency — to solve a problem as fast as possible

While it is important to solve problems correctly, this is usually not the issue algorithms run into. However, many times it comes down to how fast an algorithm can be computed. This is why there is a set notation to differentiate the efficiency of each algorithm, known as Big-O Notation.

Big-O Notation reports the number of operations needed to run based on the worst-case performance of the algorithm, expressed as a function of input size (n). This is different from runtime because runtime can change solely based on the hardware used to run the algorithm.

By using this benchmark to compare efficiency, algorithms can be represented in Big-O Notation in the form of O(f(n)). Where O stands for order and inside is the function of n that determines how many operations are done as the input size increases or decreases. Below are common functions of input size in Big-O Notation.

No alt text provided for this image

For quantum algorithms, the goal is to build ones that can perform more efficiently than their classical counterparts. Quantum algorithms can do this by leveraging quantum mechanical properties, such as superposition, interference, and entanglement. In fact, some quantum algorithms that can do this already exist. One such algorithm is Grover’s Algorithm, which has a quadratic speedup for search using amplitude amplification. This algorithm can perform in square root time instead of in linear time. Another algorithm is Shor’s Algorithm, which has a super-polynomial speedup for factoring using Quantum Fourier Transform. This algorithm can perform in cubed logarithmic time instead of approximately quadratic time.

Many algorithms being developed today, however, cannot be made using just quantum computing because not all quantum algorithms are more efficient than their classical counterparts, especially with current noisy quantum computers. This is what has formed near-term and hybrid algorithms that can perform applications on noisy, small available quantum devices. With hybrid algorithms, they use a combination of classical and quantum algorithms to create even greater results than choosing one or the other. In the future, the use of hybrid algorithms will become more prevalent because they take advantage of classical and quantum computing.

To view or add a comment, sign in

More articles by Michael K.

  • Two VQE Use Cases

    When talking about the usefulness of quantum computing today, the only solution is by using noisy devices. Due to this,…

  • Types of Qubits

    Most people hear about superconducting qubits from IBM’s system, however, those are not the only type of qubits. Three…

    5 Comments
  • After Sending the Circuit - Quantum Computing

    After sending a quantum circuit to its hardware, it goes through four steps: transpliation, gates as pulses, readout…

  • The Search Problem: Grover's Search

    As the amount of data is always increasing in databases, it becomes even more essential to have a reliable way to…

  • How Superdense Coding Works

    To begin discussing superdense coding, it is important to understand its classical counterpart. Let’s say that Alice…

  • Measuring Multi-Qubit Circuits

    Multi-Qubit circuits are great, however, until they are measured, we will never know their true outcome. Looking back…

  • Math of Two-Qubit Circuits

    As in the previous article, single qubit circuits may be simple to use and manipulate, but many interesting quantum…

  • Multi-Qubit Circuits

    After learning about single-qubit gates and states, it will be much easier to learn about multi-qubit counterparts. One…

  • Two Applications of Quantum Computing

    As researchers are discovering new applications for quantum computing, currently we know of several useful…

  • Eavesdropping Quantum Key Distribution

    The goal of Quantum Key Distribution (QKD) is to ensure you are having secure and private communication with the…

Others also viewed

Explore content categories