Saying that technology is developing at a crazy pace is like saying nothing at all. In computing, the empirical Moore's law is fairly well known. Moore stated at one point (or at least it is attributed to him) that the number of transistors in processors doubles every 18 months. Today we know reality is a bit different, but the comparison still fires the imagination. Technological progress, however, runs on two tracks: on one side we scale up what already exists, and on the other we build something new from new materials. It is the same in computing.
We are used to computers having bits, electronics, integrated circuits and similar inventions. But most of us probably also know that for many years people have been searching for another way of performing calculations and for different "engines" for computers. Among them, the most promising and the one that fires the imagination most is the project of the quantum computer. Yet while we have heard the term many times, I am not sure that equally many of us know what such a machine actually is and what it can help with. So today we will go through the basics of quantum computers.
How does information storage work in an "ordinary" computer?
First, it may be worth explaining or recalling how a machine based on transistors works and where its limits come from. Practically every device on which you read this, work or play is built on them. And surely each of you has heard two words: bit and byte. Let's start with the former.
Bit is short for binary digit, a digit written in the binary system. Imagine that each piece of information (or a portion of it) is represented by a light bulb that can be in one of two states: on or off. If we equate switching the bulb on with "1" (or the value "true"), we already see how bits work. It is on the basis of the "lit" bits that the computer knows what information it is processing, what it should do, which numbers to take for calculations and so on. This is also why the binary system is so close to computer scientists, and why, when shopping for computer components, we keep seeing values like 16, 32, 64, 128 and so on.
But, as you probably guess, 1 bit is very little information. With it we cannot even store a person's age, at most whether their age is greater than X or not. That is why bits are combined to form bytes, which are the smallest addressable unit of computer memory (that is, one we can point to). 1 byte is 8 bits, which means a maximum value of 255. How do we know? 8 bits together can give a maximum number of 28 - 1, that is, 255. Remember that we count from zero (the situation where all bits are "off"), hence the -1 at the end. Bytes are then combined into kilobytes, megabytes and so on, forming much larger areas of memory.
There is much more to say about the binary system and how values are calculated in it and then converted to the "normal" decimal system, but in this article I only wanted to outline the general concept of bits and bytes, because we will need it in a moment for comparison with a unit of information that uses quanta.
What is a qubit and why does it allow faster calculations?
Bits are limiting because we need a lot of them to process a huge mass of information, which means either miniaturizing the circuits or making them bigger, and we can guess that there is a limit somewhere. That is why quantum computers use a unit called a qubit (from quantum bit). Interestingly, at first glance it does not differ much from a bit, because here too we deal with a zero and a one. But it is not only 0 or only 1: it holds values from 0 to 1. So we can have a qubit that is 60% zero and 40% one. Such a "forking" of values with a certain probability is called superposition. So yes, a qubit can be a bit zero and a bit one at the same time.
This is possible thanks to quantum mechanics, which is not the topic of this text. The term entanglement also comes from there, and it is what gives quantum computers such great power. If one qubit can exist in all states at once, then two qubits (even far apart from each other) can also exist in all states at once. It follows that any number N of qubits can exist at the same time in 2n states. In such a system we no longer consider single qubits separately. They are entangled into one quantum register and treated as a whole.
It is this parallelism that explains the growing interest in quantum computers. If a traditional computer had to examine 1024 different states in a given space of possible states, it can certainly do so, but it has to examine them sequentially, one after another. Of course, we can connect computers and build even supercomputers, but that does not change the fact that to check the next state, you first have to finish checking the previous one. In quantum computers, we can check them at the same time. It is a bit like a classical chess player considering a move with four possible options who has to think through each of them (and its possible consequences) in turn, and only after going through all four variations chooses one. A quantum chess player could consider all the moves at once, cutting thinking time by a factor of four. Of course, I am simplifying now, but that is how science works: we "cheat" a little and trivialize the problem so that it can be understood, and then add further building blocks that bring the student closer to reality.
Interestingly, because advanced probability theory is involved, it has become standard to run quantum algorithms several times and average the results. Running the calculation enough times gives greater confidence in the result. It is not a high price. The same problems we want to solve on "quantum machines", if solved on classical computers, would also involve some probabilistic methods if we wanted to live to see the result.
What can quantum computers be used for?
There is no denying that this kind of machine is of interest to many institutions, including scientific ones. These computers will work best wherever a huge number of possibilities needs to be checked and simulated. Among them are:
- cryptography (that is, topics related to cybersecurity and encryption and decryption),
- bioinformatics calculations (for example, concerning DNA and proteins), leading to better drugs,
- simulating natural phenomena,
- simulating the course of disease and searching for solutions,
- financial simulations,
- planning in logistics,
- machine learning methods for large sets of parameters,
- transmitting data over distance,
- handling gigantic databases.
And that is probably only a handful of the applications for which quantum computers could eventually be used. You could say these are fields where processing huge combinations of data would take an unprofitably long time on traditional machines, even on supercomputers in the most advanced research centers.
For this reason, nobody currently talks about using quantum computers for personal purposes, for example to speed up large spreadsheets, video editing or graphics in video games. This is not about speeding up calculations that have to remain sequential: machines based on qubits will not suddenly turn a 3 GHz processor into a 300 GHz one. Though it has to be admitted that the personal computer area will probably be developed as well, and efforts are already under way.
What is the catch with quantum computers?
If the vision is so beautiful and quantum computers could help science and big business, why is it not happening on a mass scale yet? This time it is not only about money but also about technical limitations. Remember that this is still quantum mechanics: tricky, incomprehensible to many and impossible to stabilize, as anyone who paid attention in physics class or watched Hejt Park with Prof. Andrzej Dragan knows very well. The same goes for computers.
Superposition is not a stable state. That means any disturbance from outside can completely "detune" the device, and as a result qubits behave extremely chaotically. To put it more vividly, traditional computers will work correctly even after being lightly knocked on the case. With quantum machines, errors in calculations can occur even if we breathe harder several meters away from the center of the action. That is why quantum computers must operate in a strictly controlled environment, including temperatures close to absolute zero (about -273 °C, that is, 0 K (kelvins)).
Reading out the results is also troublesome, and at some point it has to happen. Because displaying the result is itself a violation of the environment's conditions, we cannot observe intermediate states, only zeros and ones, that is, classical binary values. In short, the slightest interference with the calculation process can cause so-called quantum decoherence, the collapse of the entangled state.
Do quantum computers already exist?
The most precise answer is that machines exist which are called quantum computers and have some of their properties. They are not necessarily strictly quantum computers, as physicists point out.
Still, the first integrated machine of this type for commercial use is considered to be the Quantum System One by IBM, which is located in Germany. It offers computing power equal to 27 qubits (some sources say 20) and can be rented for a modest 12,000 euros per month. It is not the only such computer, as similar ones have already been built at other centers around the world.
Of course, Google joined in as well and some time ago presented its Sycamore quantum processor with 53 qubits. The power of this chip is shown by the fact that in 2019 it completed in 200 seconds a task that, according to a scientific publication in "Nature", was predicted to take 10,000 years on supercomputers.
Quantum circuits themselves, however, were known earlier, and a fellow countryman of ours, Prof. Artur Ekert, took part in the early research. In 1995 the first controlled quantum computations took place, in 2001 a quantum computer with 7 qubits already existed (the result of work by IBM and Stanford University), and since 2007 D-Wave Systems has presented several concepts and working devices based on quantum mechanics.
Can you program quantum computers?
The fact that quantum computers are not available to ordinary mortals does not mean that no simulators or technologies exist for programming these futuristic machines. This matters, because the way of writing algorithms is already known, you can learn it and prepare for the future, and given the parallel nature of quantum computers, you have to approach it differently than classical computation.
The best-known technology for writing this kind of program is Qiskit, but it is not the only one. Some of the others, along with introductory tutorials, can be found on the Full Stack Quantum Computation site.
What other paths of computer development are there?
It is a fact that quantum technology has been the "hottest" for many years, because we are closest to its practical use. But it is not the only one. There are DNA computers, which base their operation on chemical reactions between DNA molecules, and it is in bioinformatics that the greatest hopes are tied to them. There is also the concept of the optical computer, which would greatly raise computing capabilities by using light. Still, it is in quantum computers that the greatest chances for a big technological leap in calculation are currently seen.
Summary
Although the technology indirectly exists already, there is no denying that quantum computers are still somewhat a thing of the future and are not yet widely used commercially. Still, the topic is worth following, not only out of pure curiosity but also because specialists who could work on and program such machines may indeed be needed in some time. Suitable degree programs at universities are even being created. Just as people did not believe that personal computers would find their way into every home and be widely used, we may now be just as wrong about other kinds of computers. And it would be a pity to miss a technological revolution that is happening before our eyes and that we can be part of, even if for now it is all happening very slowly.
Best regards and thank you, Jakub Rojek.
Bibliography and interesting links
- https://www.gry-online.pl/hardware/na-rynek-trafil-pierwszy-przenosny-komputer-kwantowy-za-niemal-40/ze23afb
- https://nano.komputronik.pl/n/komputer-kwantowy-jak-dziala-ile-kosztuje/
- https://www.komputerswiat.pl/artykuly/redakcyjne/komputery-kwantowe-wyjasniamy-w-prostych-slowach-czym-jest-najbardziej-skomplikowana/e3dd948
- https://www.benchmark.pl/aktualnosci/co-to-jest-komputer-kwantowy-podstawy-wideo.html
- https://dih4.ai/pl/news/38/czym-sa-komputery-kwantowe
- https://www.nexio.pl/blog/komputer-kwantowy/
- https://naukawpolsce.pl/aktualnosci/news,77973,uw-kwantowa-interferencja-pomoze-przetwarzac-duze-zbiory-danych.html
- https://pl.wikipedia.org/wiki/Komputer_kwantowy
- https://naukatolubie.pl/komputer-na-swiatlo/


