What are Quantum Computers?

Authors Avatar

Introduction

What are Quantum Computers?

Quantum computers have the potential to perform certain calculations billions of times faster than any silicon-based computer.

Scientists have already built basic quantum computers that can perform certain calculations; but a practical quantum computer is still years away.

Computers have become more compact and considerably faster in performing their task, the task remains the same: to manipulate and interpret an encoding of binary bits into a useful computational result.  A bit is a fundamental unit of information, classically represented as a 0 or 1 in your digital computer.  Each classical bit is physically realized through a macroscopic physical system, such as the magnetization on a hard disk or the charge on a capacitor.  A document, for example, comprised of n-characters stored on the hard drive of a typical computer is accordingly described by a string of 8n zeros and ones.  Herein lies a key difference between your classical computer and a quantum computer.  Where a classical computer obeys the well understood laws of classical physics, a quantum computer is a device that harnesses physical phenomenon unique to quantum mechanics to realize a fundamentally new mode of information processing.

In a quantum computer, the fundamental unit of information (called a quantum bit or qubit), is not binary but rather more quaternary in nature.  This qubit property arises as a direct consequence of its adherence to the laws of quantum mechanics which differ radically from the laws of classical physics.  A qubit can exist not only in a state corresponding to the logical state 0 or 1 as in a classical bit, but also in states corresponding to a blend or superposition of these classical states.  In other words, a qubit can exist as a zero, a one, or simultaneously as both 0 and 1, with a numerical coefficient representing the probability for each state.

Bits vs qubits

Consider first a classical computer that operates on a 3 bit . At a given time, the state of the register is determined by a single string of 3 bits, such as "101". This is usually expressed by saying that the register contains a single string of 3 bits. A quantum computer, on the other hand, can be in a state which is a mixture of all the classically allowed states. The particular state is determined by 8 . In quantum mechanics notation we would write:

where a, b, c, d, e, f, g, and h are complex. Let us consider a particular example:

For an n qubit , this table would have had 2n rows; for n=300, this is roughly 1090, more rows than there are atoms in the . Note that these values are not all independent, since the probability constraint must be met. The representation is also non-unique, since there is no way to physically distinguish between this quantum register and a similar one where all of the amplitudes have been multiplied by the same  such as −1, i, or in general any number on the complex . One can show the  of the set of states of an n qubit register is 2n+1 − 2. See .

The first column shows all classically allowed states for three bits. Whereas a classical computer can hold only one such pattern at a time, a quantum computer can be in a superposition state of all 8 patterns. The second column shows the "amplitude" for each of the 8 states. These 8 complex numbers are a snapshot of the register at a given time. In this sense, a 3-qubit quantum computer has far more memory than a 3-bit classical computer because it can simultaneously represent all possible states of the classical computer.

When the qubit is measured, it is projected onto one of the classically allowed states. The absolute value squared of the amplitude of each classical state gives the probability that the qubit will be measured in that state. Looking at the table, the third column gives the probability for measuring each possible register configuration. In this example, there is a 14% chance that the returned string will be "000", a 31% chance it will be "001", and so on. Each complex number (α+βi) is called an (complex valued) amplitude, and each probability (|α|2+|β|2) is the absolute square of the amplitude, because it equals |α+ βi|2. The probabilities must sum to 1.

The power of quantum computers

 is believed to be computationally infeasible with an ordinary computer for large numbers that are the product of two  of roughly equal size (eg. products of two 300-digit primes). By comparison, a quantum computer could solve this problem much more quickly. If a number has n bits (is n digits long when written in the ), then a quantum computer with just over 2n qubits can use  to find its factors. It can also solve a related problem called the . This ability would allow a quantum computer to "break" many of the  systems in use today, in the sense that there would be a relatively fast ( in n) algorithm for solving the problem. In particular, most of the popular  could be much more quickly broken, including forms of ,  and . These are used to protect secure Web pages, encrypted email, and many other types of data. Breaking these would have significant ramifications for electronic privacy and security. The only way to increase the security of an algorithm like  would be to increase the key size and hope that an adversary does not have the resources to build and use a powerful enough quantum computer. It seems plausible that it will always be possible to build classical computers that have more bits than the number of qubits in the largest quantum computer. If that's true, then algorithms like  could be made secure by ensuring that keylengths exceed the storage capacities of quantum computers.

Perhaps not as surprisingly, quantum computers could also be useful for running simulations of quantum mechanics. The speedup could be just as large as for factoring. This could be a great boon to , , , ,  and , all of which are limited today by the slow speed of quantum mechanical simulations.

Join now!

This dramatic advantage of quantum computers is currently known to exist for only those three problems: factoring, discrete log, and quantum physics simulations. However, there is no proof that the advantage is real: an equally fast classical algorithm may still be discovered (though this is considered unlikely). There is one other problem where quantum computers have a smaller, though significant (quadratic) advantage. It is quantum database search, and can be solved by . In this case the advantage is provable. This establishes beyond doubt that (ideal) quantum computers are superior to classical computers.

Consider a problem that has these four ...

This is a preview of the whole essay