10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.5 Quantum computation 421<br />

three H’s. Thus, any d-bit binary number can be represented by a collective<br />

orientation of the molecules. But what about representing all possible binary<br />

strings of length d? This turns out to be easy, because of a remarkable quantum<br />

property: An ammonia molecule can be in both 1, 0 states at the same time.<br />

One way to think of this is that lowest-energy states—called ground states—<br />

are symmetrical when the geometry is. A container of ammonia in its ground<br />

state has each molecule somehow “halfway present” at each 0, 1 position.<br />

In theoretical notation we say that the ground state of one ammonia qbit<br />

(molecule, in this model) is given by:<br />

φ = 1<br />

√ 2 ( | 0 〉 + | 1 〉 ),<br />

where the “bra-ket” notation |〉is standard (see the aforementioned quantumtheoretical<br />

references). The notation reminds us that a state belongs to<br />

an abstract Hilbert space, and only an inner product can bring this back<br />

to a measurable number. For example, given the ground state φ here, the<br />

probability that we find the molecule in state | 0 〉 is the squared inner product<br />

|〈0 | φ 〉| 2 <br />

<br />

= <br />

<br />

1<br />

√ 2 〈 0 | 0 〉<br />

<br />

<br />

<br />

<br />

2<br />

= 1<br />

2 ,<br />

i.e., 50 per cent chance that the nitrogen atom is measured to be “down.” Now<br />

back to the whole quantum register of d qbits (molecules). If each molecule is<br />

in the ground state φ, then in some sense every single d-bit binary string is<br />

represented. In fact, we can describe the state of the entire register as [Shor<br />

1999]<br />

ψ = 1<br />

2d/2 2 d −1<br />

| a 〉,<br />

where now |a〉 denotes the composite state given by the molecular orientations<br />

corresponding to the binary bits of a; for example, for d = 5 the state |10110〉<br />

is the state in which the nitrogens are oriented “up, down, up, up, down.” This<br />

is not so magical as it sounds, when one realizes that now the probability of<br />

finding the entire register in a particular state a ∈ [0, 2 d − 1] is just 1/2 d .It<br />

is this sense in which every integer a is stored—the collection of all a values<br />

is a “superposition” in the register.<br />

Given a state that involves every integer a ∈ [0,q − 1], we can imagine<br />

acting on the qbits with unitary operators. For example, we might alter the<br />

0-th and 7-th qbits by acting on the two states with a matrix operator.<br />

An immediate physical analogy here would be the processing of two input<br />

light beams, each possibly polarized up or down, via some slit interference<br />

experiment (having polaroid filters within) in which two beams are output.<br />

Such a unitary transformation preserves overall probabilities by redistributing<br />

amplitudes between states.<br />

a=0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!