Golden interior of a quantum computer

Quantum computing: the essentials in 5 minutes

State superposition, parallel universes, the tunnel effect, teleportation, entanglement, quantum medicine or even the next Marvel film: we hear all sorts of things today… and often utter nonsense about what "quantum" is. Let's clear things up…


Separating truth from falsehood in the quantum field is rarely easy, especially as this revolutionary world of physics bases its formalism on principles that are not very intuitive… or even downright abstract. And when you add to that computing and a race to have the most powerful machine, you get articles every month explaining that [insert company name] has beaten the record set by [insert name of rival company] in the field of [insert vague quantum computing notion]. So it is hard to find your way around, and to understand simply and quickly how it works! To see things a little more clearly, here are the essentials of quantum computing. And all without complex equations…



What is the computing + quantum combo?


Quantum computing is a subfield of computing that makes use of the properties of quantum physics in order to carry out logical operations. In other words, the basic idea is to reproduce the operation of a classical computer, but boosted with quantum physics. By analogy with classical computing and its "bits", there are "qubits" (for quantum bits), and by analogy with "logic" gates, there are "quantum" gates. It is in these basic components that two founding properties of quantum physics come into play: state superposition and entanglement.



No cats were harmed, but…


The first time anyone told you about quantum physics, it is highly likely that the famous Schrödinger's cat and its macabre condition were part of the story. While we may appreciate this example, it can easily be misleading. As a quick reminder of the experiment, a cat is in a box into which a poisonous gas can spread. The release of this gas depends on the state of an atom that has a 50% chance of decaying during the next 10 minutes. As soon as the atom decays, the gas is released and it's goodbye cat. As long as the box is not opened, from our point of view the cat is both alive and dead, because we do not know whether the atom has decayed. The problem with this experiment is that it intuitively suggests that by opening the box we are merely observing the state of the cat, whereas in reality we are far more responsible than that.


The solution is choice


The person who demonstrated that you were responsible for the cat's fate is Alain Aspect, (very) recently awarded a Nobel Prize for the experiment that bears his name, carried out in the early 1980s. What he demonstrated is that in quantum physics, when there was uncertainty about the state of a system, that state was determined at the moment of measurement, and not before (determined by a hidden variable, as the Schrödinger's cat experiment suggests).


State superposition is therefore that period of time during which all the possible scenarios coexist, before the measurement "chooses", with a certain probability, one of the possible outcomes. In other words, as long as we do not know, we say that the cat is in a state superposition, dead and alive, and that it is the measurement that will determine the state of the cat. This proposition also implies that once the measurement has been made, it is no longer possible to interact with the system. We then say that the superposition collapses, and we obtain one of the possible states, each having a certain probability of being measured.


From a more abstract point of view, we can imagine two timelines coexisting. One in which the atom has decayed, and the other in which the atom is intact. Measuring therefore amounts to choosing one timeline at the expense of another. In our example, the more time passes, the more likely the timelines in which the cat is dead become.




And where do qubits fit into all this?


To put it simply, a qubit is the generalised version of Schrödinger's cat! Like a classical bit, a qubit is a two-state system: 0 or 1. The difference is that, during the calculation, the qubit is in a superposition of state 0 and state 1. Each of these two states has a certain probability of being measured, and the sum of these two probabilities is 1 (one of the two is necessarily measured).

If we now consider N qubits, each in a state of superposition, we can encode 2^N (2 x 2 x 2… N times) different binary sequences simultaneously, where N bits would encode only one of the 2^N possible sequences. Not bad, is it?

The idea is like comparing a library with an e-reader. Instead of thousands of books each containing thousands of pages, you have a screen the size of one page, able to display any combination of characters (and therefore any page of any book). In short, the more complex the problem, the more worthwhile it is to tackle it with quantum computing, because far fewer variables will be needed to encode and process all the states.


How do you do 1+1 with a quantum computer?


Now that we have our little magic pebbles for calculating, we need to make them interact with one another. If we take two qubits in a state of superposition, they are entangled if the state of one depends on the state of the other when they are measured. In a quantum computer, it is the quantum gates (acting on several qubits) that make it possible to entangle qubits with one another, and to carry out complex operations.



Programming on a quantum computer is therefore done by defining a set of gates, called a quantum circuit. The aim of this circuit is to favour the measurement of certain binary sequences that answer (if we have done our job well) the problem posed. By running the circuit many times, and noting the state measured at each iteration, we just need to find the sequences measured most often and consider them as the solution to our problem. In practice, it is as if we had a die in front of us and wanted to know whether it was loaded. A single throw would give us no indication, but getting a 6 on 500 out of 1000 throws would allow us to reach a conclusion about the nature of the die.


On the threshold of the revolution


You now have the basics of quantum computing, and you can already guess the potential this technology holds. In a future article, I will set out in more detail the current capabilities and limits of this technology, as well as the main avenues for improvement that could make quantum computing the computing of tomorrow. A real upheaval in prospect.



Sources:


  1. Aspect's experiment: http://feynman.phy.ulaval.ca/marleau/pp/03epr/epr_3/epr_3.html
  2. The qubit as a mathematical object: https://learn.microsoft.com/fr-fr/azure/quantum/concepts-the-qubit
  3. State superposition: https://www.youtube.com/watch?v=Va-WLeObSSo
  4. Quantum entanglement: https://www.youtube.com/watch?v=5R6k2mEacZo


Comment ( 0 ) :

Subscribe to our newsletter

We post content regularly, stay up to date by subscribing to our newsletter.