Problems that only Quantum Computers can solve - Q-munity (2024)

In this article, we will explore how quantum algorithms can solve real-world problems, and how you can get involved in this quantum revolution!

Quantum computers can solve NP-hard problems that classical computers are unable to solve.

Currently, the two most important and notable complexity classes are “P” and “NP.” P represents problems that can be solved in polynomial time by a classical computer. For instance, asking if a number is prime belongs to P. NP problems are problems that cannot be solved in polynomial time by classical computers, but the answers to the problem can be verified quickly with a classical computer. Asking what are the prime factors of a number is an NP problem, as it can be easily verified if x is the prime factor of a number y, however it is very hard for the computer to find out its prime factors. The problem of whether P=NP, whether the two complexity classes are distinct or not is an important dilemma and the one who solves it gets a million dollars!

In 1993, Ethan Bernstein and Umesh Vazirani defined a new complexity class called “bounded-error quantum polynomial time” or BQP. They defined this class to contain decision problems — problems with a yes or no answer — that quantum computers can solve efficiently. They also proved that P is a subset of BQP- that a quantum computer can solve all problems that a classical computer can solve.

They also defined another class of problems called PH or “Polynomial Hierarchy”. PH is a generalization of NP. Problems in PH are NP problems that are made more complex by asking questions like is it true “for all” or “does it exist for a particular x”.

But can a quantum computer solve problems that classical computers are unable to solve- the NP hard problems? Can we use quantum computing to solve practical problems that industries or companies are facing in real life? Well, you might have heard about how Shor’s algorithm might crack the encryption codes such as RSA and break into your bank account. Shor’s algorithm is able to solve the NP-hard problem of factoring large numbers- check out our implementation of Shor’s algorithm.

Recently, researchers at Chalmers University of Technology have been able to solve a small part of a logistics problem faced by the aviation industry- the Tail Assignment Problem- assigning airplanes to flights with the goal of minimizing connection times between flights and keeping in mind maintenance constraints.

This is a scheduling problem- which scales up exponentially with the number of flights and routes. The team at Chalmers was able to execute their algorithm on a processor with two qubits using the Quantum Approximate Optimization Algorithm or QAOA. The research team also simulated the optimization problem for up to 278 aircraft, however it requires a 25 qubit processor. Read this article to find out more!

So what exactly is the Quantum Approximate Optimization algorithm?

Optimization is searching for an optimal solution in a finite or countably infinite set of potential solutions of a cost function, which is set to be maximized or minimized. In the tail assignment problem, the connection times between flights should be minimized. The problem can also be defined in a way such that the total distance travelled by all airplanes over all air routes should be minimized.

Let us take a simple version of an optimization problem that is easy to visualize. Consider the Travelling Salesman Problem: A salesman wants to travel through all historic sites of the United States to sell souvenirs. The aim is to find the shortest route the salesman should travel such that he visits all the sites and returns back to his starting point.

Problems that only Quantum Computers can solve - Q-munity (1)

The image above represents the shortest path to travel through all the historic sites of America. It would take the salesman 50 years to travel this path!

For a small number of cities, we can apply the “brute-force” solution: calculate all the possible routes and pick the shortest. For a large number of cities n, the complexity of this approach is O(n!), which is not efficient

How we would find this path is to use graph theory: each historic site is a vertex, and the edges are drawn between the vertices and represent the journey that the salesman takes. There will be numbers between the edges that represent the distance between the sites. How we minimize the distance is to first convert the problem into a weighted bipartite graph, and minimize the sum of the edges of the graph.

Problems that only Quantum Computers can solve - Q-munity (2)

A weighted bipartite graph looks like the one above. We describe it as a hamiltonian cycle: A cycle where the start and end point is the same and uses each vertex of the graph exactly once.

In qiskit, we can map this problem to a Ising Hamiltonian, and minimize the value of the Ising Hamiltonian using the minimum variational Quantum Eigensolver optimizer. We will use the QuadraticProgram() function in Qiskit to make a model of the optimization problem. Check here to find out more.

To find out the shortest path between the vertices, we will be using the tsp module from qiskit.optimization.applications.ising class to solve our problem! Then we will find out what the shortest distance is( which is the objective or the minimum value of our cost function)

Our output will look something like this:

This means that the solution is the path from 1 to 2 to 3 to 0 to 1. The minimum distance when traversing the graph is 236.0.

Problems that only Quantum Computers can solve - Q-munity (3)

If we want to make sure this is the correct solution, we can compare with the brute force method(to find the minimum sum of the edges).

We are still in the Noisy Intermediate Quantum Scale Era, and have a long way to go before running optimization algorithms will be feasible. In the paper, the authors estimate that 420 qubits will be necessary to run the QAOA in a short amount of time and scalable to complex optimization problems. Currently, IBM’s supercomputers work on around 50 qubits. However, quantum optimization can be used to solve other problems such as finding the ground state energy of a molecule or optimizing portfolios in finance.

Qiskit can solve a wide range of combinatorial optimization problems. To find out more, check [this](https://qiskit.org/textbook/ch-applications/qaoa.html.).

In this paper, computer scientists have found out a problem that is in BQP but not in PH. This means even if classical computers were able to solve NP problems, quantum computers still have an advantage over them as a problem is found to exist in BQP and not PH- problems that only a quantum computer can solve. This further proves the fact that quantum computers have a processing capacity beyond what a classical computer can achieve.

Problems that only Quantum Computers can solve - Q-munity (2024)

FAQs

What kind of problems can quantum computers solve? ›

Quantum computers can run more accurate and realistic prototyping and testing. In the manufacturing space, this could help reduce the cost of prototyping and result in better designs that don't need as much testing. Drug and chemical research.

What are the real world problems solved by quantum computing? ›

Which Real-World Use Cases for Quantum Computers Are Now on the Way?
  • The quantum advantage simplified.
  • Material simulation: drugs discovery and battery chemistry.
  • Banking and Finance: pricing optimization and fraud detection.
  • Automotive and Aerospace: Fluid dynamics and the paint shop problem.
  • Market Outlook and Conclusions.
May 23, 2024

What can quantum computers do more than regular computers? ›

Quantum computing has been hailed as a technology that can outperform classical computing in both speed and memory usage, potentially opening the way to making predictions of physical phenomena not previously possible.

Which problem is more effectively solved using quantum? ›

Ans. Quantum computers excel at problems with many variables, where evaluating all possibilities becomes overwhelming for classical computers. Examples include complex scheduling, logistics optimization, financial modeling, and simulating complex molecules.

What can quantum computers not do? ›

For instance, contrary to some reports, quantum computers cannot store infinite data. While qubits can hold more information than binary bits because of their ability to exist in multiple states simultaneously, there is still a finite limit to the number of qubits and the data they can represent.

What is a limitation of quantum computers now? ›

Just like in classical computing's early days, error correction is a major painpoint for quantum computing today. Quantum computers are sensitive to noise and difficult to calibrate.

What is the biggest problem with quantum computing? ›

Cost and Accessibility. Currently, quantum computers are expensive and require very specialized environments to operate. Therefore, one of the big challenges for this technology is to make it accessible for widespread use.

Can quantum computers solve physics problems? ›

Physicists Finally Find a Problem That Only Quantum Computers Can Do. Researchers have shown that a problem about the energy of a quantum system is easy for quantum computers but hard for classical ones.

Which of the company's problems could be solved more easily using quantum computing? ›

In conclusion, the difficulty that may be handled with quantum computing the quickest is routing the vehicles in a way that maximizes fuel economy, given the nature of quantum computing's capabilities in addressing complicated optimization problems.

What is better than a quantum computer? ›

Classical computers are much faster than quantum computers, but sometimes quantum computers have dramatically better algorithms. So, in our analogy, classical computers would always be better in open water, where both have access to the best route (algorithm).

Why don't we use quantum computers? ›

Mostly for experiments. It has not yet been possible to build quantum computers with many quantum bits. Quantum bits are used to process the information in the computer, and a low number of quantum bits therefore limits the complexity of the calculations the quantum computer can perform.

What problems can quantum computers solve today? ›

Complex problems that currently take the most powerful supercomputer several years could potentially be solved in seconds. Future quantum computers could open hitherto unfathomable frontiers in mathematics and science, helping to solve existential challenges like climate change and food security.

Can quantum computers solve real world problems? ›

A quantum computer can't solve any problem that a “classical” computer can't. A quantum computer can solve many problems faster, factoring being the most common example. But a quantum computer can be simulated by a classical computer. It is very slow, taking time exponential in the number of qubits.

Can quantum computers solve math problems? ›

Researchers from Sandia National Laboratories and Boston University have demonstrated that quantum computers can solve an advanced math problem using much less memory.

What do quantum computers help with? ›

Quantum computing can improve research and development, supply-chain optimization, and production. For example, you could apply quantum computing to decrease manufacturing process–related costs and shorten cycle times by optimizing elements such as path planning in complex processes.

What can quantum computers break? ›

Researchers typically estimate that it will be many years until quantum computers can crack cryptographic keys—the strings of characters used in an encryption algorithm to protect data—faster than ordinary computers.

Top Articles
Lost Debit Card? Here's What to Do Next - NerdWallet
Investment Clubs - Bank of Africa Uganda
Star Sessions Imx
Roblox Developers’ Journal
Directions To 401 East Chestnut Street Louisville Kentucky
THE 10 BEST River Retreats for 2024/2025
How do you mix essential oils with carrier oils?
Meg 2: The Trench Showtimes Near Phoenix Theatres Laurel Park
Craigslist Greenville Craigslist
Aces Fmc Charting
Nonuclub
Transfer Credits Uncc
U/Apprenhensive_You8924
Elbasha Ganash Corporation · 2521 31st Ave, Apt B21, Astoria, NY 11106
Les Schwab Product Code Lookup
Dr. med. Uta Krieg-Oehme - Lesen Sie Erfahrungsberichte und vereinbaren Sie einen Termin
Tcu Jaggaer
Bj Alex Mangabuddy
Lazarillo De Tormes Summary and Study Guide | SuperSummary
The Exorcist: Believer (2023) Showtimes
Northeastern Nupath
623-250-6295
Lawson Uhs
Christina Steele And Nathaniel Hadley Novel
6892697335
Ticket To Paradise Showtimes Near Cinemark Mall Del Norte
Is Poke Healthy? Benefits, Risks, and Tips
Aes Salt Lake City Showdown
Craigslist Comes Clean: No More 'Adult Services,' Ever
Rgb Bird Flop
Greyson Alexander Thorn
Eero Optimize For Conferencing And Gaming
Half Inning In Which The Home Team Bats Crossword
Palmadise Rv Lot
Reli Stocktwits
Drabcoplex Fishing Lure
Terrier Hockey Blog
Nobodyhome.tv Reddit
Delaware judge sets Twitter, Elon Musk trial for October
Koninklijk Theater Tuschinski
Überblick zum Barotrauma - Überblick zum Barotrauma - MSD Manual Profi-Ausgabe
„Wir sind gut positioniert“
Craigslist Putnam Valley Ny
Gateway Bible Passage Lookup
Craigslist Com Panama City Fl
Ferhnvi
Server Jobs Near
10 Bedroom Airbnb Kissimmee Fl
Spongebob Meme Pic
Rise Meadville Reviews
Craigs List Sarasota
211475039
Latest Posts
Article information

Author: Patricia Veum II

Last Updated:

Views: 6462

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Patricia Veum II

Birthday: 1994-12-16

Address: 2064 Little Summit, Goldieton, MS 97651-0862

Phone: +6873952696715

Job: Principal Officer

Hobby: Rafting, Cabaret, Candle making, Jigsaw puzzles, Inline skating, Magic, Graffiti

Introduction: My name is Patricia Veum II, I am a vast, combative, smiling, famous, inexpensive, zealous, sparkling person who loves writing and wants to share my knowledge and understanding with you.