You are on page 1of 8

QUANTUM COMPUTATION

How the weird logic of the subatomic world could make it possible for machines to

calculate millions of times faster than they do today

IN THE DARKEST HOUR OF THE SECOND Other calculations -- searching the Internet,
World War, when France had fallen and German modeling the national economy, forecasting the
submarines prowled the Atlantic at will, the finest weather -- likewise strain the capacities of even
minds in Britain w ere clustered in a place known the fastest and most powerful computers. The
as Bletchley Park. There, in low wooden buildings difficulty is not so much that microprocessors are
thrown up on the grounds of a country estate fifty too slow; it is that computers are inherently
miles northwest of London, thousands of men and inefficient. Modern computers operate according
women worked furiously to decode the orders the to programs that divide a task into elementary
Axis sent its ships and troops. As intercepted operations, which are then carried out serially, one
radio messages chattered out of the teleprinters, operation at a time. Computer designers have tried
clerks would snatch them and copy them by hand for some time to coax two or more computers (or
onto standardized forms. Then the cryptanalysts at least two or more microprocessors) to work on
would take over. Mostly, they worked by hand: different aspects of a problem at the same time,
comparing sheets of piled paper, running through but progress in such parallel computing has been
permutations, crossing off false starts, staring, slow and fitful. The reason, in large part, is that
shuffling, guessing. It worked. For days or weeks the logic built into microprocessors is inherently
the fog of war would clear as the Bletchley Park serial. (Ordinary computers sometimes appear to
team found the keys to the Red and Light Blue be doing many tasks at once, such as running both
ciphers of the Axis air force, the naval and army a word-processor and a spreadsheet program, but
Enigma ciphers and then, triumphantly, the super- in reality the central processor is simply cycling
secret Fish cipher of the German high command. rapidly from one task to the next.)

It seems astonishing that the fate of Europe may A truly parallel computer, in contrast.would has
once have depended on pencil stubs and intuition. simultaneity built into its very nature. It would be
Today, when calculations become complex and able to carry out many operations at once, to
the stakes are high, ordinary brainpower almost search instantly through a long list of possibilities
always gets an electronic assist from a computer- and point out the one that solves a problem.
and the faster and more powerful the better. Many
of the hardest calculations still have to do with Such computers do exist. They are called
codes-though they are intended mostly to test quantum computers -- not so much because they
security, not compromise it. But today's codes are inherently small, but because they operate
make Fish seem like the simple letter-substitution according to the bizarre rules of quantum
ciphers beloved of puzzlers in children's mechanics, which do indeed govern the world of
magazines (a becomes b, b becomes c and so the very small: the waves and particles of
forth). One is the so-called RSA protocol, which subatomic physics. One quantum rule in particular
makes electronic banking possible by assuming creates an enormous incentive to apply quantum
banks and their customers that a bogus transfer of mechanics to computing: the startling discovery
funds or a successful forgery would take the by twentieth-century physicists that elementary
world's fastest computer millions of years to carry particles such as protons, neutrons and electrons
out. Another is the widespread Data Encryption can persist in two or more states at once. That
Standard (DES), which remains secure for most makes it possible, at least in principle, for them to
ordinary business transactions. be harnessed as processing units in a machine
more efficient than any conventionally designed
"classical" computer could ever be.
In the past few years, simple quantum computers //amit below given a mathematical
have been built in the laboratory. Yet on paper, at exemplary which you told me to include.If
least, the prospects are stunning: an algorithm that
possible,try to mould it into more compact
could factor 140-digit-long numbers a billion
(109) times faster than is currently possible with format otherwise leave it as such//
the best non quantum methods; a search engine
that could examine every nook and cranny of the Imagine a quantum computer made of two atomic
Internet in half an hour; a "brute-force" decoder nuclei acted on by an external magnetic field.
that could unscramble a DES transmission in five Suppose the nuclei belong to the neighboring
minutes. atoms of carbon and hydrogen in a single
molecule of chloroform, CHCl3. Just as electrons
PERHAPS THE MOST SURPRISING THING do, the nuclei align their spins with the magnetic
ABOUT quantum computing is that it was so field in the direction up (1) or down (0). One can
slow to get started. Physicists have known since now begin to compute with this toy system by
the 1920s that the world of subatomic particles is tickling the nuclei with radio waves. By tuning the
a realm apart, but it took computer scientists frequency and duration of a radio pulse in just the
another half-century to begin wondering whether right way, it is possible to make one or the other
quantum effects might be harnessed for nucleus flip its spin. It is even possible to ensure
computation. The answer was far from obvious. that the hydrogen nucleus flips over only if the
carbon nucleus is already pointing up. In that case
Boiled down to its essentials, any computer must the quantized behavior of the two nuclei functions
meet two requirements: it must be able to store as what computer scientists call a controlled-NOT
information as strings of 1's and 0's, or bits, and it gate, with the carbon nucleus as the control. In
must have a way of altering the bits in accordance symbols, with carbon in the first place and
with instructions. A computer transforms its bits hydrogen in the second, there are four possible
by means of gates, or devices designed to carry inputs, (1,1), (1,0), (0,1) and (0,0). Controlled-
out simple operations in logic. For example, a NOT can then operate in one of four ways: (1,1)
NOT gate converts any input bit into its opposite -> (1,0); (1,0) -> (1,1); (0,1) -> (0,1); (0,0) ->
(0 becomes l, and 1 becomes 0). An OR gate. by (0,0). Physicists and computer scientists have
contrast, converts two input bits into a single bit proved that, by stringing together single-qubit
whose value is the higher of the two (0 OR 0 operations and two-qubit controlled-NOT gates, it
yields 0; any other combination gives 1). And an is theoretically possible to build a quantum
AND gate yields a 1 only if both input bits are 1's; computer capable of doing anything a classical
otherwise, its output is a 0. Everything a computer computer can do.
does -- whether synthesizing speech, calculating
the billionth digit of pi or beating Garry Kasparov
at chess -- ultimately comes about through the
transformation of bits by gates.

Could subatomic particles store bits? Could they


form gates? Consider the electron. Every electron
acts as if it were a little magnet, spinning about an
axis, whose magnetic moment can point in only
one of two directions, up or down. Thus the spin
of the electron is quantized: it has just two
possible states, which can readily be identified
with the 0's and 1's of an ordinary computer BUT THE REAL MAGIC transpires when a two-
processor. And you can flip the bit -- that is, qubit gate acts on a particle that is in a
change a down, or 0, to an up, or l, by adding just superposition of spin states. First, place the
a smidgen of energy. chloroform molecule in a strong external
magnetic field that aligns both atomic nuclei into implies that the system as a whole cannot
the down, or 0, position. Then, with a pulse of continue to be in its superposition of the two
tuned radio waves, tweak the carbon nucleus so states (0,0) and (1,1); instead, it too takes on a
that it does a partial flip, into a superposed state single, definite state, and so the hydrogen qubit
for which the probabilities for both spin directions assumes the same value as the carbon one. In
are each 50 percent (a single-qubit operation). quantum-mechanical terms, both states appear at
Finally, carry out a controlled-NOT operation the same time because the two nuclei have
with the carbon nucleus as the control qubit. become entangled.
Because the second qubit (the hydrogen nucleus)
started out in the zero state, only two of the IF THAT WERE THE WHOLE STORY,
operations are relevant: (1,0) -> (1,1) and (0,0) -> QUANTUM computing might not seem
(0,0). In other words, if the carbon nucleus had particularly interesting. After all, the final
initially gotten flipped to a 1, the controlled-NOT outcome is just two identical qubits -- with
operation would flip the hydrogen nucleus into the random values, at that. The exciting thing about
1 state, too. If the carbon had remained a 0, the entanglement, however, is that you do not have to
controlled-NOT operation would have left the measure those values right away. Instead, you can
hydrogen in the 0 state, too. But the action of leave the system in its superposed state and carry
controlled-NOT on the superposed state of the out any number of delicate and intriguing
carbon nucleus and the 0 state of the hydrogen operations on the qubits before you finally decide
nucleus leaves the two-qubit system as a whole in to make an observation. Meanwhile, any quantum
a more complicated superposition, with a 50 operation on the system acts on all of the states
percent chance of being in the (1,1) state and a 50 simultaneously. If the number of qubits is q, the
percent chance of being in the (0,0) state. Such a total number of possible states is 2q.
superposition is called an EPR state, after the
physicists Einstein, Bons Podolsky and Nathan Thus from, say, 500 particles you could, in
Rosen, who first studied it in 1935. principle, create a quantum system that is a
superposition of as many as 2500 states. Each state
Intensely puzzling aspects of the EPR state arise would be a single list of 500 1's and 0's. Any
when the two qubits are physically separated and quantum operation on that system-a particular
independently operated on. Suppose you measure pulse of radio waves, for instance, whose action
only the value of the first qubit, the spin state of was, say, to execute a controlled-NOT operation
the carbon nucleus. When you do that, you run up on the 175th and 176th qubits-would
against one of the fundamental rules of quantum simultaneously operate on all 2500 states. Hence
mechanics: If an interaction gives any information with one machine cycle, one tick of the computer
about the state of a quantum system, the rest of clock, a quantum operation could compute not
the system immediately readjusts itself to be just on one machine state, as serial computers do,
consistent with that information. In general, any but on 2500 machine states at once! That number,
attempt to measure or observe a system in a which is approximately equal to a 1 followed by
superposition of two or more states immediately 150 zeros, is far larger than the number of atoms
forces the system to make a decision. Instead of in the known universe. Eventually, of course,
continuing in its intermediate, superposed state, observing the system would cause it to collapse
the quantum computer jumps into just one of the into a single quantum state corresponding to a
possible quantum states open to it. In the language single answer. a single list of 500 1's and 0's -- but
of quantum mechanics, it decoheres. that answer would have been derived from the
massive parallelism of quantum computing.
By observing the carbon qubit of the EPR state,
then, you force decoherence and destroy the POINT TO PONDER:
superposition; you had an even chance of
observing a 0 or a 1, but you could observe only The consequence is that for some purposes
one or the other value. But that observation also quantum computers would be so much faster than
classical computers are that they could solve A SIMILARLY SUBTLE APPROACH HAS
problems the classical computers cannot touch. If BEEN devised for factoring large numbers.
functioning quantum computers can be built, Factoring is what computer scientists call a one-
harnessing their potential will be just a matter of way problem: hard in one direction but easy in the
creating algorithms that carry out the right other. Suppose I asked you the question, "Which
operations in the right order. two integers can be multiplied to obtain the
number 40,301?" Systematically testing all the
THAT REALIZATION HAS TOUCHED OFF candidates might keep you busy for fifteen
AN explosion of research into the theory of minutes or so. But if I asked you to multiply 191
quantum computing. The field poses some unique by 211, it would take you only about twenty
challenges. For one thing, the mathematics seconds with pencil and paper to determine that
involved in analyzing the evolution of a system of the answer is 40,301. The lopsided difficulty of
particles is daunting. Just as you might fly from factoring compared with multiplication forms the
another obstacle is that quantum computers are basis for practical data encryption schemes such
extremely fragile. To remain in an intermediate, as the RSA protocol. Large prime numbers -- say,
superposed state, a quantum-mechanical system a hundred digits each or so -- make good
needs to be almost totally isolated from its "passwords" for such systems because they are
environment; the slightest interaction with easy to verify: just multiply them together and see
anything outside itself will perturb the system, whether their product matches a number that is
destroy the superposition and upset the already stored or that might even be made
computation. As a result, anyone who wants to publicly available. Extracting the passwords from
build a quantum computer must be careful to a 200-digit composite product of two large
shield it from heat, cosmic rays and other primes, however, is equivalent to factoring the
potential outside influences-including outside large composite number -- a problem that is very
observers. Moreover, once your quantum hard, indeed. The largest number that ordinary
computer has solved a problem for you, your own supercomputers have been able to factor with non-
need to read out the answer forces you to destroy quantum algorithms is "only" 140 digits long.
the system.
Quantum algorithms, however, are another matter.
The quirkiness of quantum systems goes a long In 1994 Shor discovered one that makes factoring
way toward explaining why the most impressive almost as efficient as multiplication. In computer
studies in quantum computing so far have taken science, one often tries to solve hard problems by
place on paper. While experimenters struggle to converting them into simpler problems that one
build even rudimentary systems in the lab, already knows how to solve. In that spirit, Shor
theorists have raced ahead to anticipate the started by employing well-known results from
software such computers will need, should they number theory to convert the problem of factoring
ever become practical. into one of estimating the periodicity of a long
sequence. Periodicity is the number of elements in
One essential piece of software for any computing the repeating unit of a sequence. The sequence 0,
technology is a way to correct errors. Machines 3, 8, 5, 0, 3, 8, 5, . . ., for instance, has a
make mistakes. Classical computers are designed periodicity of four. To estimate periodicity, a
to catch errors through redundancy. They perform classical algorithm must observe at least as many
each elementary computation several times and elements as there are in the period. Shor's
then accept the most frequent answer as correct. algorithm does much better. It sets up a quantum
Such a "majority rules" approach would not work system made up of a large number of superposed
in quantum computers, though, because states. Each state is identified with an element of
comparing answers would entail precisely what the repeating sequence. A single quantum
must be avoided: observing the system before the mechanical operation then transforms each
computation is done. superposed state in a way that depends on the
value of the sequence to which the state
corresponds. A series of such quantum At this stage the answer is in the system; the trick
mechanical operations, mathematically analogous is to get it out. Observing the system without
to X-ray diffraction, is carried out on the further processing would instantly collapse the
superposed states. superposition into one of its million entangled
states, but the chances that that state will be the
The method works for much the same reason X- one that gives you the name you need would be
ray diffraction enables mineralogists to deduce the just one in a million. You might just as well have
periodicity of the crystal lattice of an unknown picked a name at random from the phone book.
solid substance. The periodic structure of the
lattice allows only waves of certain wavelengths The way around the problem, then, is further
to propagate in any specified direction. Similarly processing: a sequence of quantum mechanical
in Shor's algorithm, the quantum system of operations on the superposed states that amplifies
superposed states allows only certain of the wave- the probability that when the superposition is
like probabilities associated with the quantum observed, it will collapse only into the state
states to "propagate"; the rest are canceled out or corresponding to the desired name. That is what
damped away. The algorithm then calculates those my search algorithm does. Like Shor's factoring
propagating wavelengths, estimates the method, the algorithm takes advantage of the
periodicity of the superposed states, and finally wave-like nature of probability in a quantum
deduces the factors of the number. The result is computer.
the fastest factoring algorithm known. Factoring is
a kind of search -- a search for factors. For other //Amit here one more example going to
searches, however, a more general-purpose strike with a bang! If interested, saving
algorithm is needed. My own most important
private Ryan (kidding of course), then
contribution to quantum computation is an
efficient quantum mechanical algorithm for put it mathematical dress-up otherwise
searching unsorted databases. That algorithm, let the river flow with its triumphant
which I discovered in 1996, is faster than any saga //
classical algorithm can ever be. More than that, it
has been shown that no other quantum mechanical To take a relatively straightforward example of
algorithm can ever beat it either. how the process works, suppose you want to find
a name in a phone book that has only four entries.
A quantum computer could do much better, To set up your quantum computer, you decide to
thanks to its ability to carry out many operations compute with a pair of particles -- for variety,
at the same time. Assuming you had access to a choose protons this time -- and you arrange things
quantum system, here is how you could do the so that each name in the phone book corresponds
search: First choose enough particles (some to a distinct combination of spins: (0,0), (0,1),
number q) so that there are enough quantum (1,0) or (1,1). Now suppose that, unbeknownst to
states in the system (2q) to assign at least one you, the name you want to find corresponds to the
state to each name in the phone book. (To get a third state, (1,0). That state is the target.
million names, for instance, you would need
twenty particles, since 220 is slightly more than a YOU BEGIN BY INITIALIZING THE SPINS
million.) Place the information from the phone OF THE protons with a strong magnetic field,
book into quantum memory, and match each aligning both of them in the up direction. Then
name to a different quantum state. Put the system you give each particle a fainter dose of
into a superposition of the million or so states. magnetism, just enough energy to change the spin
Now the system can do a computation that checks state to a superposition that is 50 percent up and
whether each of the names is the right name. 50 percent down (a "50 percent flip"). The two-
Thanks to quantum superposition, the particle system has now become a superposition
computation takes place on all states of the four possible combinations of spins, each
simultaneously. with a probability of 1/4.
In quantum mechanics each probability is treated amplitude becomes 1/4 below the average, or 0. A
mathematically as the square of a theoretical (but similar calculation for each state shows that the
not directly observable) construct called the amplitudes become (0, 0, 1, 0). The square of each
probability amplitude. Strictly speaking, what my of those numbers gives the probability of each
search algorithm manipulates are probability state. In other words, the effect of the operations
amplitudes. The advantage of working with is to drive the quantum computer into the target
probability amplitudes is that, unlike actual state; the probability of the target state, (1,0), has
probabilities, they can be either positive or reached certainty. If you now observe any of the
negative, and so they can cancel one another out, spins of the protons, the quantum superposition
just as waves do in water. The algorithm makes will collapse into a display of the right answer.
use of that property by canceling computational
paths that initially seem promising but that later MOST SEARCHES, OF COURSE, WOULD
turn out to be dead ends. SCAN a list longer than four items. To do so, the
algorithm might repeat the three quantum
Since each of the four superposed states has a operations many times, nudging the system
probability of 1/4, the probability amplitude of toward the desired state with every pass through
each state in my two-particle example can be the loop. What makes quantum searching so
either +1/2 or -1/2 (technically, in fact, it can even powerful is that, for a list of N items, the
be a complex number). The algorithm ensures that algorithm requires only about the square root of N
all the probability amplitudes begin with the same steps to find its quarry-not the N/2 steps of the
value: (1/2, 1/2, 1/2, 1/2). Now comes the heart of classical trial-and-error search. Thus a quantum
the algorithm. The first operation changes the sign computer could search a million-name phone
of the amplitude of the target state (in my book in 1,000 tries instead of half a million. The
example, the third state); thus the amplitudes longer the list, the more dramatically the quantum
change to (1/2, 1/2, -1/2, 1/2). That is possible algorithm will outpace its classical rival.
because, in a sense, when the quantum computer
is in the target state, it can verify that it is indeed The algorithm is good for more than merely
in the right state and can then invert the phase in looking up phone numbers. It can search through
that state. Note that this operation reveals nothing items not explicitly spelled out on a list, and so it
to the outside world, because the probabilities -- can take a brute-force approach to any problem
that is, the squares of the probability amplitudes -- whose potential solutions can be systematically
remain unchanged. enumerated, trying them all until it stumbles on a
solution that works. Non-quantum versions of the
Next come three quantum operations: a 50 percent brute-force approach are already a staple of
flip, an operation that inverts the phase of one of computing: such algorithms are applied in
the states, and another 50 percent flip. The net programs that play games such as chess. Because
effect is a maneuver called "inversion about the of its speed and versatility, it seems likely that the
average." If you imagine the average value as a search algorithm will be a key component in the
crossbar whose height is equal to the average software of the future.
value of the amplitudes, with the various
individual amplitudes jutting up or dangling down IF THE TWENTY-FIRST CENTURY IS TO BE
from it, you invert each amplitude by flipping it AN AGE of quantum computers, some major
over to the opposite side of the bar. advances will be necessary. Certainly the working
models built to date come nowhere near their
What is the net effect? The average of the theoretical potential. Even factoring two-digit
amplitudes in the four states, after changing the numbers remains beyond them. The most
sign of the amplitude of the target state, is (1/2 + l promising approach so far is a spin-off from the
/2 - 1/2 + 1/2)/4, or 1/4. The first state has an medical technology of nuclear magnetic
amplitude of l /2, which is 1/4 above the average, resonance (NMR) imaging. The computers are
and so after the inversion about the average its molecules in a liquid, and information is encoded
in atomic nuclei in the molecules. Instead of perturbations small rather than by making the
trying to coax results out of a few fragile qubits, system large, and stabilization beyond a certain
the technique is based on manipulating, or, in degree is in practice ruled out. It is not hard to
effect, programming, enormous numbers of nuclei show that this makes the experimental realization
with radio-frequency pulses and then harnessing of a quantum computer of useful computational
statistics to filter the right answers (about one power impossible by any currently attemptable
result in a million) out of the background of noise. method. The physics of quantum information
processing remains interesting, one should add. It
Will quantum computers ever grow into their is simply that great computing power is not
software? How long will it take them to blossom available.
into the powerful calculating engines that theory
predicts they could be? I would not dare to guess, The method of active stabilization is extremely
but I advise all would-be forecasters to remember powerful in classical systems, and is at the heart
these words, from a discussion of the Electronic of mechanical devices from early steam engines to
Numerical Integrator and Calculator (ENIAC) in the latest microchip processors. However, it is not
the March 1949 issue of Popular Mechanics: obvious whether anything like active stabilization
Where a calculator on the ENIAC is equipped is possible for a quantum system, since feedback
with 18,000 vacuum tubes and weighs 30 tons, control involves dissipation, and therefore is non-
computers in the future may have only 1,000 unitary. Hence one may frame the following
vacuum tubes and weigh only 1.5 tons. question:

New York to Los Angeles either directly or via ``Is active stabilization of a quantum bit possible
any of several hub airports, a subatomic particle
changing from one state to another can take
several possible paths. The difference is that,
whereas your plane can take only one of the
available routes, the particle acts like a wave that
simultaneously takes them all. Furthermore, the
probability of finding the particle along each path ”
fluctuates from point to point and from moment to
moment, as if it were a wave with crests and The idea of a quantum bit or qubit is introduced in
troughs. To evaluate the probability that any order to emphasize that the aim is to stabilise a
particular state will come to pass, one must sum complete quantum state, not just a chosen
the probabilities of all the paths leading to that observable. Also, we are concerned with the
state, being careful to keep the probability waves properties of the quantum state, not with the
along each path in the proper phase. physical system expressing it. For example, a
single qubit may be expressed by a system whose
All physical systems are subject to random Hilbert space has many more than two
fluctuations, including those degrees of freedom, dimensions. Among the possible changes such a
which may be described in terms of classical system may undergo, some will affect the stored
mechanics. However, classical degrees of freedom single qubit of quantum information, but others
may be stabilized to a very high degree, either by will not.
making the ratio of system size to perturbations
size very large (passive stabilization), or by The surprising answer to our question is ``yes,''
continuously monitoring the system and providing with some important provisos, which depend on
greatly enhanced `inertia' against random the type of stabilization sought. The stabilization
fluctuation be means of feedback control (active is based on the classical theory of error correction,
stabilization). Of these two possibilities, the which provides a very powerful technique by
former, that is passive stabilization, can be applied which classical information can be transmitted
in the quantum regime only by making the without errors through the medium of a noisy
channel. Classical error correction operates by the
judicious use of redundancy, that is, sending the
same information many times. In this sense it is
akin to making the system larger in order to make
it more resistant to perturbations. However, the
precise way in which the redundancy is
introduced is very important. The type of
redundancy, or encoding, employed must be
carefully matched to the type of noise in the
channel. Typically, one considers the case of
random noise, which affects different bits
independently, but this is not the only possible
case. The encoding enables the most likely errors
in the information to be identified and corrected.
This corrective procedure is akin to active
stabilization, and brings the associated benefits of
powerful noise suppression.

The ending note, of course regarding the article,


not of this heightened jaunt of quantum
computation, suggest that many intrinsic and
prone to excel concept of quantum computation
will see the light of future with astonishing facts
and figure running down the streets of common
people actually correlating it as the habitual
practice and exercise as one’s domain.

You might also like