This is my notes for a highly recommended book “QUANTUM COMPUTING: A Gentle Introduction” by Eleanor Rieffel and Wolfgang Polak. The colored blocks in this notes are my interpretations, questions and answers to the exercises.
All theory is gray, my friend. But forever green is the tree of life.
Grau, teurer Freund, ist alle Theorie und grün des Lebens goldner Baum.
2.1 The Quantum Mechanics of Photon Polarization
2.1.1 A Simple Experiment
Figure 2.1, Figure 2.2, Figure 2.3
2.1.2 A Quantum Explanantion
- When and are both non-zero, is said to be a superposition of and .
- When a photon with polarization meets a polaroid with preferred axis , the photon will get through with probability and will be absorbed with probability ; the probability that a photon passes through the polaroid is the square of the magnitude of the amplitude of its polarization in the direction of the polaroid’s preferred axis.
2.2 Single Quantum bits
- The space of possible polarization states of a photon is an example of a quantum bit, or qubit. A qubit has a continuum of possible values: any state represented by a unit vector is a legitimate qubit value. The amplitudes a and b can be complex numbers.
Question 2.2
In the photon polarization case, the imaginary coefficients correspond to circular polarization. What does this mean?
- Any quantum mechanical system that can be modeled by a two-dimensional complex vector space can be viewed as a qubit.
- Any vector multiplied by a modulus one [unit length] complex number represents the same quantum state.
- Dirac’s bra/ket notation:
A can be written as . The conjugate transpose of a ket is called a . If , the
. - is if .
- In the standard basis, with ordering , the basis elements and can be expressed as and .
- Representing as and as or representing as and as would be equally good as long as it is done consistently.
- Instead of qubits, physical systems with states modeled by three- or n-dimensional vector spaces could be used as fundamental units of computation. Three-valued units are called , and n-valued units are called qudits. Since qudits can be modeled using multiple , a model of quantum information based on qudits has the same computational power as one based on qubits.
2.3 Single-Qubit Measurement
- Given a device for measuring the polarization of photons with associated basis , the state is measured as with probability and as with probability .
This is an axiom based on empirical observation.
Superposition
is basis-dependent: all states are superpositions with respect to some bases and not with respect to others. For instance, is a superposition with respect to the basis but not with respect to .
It is okay to think of a superposition as in some sense being in both state and state at the same time, as long as that statement is not taken too literally: states that are combinations of and in similar proportions but with different amplitudes, such as , and , represent distinct states that behave differently in many situations.
2.4 A Quantum Key Distribution Protocol
- Two general classes of keys exist: symmetric keys and public-private key pairs.
Public-private key pairs consist of a public key, knowable by all, and a corresponding private key whose secrecy must be carefully guarded by the owner. Symmetric keys consist of a single key (or a pair of keys easily computable from one another) that are known to all of the legitimate parties and no one else. - Quantum key distribution protocols establish a symmetric key between two parties, Alice and Bob.
BB84 (Charles Bennett and Gilles Brassard, 1984):
- The purpose is to establish a secret key, a random sequence of bit values 0 and 1, known only to the two parties, Alice and Bob, who may use this key to support a cryptographic task such as exchanging secret messages or detecting tampering.
- Suppose Alice and Bob are connected by two public channels: an ordinary bidirectional classical channel and a unidirectional quantum channel. The quantum channel allows Alice to send a sequence of single qubits to Bob; in our case we suppose the qubits are encoded in the polarization states of individual photons. Both channels can be observed by an eavesdropper Eve.
- The process:
Alice generates a random sequence of classical bit values. For each bit of this sequence, Alice randomly chooses one of the following two agreed-upon bases and encodes it in the polarization state of a photon.
* The standard basis: .
* The Hadamard basis: .
Alice sends this sequence of photons to Bob through the quantum channel.
For each photon received, Bob randomly chooses one of the above two bases and measures the state.
Over the classical channel, Alice and Bob check that Bob has received a photon for every one Alice has sent, and only then do Alice and Bob tell each other the bases they used for encoding and decoding (measuring) each bit. They discard all the bits on which their choice of bases differed.
Depending on the level of assurance they require, Alice and Bob compare a certain number of bit values to check that no eavesdropping has occurred. These bits will also be discarded, and only the remaining bits will be used as their private key. - man-in-the-middle attack: Eve impersonates Bob to Alice and impersonates Alice to Bob. To guard against such an attack, Alice and Bob need to combine it with an authentication protocol, recognizing each other’s voices or a more mathematical authentication protocol.
2.5 The State Space of a Single-Qubit System
The state space of a classical or quantum physical system is the set of all possible states of the system. Depending on which properties of the system are under consideration, a state of the system consists of any combination of the positions, momenta, polarizations, spins, energy, and so on of the particles in the system. The state space for a single qubit, no matter how it is realized, is the set of possible qubit values: , where .
2.5.1 Relative Phases versus Global Phases
Question 2.5.1
and are considered the same qubit value if for some modulus one complex number . Why?
To be explained
That the same quantum state is represented by more than one vector means that there is a critical distinction between the complex vector space in which we write our qubit values and the quantum state space itself.
- Equivalence relation are used to indicate that for some complex . The space in which two two-dimensional complex vectors are considered equivalent if they are multiples of each other is called of dimension 1.
- This , a space obtained by identifying sets of equivalent vectors with a single point in the space, is expressed with the compact notation used for quotient spaces:
- So the quantum state space for a single-qubit system is in one-to-one correspondence with the points of the complex projective space .
- The (in the standard basis) of a superposition is the modulus one complex number satisfying . It’s a measure of the angle in the complex plane between the two complex numbers and .
An interpretation
where is the angle in the complex plane.
In addition, complex numbers and can be represented by and .
- Therefore is the measure of the angle in the complex plane between and .
Let’s come back to . If , and
So means that both and add a same angle in the complex plane.
- and represent the same quantum state means that and add a same angle in the complex plane will not change the quantum state.
Some useful single-qubit states
The basis is referred to as the Hadamard basis. When discussing photon polarization, the notation is also used for the Hadamard basis.
- Some other books omit normalization factors, allowing vectors of any length to represent a state where two vectors represent the same state if they differ by any complex factor. This book explicitly writes the normalizations factors, both because then the amplitudes have a more direct relation to the measurement probabilities and because keeping track of the normalization factor provides a check that helps avoid errors.
2.5.2 Geometric Views of the State Space of a Single Qubit
- It is helpful to have models of the single-qubit state space in which there is a one-to-one correspondence between states and points in the space. These models are just different ways of looking at of dimension 1: the extended complex plane () or a sphere.
- A correspondence between single-qubit states and the set of all complex numbers
and it’s inverse
Some examples:
further requiring .
Stereographic projection and Bloch sphere
Stereographic projection is a particular mapping that projects a sphere onto a plane. Let’s assume the “south pole” is the projection point (See Figure I below). Now we need to project every point on the surface of the sphere to the “equatorial plane”. Let’s consider point . The line pass through both and intercects the equatorial plane at point . We say is 's projection. Soon we will see .
In Figure I, there is a blue great circle passing through south pole, north pole and point . Figure II is the plane of this great circle. Line is part of the intercection of this plan and equatorial plan. Figure III is the equatorial plan.
In Figure II we have
In Figure III we have
This is .
Let’s look at the opposite bidirection: . Let’s say we have a complex number and we want to project it to the unit sphere.
First, we put on a Cartesian plane like Figure III and represented it as point . (Obviously, ) Then we use this Cartesian plane as the equatorial plane of the unit sphere, as shown in Figure I. The line pass through both the south pole and point intercects the unit sphere at point . As you can see, Figure I, II, III are the same. Again
We still need to calculate . From Figure II we have
here, “” is the length of the diameter, from south pole () to north pole. Therefore
Since, and ,
And
By adding , every complex point can be projected on a unit sphere, the . This is .
Some useful points on Bloch sphere:
Three representations of the quantum state space for a single-qubit system
Dirac notation | Extended complex plane | Bloch sphere |
---|---|---|
on the unit sphere | ||
Not one-to-one | one-to-one | one-to-one |
The relationship between Figure 2.4 (page 12) and Bloch shpere
It has been show that the angle in the Bloch sphere is the same as the angle of in the complex plane. Still another relationship needs to be clarified. In figure 2.4 (page 12), angle between and is while in Bloch sphere the angle between and is . The latter is twice of the former. Why?
Recall what we have learned above
For a vector in Figure 2.4, its corresponding complex number is . So
In Figure 2.4, let’s name the angle between and , . Obviously,
If we look closely, we will see that in Figure II is the angle between two lines: one is the line from the origin to and the other is from the projection point to 's corresponding point on the Bloch sphere . Intuitively, and are the same.
At last, in the Bloch sphere is twice of .
2.5.3 Comments on General Quantum State Spaces
2.6 Reference
Three recommended books on quantum machanics:
- George Greenstein and Arthur G. Zajonc. The Quantum Challenge. Second Edition. Jones and Bartlett, 2006.
- Richard P. Feynman, Robert B. Leighton, and Matthew Sands. Lectures on Physics, Vol. III. New Millennium Edition. Basic Books, 2010.
- Ramamurti Shankar. Principles of Quantum Mechanics. 2nd ed. Plenum Press, 1980.
2.7 Exercises
2.7.1 Exercise 2.1
Let the direction of polaroid B’s preferred axis be given as a function of , , and suppose that the polaroids and remain horizontally and vertically polarized as in the experiment of Section 2.1.1. What fraction of photons reach the screen? Assume that each photon generated by the laser pointer has random polarization.
Answer 2.1
Let’s assume original light:
Polaroid with probability
Polaroid with probability
More Details 2.1
Step 1: Find a orthogonal state for :
(How to find a orthogonal state will be shown in Exercise 2.7 and 2.14.)
Step 2:
Polaroid with probability
If each photon generated by the laser pointer has random polarization, on average
Therefore, the expected fraction of photons reach the screen will be
2.7.2 Exercise 2.2
Which pairs of expressions for quantum states represent the same state? For those pairs that represent different states, describe a measurement for which the probabilities of the two outcomes differ for the two states and give these probabilities.
a. and
b. and
c. and
d. and
e. and
f. and
g. and
h. and
i. and √
j. and
Answer 2.2
In 2.5.1, we know that if , . And Euler equation tells us
Hence, if , ; if , .
a. ; b. ; e.
g.
h.
i.
and (See g.)
j.
a,b,e,g,h,i,j are the pairs of expressions for quantum states represent the same state, while c,d,f are those pairs that represent different states.
c. and .
Probabilities measured with basis are (1,0) and (1/2,1/2) respectively.
d. and .
Probabilities measured with basis are (1,0) and (0,1) respectively.
f. and .
Probabilities measured with basis are (1,0) and (0,1) respectively.
2.7.3 Exercise 2.3
Which states are superpositions with respect to the standard basis, and which are not? For each state that is a superposition, give a basis with respect to which it is not a superposition.
a.
b.
c.
d.
e.
f.
Answer 2.3
a. . Standard basis: superposition; basis : deterministic.
b. . Standard basis: deterministic.
c. . Standard basis: deterministic.
d. .
Standard basis: superposition; basis : deterministic.
e. . Standard basis: deterministic.
f. . Standard basis: superposition; basis : deterministic.
2.7.4 Exercise 2.4
Which of the states in 2.3 are superpositions with respect to the Hadamard basis, and which are not?
2.7.5 Exercise 2.5
Give the set of all values of for which the following pairs of states are equivalent.
a. and
b. and
c. and
2.7.6 Exercise 2.6
For each pair consisting of a state and a measurement basis, describe the possible measurement outcomes and give the probability for each outcome.
a. ,
b. ,
c. ,
d. ,
e. ,
f. ,
g. ,
2.7.7 Exercise 2.7
For each of the following states, describe all orthonormal bases that include that state.
a.
b.
c.
d.
Answer 2.7
Assume , is an orthogonal basis means that
Obviously, we may choose .
Therefore, is an orthogonal basis, and are all orthogonal bases that include .
a. or ;
b. or
;
c. or
, ;
d.
2.7.8 Exercise 2.8
Alice is confused. She understands that and represent the same state. But she does not understand why that does not imply that and would be the same state. Can you help her out?
2.7.9 Exercise 2.9
In the BB84 protocol, how many bits do Alice and Bob need to compare to have a 90 percent chance of detecting Eve’s presence?
Answer 2.9
8 bits
More Details 2.9
Basis 1: ; Basis 2: .
Discarding all the bits on which Alice’s and Bob’s choice of bases difftered, let’s only consider the remaining bits. Suppose Alice’s information was 0 and she chose Basis 1.
- 1/2 chance: Eve chose Basis 1 and she got and sent Bob the correct photon . Bob chose Basis 1 too and he measured the correct state .
- 1/2 chance: Eve chose Basis 2 and she got and sent Bob or with half chance each. No matter or , Bob chose Basis 1 too and he got half chance to get the correct state .
Bob’s chance of getting the correct state is .
After comparing bits, the chance of detecting Eve’s presence is:
When .
2.7.10 Exercise 2.10
Analyze Eve’s success in eavesdropping on the BB84 protocol if she does not even know which two bases to choose from and so chooses a basis at random at each step.
a. Onaverage,what percentage of bit values of the final key will Eve know for sure after listening to Alice and Bob’s conversation on the public channel?
b. On average, what percentage of bits in her string are correct?
c. How many bits do Alice and Bob need to compare to have a 90 percent chance of detecting
Eve’s presence?
Answer 2.10
Suppose Eve chose a random basis
a. 0.
Since Eve chose a random basis, Bob’s chance of deterministicly getting the correct state was negligible. Eve knew nothing for sure.
b. 1/2.
The chance of choosing basis is the same as choosing basis . So the chance of getting is the same as getting . On average, 50 percent of Eve’s string are correct. Only she doesn’t know which is correct which is not. It’s just like ramdom guess. You will have 50 percent of chance getting the correct number, but you don’t know when.
c. 8 bits.
More Details 2.10
Basis 1: ; Basis 2: .
Discarding all the bits on which Alice’s and Bob’s choice of bases difftered, let’s only consider the remaining bits. Suppose Alice’s information was 0 and she chose Basis 1.
- chance: Eve got and sent Bob . Bob chose Basis 1 too and his chance of got the correct state is .
- chance: Eve got and sent Bob . Bob chose Basis 1 too and his chance of got the correct state is .
Bob’s chance of getting the correct state is
On average,
After comparing bits, the chance of detecting Eve’s presence is:
When .
2.7.11 Exercise 2.11
quantum key distribution protocol. In 1992 Bennett proposed the following quantum key distribution protocol. Instead of encoding each bit in either the standard basis or the Hadamard basis as is done in the protocol, Alice encodes her random string as follows
and sends them to Bob. Bob generates a random bit string . If he measures the th qubit in the Hadamard basis , if he measures in the standard basis . In this protocol, instead of telling Alice over the public classical channel which basis he used to measure each qubit, he tells her the results of his measurements. If his measurement resulted in or Bob sends ; if his measurement indicates the state is or , he sends . Alice and Bob discard all bits from strings and for which Bob’s bit value from measurement yielded , obtaining strings and . Alice uses as the secret key and Bob uses . Then, depending on the security level they desire, they compare a number of bits to detect tampering. They discard these check bits from their key.
a. Show that if Bob receives exactly the states Alice sends, then the strings and are identical strings.
b. Why didn’t Alice and Bob decide to keep the bits of and for which Bob’s bit value from measurement was ?
c. What if an eavesdropper Eve measures each bit in either the standard basis or the Hadamard basis to obtain a bit string and forwards the measured qubits to Bob? On average, how many bits of Alice and Bob’s key does she know for sure after listening in on the public classical? If Alice and Bob compare bit values of their strings and , how likely are they to detect Eve’s presence?
Answer 2.11
a. Assuming and Alice sent , Bob’s measurement indicates the state is either or . was impossible, no matter which basis Bob chose. It must be . That is to say, Bob chose the Hadamard basis and . Similarly, if , .
b. Assuming and Alice sent and Bob’s bit value from measurement was . Then Bob’s measurement indicates the state is either or . That is to say, Bob chose the Hadamard basis and or he chose the standard basis and . So when measurement was 0, Bob couldn’t be sure his measurement was correct or not.
c. On average, Eve knew for sure Alice’s key and Bob’s key and these two parts are not overlapping. If Alice and Bob compare bit values of their strings and , their chance to detect Eve’s presence is .
More Details 2.11
c. From the table below, we can see that the chance of is
Therefore, if Alice and Bob compare bit values of their strings and , their chance to detect Eve’s presence is .
Only when she measured or , Eve knew for sure Alice’s key. That’s 1/4 chance. Unfortunately, Once Eve measured and sent Bob or , she can’t be sure what Bob’s key is. On the contrary, if Eve measured and sent Bob or , she knew for sure Bob’s key if he didn’t discard his measurement. That’s also 1/4 chance. (See the following table)
Therefore, on average, Eve knew for sure Alice’s key and Bob’s key and these two parts are not overlapping.
2.7.12 Exercise 2.12
This figure is differet from the text book. (Ref)
Bloch Sphere: Spherical coordinates:
a. Show that the surface of the Bloch sphere can be parametrized in terms of two real-valued parameters, the angles and illustrated in figure 2.7. Make sure your parametrization is in one-to-one correspondence with points on the sphere, and therefore single-qubit quantum states, in the range and except for the points corresponding to and .
b. What are and for each of the states , , , and ?
Answer 2.12
a. A point on Bloch sphere can be represented as .
And it’s inverse: , where
Typos
I guess there is a typo here: it should be instead of . Since and are overlapping. Figure 2.6 (page 24) has another typo: should be at the top of the Bloch sphere and should be at the bottom. Since and .
b.
2.7.13 Exercise 2.13
Relate the four parametrizations of the state space of a single qubit to each other:
Give formulas for
a. vectors in ket notation
b. elements of the extended complex plane
c. spherical coordinates for the Bloch sphere (see exercise 2.12)
d. in terms of the , , and coordinates of the Bloch sphere.
Answer 2.13
It has been shown that:
- (see page 23):
and its inverse
. - (see page 23): if
- (see Exercise 2.12 a.):
and it’s inverse
, where
Let’s figure out and complete the proof. (It has been proved geometricly in “Stereographic projection and Bloch sphere” section 2.5.2. Here is another method.)
- :
2.7.14 Exercise 2.14
a. Show that antipodal points on the surface of the Block sphere represent orthogonal states.
b. Show that any two orthogonal states correspond to antipodal points.