Introduction to Quantum Machine Learning

Technology is growing exponentially day by day; Quantum Computing and Machine Learning are two such buzzwords in the field of computer science which are playing a vital role in the same. But ever wondered what if we combine our knowledge of the quantum world with the present-day Machine Learning and Artificial Intelligence? What impact can it have on our technologies? Will it be useful for mankind or are we just shooting arrows in the dark?
Before getting into the detail of this let us first cover the basics of Quantum Computing and its surprising rules.
Quantum Mechanics:
It is well known that all the element shows both particle nature and wave nature which is time and again proved by a lot of scientist in the past. According to the laws of Quantum realm particle (at the quantum level like electrons, photons, etc.) exists in all the possible states until its observed. This phenomenon is called Superposition . One such thought experiment is Schrodinger’s Cat experiment. As absurd it may seem though Schrodinger’s Cat is very real. It’s essential if it weren’t possible for the quantum objects to be in two-state at once the computers you are using wouldn’t exist.
An old joke says that the internet exists to allow the sharing of cat’s videos. But at a very deep level internet owe to an Australian physicist and his imaginary cat.
Building Blocks for Quantum Computing:
Our classical computers work with two-bit 0 and 1. But in case of Quantum computer a bit can exist in a superposition of 0 and 1 with some probability of being 0 and with some probability of being 1 referred as Quantum bits or Qubit inspired from the laws of Quantum Mechanics.
Obviously, humans are administered by classical physics, and we eventually live in a world represented by classical physical science (for anything bigger than a molecule). So it naturally follows that the output must be classical – but the act of measuring the values causes the qubit to lose rationality and breakdown into one of the potential states that a system can occupy.
Qubits interact with each in such a way that the present state of a bit cannot be defined independently without the knowledge of other bits which is called Quantum Entanglement. In Layman’s language, we can say each bit depends upon the present state of the other bit. Tech giants like IBM, Google, and NASA are already investing tons of money in building quantum computers.
Machine Learning with Quantum Computing:
Machine Learning is all about complicated mathematical calculations with the large dimensions of data. Since a qubit can contain both 0 and 1 so we can say
   N Qubit \mapsto 2^N Bits
So 1 qubit is 2 bits,2 qubit is 4 bits, 3 Qubit is 8 bits… and so on. Wait are you not impressed? Then let’s just imagine 300 Qubits which is 2^300 i.e 2^270 GB. We don’t even have that many atoms in the world(never underestimate the power of exponentials). Taking advantage of this classical data is converted into the Quantum data with dimensions reduced exponentially. Quantum data is any data source that occurs in a natural or artificial quantum system. Heuristic machine learning techniques can create models that maximize the extraction of useful classical information from noisy entangled data. The TensorFlow Quantum (TFQ) library provides primitives to develop models that disentangle and generalize correlations in quantum data—opening up opportunities to improve existing quantum algorithms or discover new quantum algorithms.
Apart from this unlike classical computer where a fixed input bit is sent to a module of the logic gate for some arithmetic operation and a respective fixed bit is obtained as output, in quantum computers quantum logic gates are used where input is a superposition bit and output obtained is also an entangled superposition bit. Here in this process, the same input qubit can be manipulated to the various required output with different entanglement in the logic gates and helps us to find patterns and relations faster in the data. While performing the same task in a classical computer, and in some cases, supercomputers also can take very years to calculate because of limitations in the computation power. And that’s what machine learning is all about finding hidden patterns in the data.
Some applications where we can impose quantum computing with machine learning are

  • Deep Learning one of the most fascinating and powerful areas of Machine Leaning which requires optimization and linear/matrix multiplication on a large scale. Neural networks require massive matrix multiplication but loading the same on a quantum logic gate which is a non-trivial task but can execute the multiplication of an exponentially large matrix with a similarly large vector very quickly because of its quantum properties.
  • Quantum Machine Leaning can also impact the design of drugs and healthcare which is a very tedious job even for supercomputers because it requires describing and calculating all of the quantum property of an atom in a molecule which is computationally very difficult. But a quantum computer does better because it operates on the same properties.
  • Hybrid implementations of small-scale quantum computing and powerful classical computing for very large datasets (ex: topological analysis)
  • Quantum uncertainty can be clubbed with GANs for cybersecurity to create private keys for encrypting message from one location to another so that hackers should not secretly copy the key perfectly because of the uncertainty.
  • It may sound absurd but it is a possibility that we create teleportation of information from one location to another without physically transmission the data because of these fluid identities of quantum particles which get entangled across space and time in such a way when you change one particle it impacts the other and ends up creating a channel for teleportation.

Quantum computers are not where every operation will be faster rather every operation will be a bit slower, it’s a computer where the number of operations required to reach the state is exponentially small. So, the improvement is not in the speed of operation but is in the total number of operations. They will be faster for a special type of calculation where computational parallelism is observed not for sending a mail or watching a youtube video.

Conclusion:
All of the above stuff may sound impossible but common sense is not something we can cling onto while dealing with the quantum realm. Quantum computers are not a more powerful version of our normal computer just like you cannot build a light bulb by increasing the power of candles. It’s altogether a different technology based on quantum mechanics and definitely will boast machine learning million times.
Also IBM offers access to the most advanced quantum computers for you to do real work so go and try your hands on that.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.