Docsity

Qubit Rotations and their Composition in Quantum Information, Lecture notes of Quantum Computing

Toggle sidebar
bg1
Phys 711 Topics in Particles & Fields — Spring 2013 — Lecture 1 — v0.3
Lecture notes: Qubit representations and rotations
Jeffrey Yepez
Department of Physics and Astronomy
University of Hawai‘i at Manoa
Watanabe Hall, 2505 Correa Road
Honolulu, Hawai‘i 96822
www.phys.hawaii.edu/∼yepez
(Dated: January 9, 2013)
Contents
I. What is a qubit? 1
II. Time-dependent qubits states 2
III. Qubit representations 2
A. Hilbert space representation 2
B. SU(2) and O(3) representations 2
IV. Rotation by similarity transformation 3
V. Rotation transformation in exponential form 5
VI. Composition of qubit rotations 7
A. Special case of equal angles 7
VII. Example composite rotation 7
References 9
I. WHAT IS A QUBIT?
Let us begin by introducing some notation:
1 state (called “minus” on the Bloch sphere)
|1i=0
1the alternate symbol is |−i
0 state (called “plus” on the Bloch sphere)
|0i=1
0the alternate symbol is |+i.
When you learn about the Bloch sphere (discussed below)
you will see why the alternate symbols |+iand |−i are
used to denote logical states.1
So what is a qubit? A qubit is the fundamental quan-
tum state representing the smallest unit of quantum in-
formation containing one bit of classical information ac-
cessible by measurement. We simply take a qubit to be a
1The names “up” and “down,” and the respective symbols |↑i
and |↓i, are reserved for spin- 1
2particles.We will see in another
lecture how a 2-qubit encoding conforms with the Pauli exclusion
principle for particles with half-integer spin.
mathematical object (an abstraction of a two-state quan-
tum object) with a “one” state and a “zero” state:
|qi=α|0i+β|1i=α1
0+β0
1,(1)
where αand βare complex numbers. These complex
numbers are called amplitudes. The basis states are or-
thonormal
h0|0i=h1|1i= 1 (2a)
h0|1i=h1|0i= 0.(2b)
In general, the qubit |qiin (1) is said to be in a superpo-
sition state of the two logical basis states |0iand |1i. If
αand βare complex, it would seem that a qubit should
have four free real-valued parameters (two magnitudes
and two phases):
|qi=α
β=φ0eiθ0
φ1eiθ1.(3)
Yet, for a qubit to contain only one classical bit of infor-
mation, the qubit need only be unimodular (normalized
to unity)
α∗α+β∗β= 1.(4)
Hence it lives on the complex unit circle, depicted on the
top of Figure 1. Normalization (4) constrains the value
of the magnitudes, so we can write a qubit as
|qi=√1−f
√f eiϕ ,(5)
where 0 ≤f≤1 and where an irrelevant overall phase is
factored out. The length (or norm) of the qubit is thus
an invariant quantity
hq|qi=|α|2+|β|2=|p1−f|2+|pf|2= 1.(6)
You should understand why an overall phase is irrelevant
to the length of the qubit. The quantum property of
measurement follows from identifying the moduli squared
of the amplitude as an occupation probability fand 1−
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Qubit Rotations and their Composition in Quantum Information and more Lecture notes Quantum Computing in PDF only on Docsity!

Phys 711 Topics in Particles & Fields — Spring 2013 — Lecture 1 — v0.

Lecture notes: Qubit representations and rotations

Jeffrey Yepez Department of Physics and Astronomy University of Hawai‘i at Manoa Watanabe Hall, 2505 Correa Road Honolulu, Hawai‘i 96822 E-mail: [email protected] www.phys.hawaii.edu/∼yepez

(Dated: January 9, 2013)

Contents

I. What is a qubit? 1

II. Time-dependent qubits states 2

III. Qubit representations 2 A. Hilbert space representation 2 B. SU(2) and O(3) representations 2

IV. Rotation by similarity transformation 3

V. Rotation transformation in exponential form 5

VI. Composition of qubit rotations 7 A. Special case of equal angles 7

VII. Example composite rotation 7

References 9

I. WHAT IS A QUBIT?

Let us begin by introducing some notation:

1 state (called “minus” on the Bloch sphere)

the alternate symbol is |−〉

0 state (called “plus” on the Bloch sphere)

the alternate symbol is |+〉.

When you learn about the Bloch sphere (discussed below) you will see why the alternate symbols |+〉 and |−〉 are used to denote logical states.^1 So what is a qubit? A qubit is the fundamental quan- tum state representing the smallest unit of quantum in- formation containing one bit of classical information ac- cessible by measurement. We simply take a qubit to be a

(^1) The names “up” and “down,” and the respective symbols |↑〉 and |↓〉, are reserved for spin- 12 particles.We will see in another lecture how a 2-qubit encoding conforms with the Pauli exclusion principle for particles with half-integer spin.

mathematical object (an abstraction of a two-state quan- tum object) with a “one” state and a “zero” state:

|q〉 = α| 0 〉 + β| 1 〉 = α

  • β

where α and β are complex numbers. These complex numbers are called amplitudes. The basis states are or- thonormal

〈 0 | 0 〉 = 〈 1 | 1 〉 = 1 (2a) 〈 0 | 1 〉 = 〈 1 | 0 〉 = 0. (2b)

In general, the qubit |q〉 in (1) is said to be in a superpo- sition state of the two logical basis states | 0 〉 and | 1 〉. If α and β are complex, it would seem that a qubit should have four free real-valued parameters (two magnitudes and two phases):

|q〉 =

α β

φ 0 eiθ^0 φ 1 eiθ^1

Yet, for a qubit to contain only one classical bit of infor- mation, the qubit need only be unimodular (normalized to unity)

α∗α + β∗β = 1. (4)

Hence it lives on the complex unit circle, depicted on the top of Figure 1. Normalization (4) constrains the value of the magnitudes, so we can write a qubit as

|q〉 =

√^1 −^ f f eiϕ

where 0 ≤ f ≤ 1 and where an irrelevant overall phase is factored out. The length (or norm) of the qubit is thus an invariant quantity

〈q|q〉 = |α|^2 + |β|^2 = |

1 − f |^2 + |

f |^2 = 1. (6)

You should understand why an overall phase is irrelevant to the length of the qubit. The quantum property of measurement follows from identifying the moduli squared of the amplitude as an occupation probability f and 1 −

f for the qubit to occupy its logical states | 1 〉 and | 0 〉, respectively, as follows:

f = |β|^2 (7) 1 − f = |α|^2. (8)

There are only two relevant free parameters to specify the state of a qubit, but upon measurement, the qubit orig- inally in the superposition state (5) is found to occupy only one of its logical states

|q〉

measure −−−−−→

| 1 〉, with probability f, | 0 〉, with probability 1 − f.

Thus, upon a single measurement, |q〉 is found to be in either the state | 0 〉 or | 1 〉, an outcome that is said to be specified by a single classical bit ∈ { 0 , 1 }. Thus in actual experiments, the occupation probability f equals the frequency of occurrence of the result 1 obtained from many repeated measurements.

II. TIME-DEPENDENT QUBITS STATES

The state |q(t)〉 of a time-dependent qubit, as a two- energy level quantum mechanical entity, is governed by the Schroedinger wave equation

iℏ

∂t

|q(t)〉 =

ℏω 2

σz |q(t)〉. (10)

The energy eigenvalues are ±ℏω/2 and energy eigenstates are

where | 0 〉 is the ground state and | 1 〉 is the excited state of the qubit. In terms of the angular frequency ω (e.g. Rabi frequency), the time-dependent qubit state is

|q(t)〉 = A 0 e−i^

ω 2 t | 0 〉 + A 1 ei^

ω 2 t | 1 〉, (12)

where the complex probability amplitudes satisfy |A 0 |^2 + |A 1 |^2 = 1 since the qubit resides on the complex circle in Hilbert space (or the Bloch sphere in spin space).

Now, we can explicitly write out qubit basis states of the Bloch sphere with ˆu = (sin θ cos ϕ, sin θ sin ϕ, cos θ) as

|+〉u =

cos θ 2 e−i^

ϕ 2

sin θ 2 ei^

ϕ 2

= cos

θ 2

e−i^

ϕ (^2) | 0 〉 + sin θ 2

ei^

ϕ (^2) | 1 〉,

(13a)

|−〉u =

− sin θ 2 e−i^

ϕ 2 cos θ 2 ei^

ϕ 2

= − sin

θ 2

e−i^

ϕ 2 | 0 〉 + cos

θ 2

ei^

ϕ 2 | 1 〉.

(13b)

Writing our 2-spinor basis states in terms of qubit states, we have

ξ(↑) ≡ ei^

ϕ (^2) |+〉 =

cos θ 2 eiϕ^ sin θ 2

= cos

θ 2

| 0 〉 + sin

θ 2

eiϕ| 1 〉, (14a)

ξ(↓) ≡ e−i^

ϕ 2 |−〉 =

−e−iϕ^ sin θ 2 cos θ 2

= − sin

θ 2

e−iϕ| 0 〉 + cos

θ 2

| 1 〉. (14b)

III. QUBIT REPRESENTATIONS

» 1 \

» 0 \

»q\

cos

J 2

„‰ j^ sin J 2 1 J

x^ `

y^ `

z^ `

  • z^ ` »-\ (^) =» 1 \

»+=» 0 \

J^ »q\

j

FIG. 1 A qubit in Hilbert space in its SU(2) representation (top), and the same qubit on the Bloch sphere in its O(3) representation (bottom). SU(2) and O(3) are homomorphic.

A. Hilbert space representation

The space of all possible orientations of |q〉 on the com- plex unit circle is called the Hilbert space. In the logical basis, the two degrees of freedom of the qubit is often expressed as two angles θ and ϕ, where f = sin^2

( (^) θ 2

. So without any loss of generality the Hilbert space represen- tation of a qubit (1) can be written as

|q〉 = cos

θ 2

| 0 〉 + sin

θ 2

eiϕ| 1 〉. (15)

These angles have a well known geometrical interpreta- tion as Euler angles.

B. SU(2) and O(3) representations

To understand the geometrical interpretation of a qubit, consider a three-dimensional space with “unit vec- tors” σx, σy , and σz chosen as an orthonormal basis. In quantum information theory, one represents each basis element by a 2 × 2 matrix, a traceless hermitian genera- tors of two-dimensional special unitary group, SU(2). To

Here again the centered dot symbol represents matrix multiplication. The † symbol denotes the matrix adjoint, i.e. complex conjugate of the components of the matrix combined with matrix transposition. Since

U (^) n† ˆ(θ) = U (^) nˆ− 1 (θ) = Uˆn(−θ), (26)

we simply compute the rotated qubit (25) as follows

Mq′^ = Unˆ(θ) · Mq · Uˆn(−θ). (27)

Of course using Mq = ~q · ~σ we can write this similarity transformation directly in terms of the 3-vector ~q and the resulting 3-vector q~′

q^ ~′^ · ~σ = Unˆ(θ) · (~q · ~σ) · Unˆ(−θ). (28)

The goal is to workout the R.H.S. so that we can de- termine q~′^ in terms of the original vector ~q, the axis of rotation ˆn, and the angular rotation amount θ. We will see that (28) reduces to a particularly simple and useful rotation formula.

As a preliminary task leading toward reducing (28), we will need some helpful identities. Consider two 3-vectors ~a and ~b. The first identity that we need is

(~a · ~σ) · (~b · ~σ) = ~a · ~b + i

~a × ~b

· ~σ. (29)

The proof is simple enough and goes as follows:

(~a · ~σ)(~b · ~σ) = (a 1 σ 1 + a 2 σ 2 + a 3 σ 3 ) (b 1 σ 1 + b 2 σ 2 + b 3 σ 3 ) (30a)

= ~a · ~b + a 1 b 2 σ 1 σ 2 + b 1 a 2 σ 2 σ 1 + O.T. (30b) = ~a · ~b + i(a 1 b 2 − b 1 a 2 )σ 3 + O.T. (30c)

= ~a · ~b + i

~a × ~b

· ~σ, (30d)

where O.T. stands for the “other terms.” In turn, it follows that

(~a · ~σ) · (~b · ~σ) = ~a · ~b + i

~a × ~b

· ~σ (31a)

(~b · ~σ) · (~a · ~σ) = ~a · ~b − i

~a × ~b

· ~σ. (31b)

Then, taking the sum and difference yields the following two identities

(~a · ~σ) · (~b · ~σ) + (~b · ~σ) · (~a · ~σ) = 2 ~a · ~b (32a)

(~a · ~σ) · (~b · ~σ) − (~b · ~σ) · (~a · ~σ) = 2 i

~a × ~b

· ~σ.

(32b)

Finally, we have the useful identity

(ˆa · ~σ) · (~b · ~σ) · (ˆa · ~σ)

(32a) = −(~b · ~σ) + 2 (ˆa ·~b)(ˆa · ~σ), (33)

which follows since (ˆa · ~σ)^2 = 1.

We are now in a position to accomplish the reduction of (28) which goes as follows

q^ ~′^ · ~σ = Unˆ(θ) · (~q · ~σ) · Unˆ(−θ) (34a)

(22)

[

σ 0 cos

θ 2

− iσi sin

θ 2

)]

· (~q · ~σ) ·

[

σ 0 cos

θ 2

− iσi sin

θ 2

)]

(34b)

= cos^2

θ 2

(~q · ~σ) + sin^2

θ 2

(ˆn · ~σ) · (~q · ~σ) · (ˆn · ~σ) + i sin

θ 2

cos

θ 2

)[

−(ˆn · ~σ) · (~q · ~σ) + (~q · ~σ) · (ˆn · ~σ)

]

(32b) = cos^2

θ 2

(~q · ~σ) + sin^2

θ 2

(ˆn · ~σ) · (~q · ~σ) · (ˆn · ~σ) + sin θ (ˆn × ~r) · ~σ (34c)

(33) = cos^2

θ 2

(~q · ~σ) + sin^2

θ 2

)[

−(~q · ~σ) + 2 (ˆn · ~q)(ˆn · ~σ)

]

  • sin θ (ˆn × ~q) · ~σ (34d)

= cos θ (~q · ~σ) + 2 sin^2

θ 2

(ˆn · ~q)(ˆn · ~σ) + sin θ (ˆn × ~q) · ~σ (34e)

= cos θ (~q · ~σ) + (1 − cos θ) (ˆn · ~q)(ˆn · ~σ) + sin θ (ˆn × ~q) · ~σ (34f) = [ cos θ ~q + (1 − cos θ) (ˆn · ~q) ˆn + sin θ nˆ × ~q ] · ~σ. (34g)

Since we are free to choose our fundamental representation ~σ, this identity then implies the following general rotation formula

~q′^ = cos θ ~q + (1 − cos θ) ˆn(ˆn · ~q) + sin θ nˆ × ~q. (35)

This is known as Rodrigues’ rotation formula.

Exercise:

Consider the tetrahedron in R^3 centered on the origin O with vertices P 0 = (1, 1 , 1), P 1 = (1, − 1 , −1), P 2 = (− 1 , 1 , −1), and P 3 = (− 1 , − 1 , 1). Let T from R^3 to R^3 be a rotation about the axis through points O and P 2 that transforms P 1 into P 3. Find the images of the transformation of the four corners of the tetrahedron under this transformation. Hint: Use (40) with θ = 23 π where nˆ is directed along P 2 − O.

As a check of the rotation formula (35), consider the two cases when ˆn ⊥ ~q and ˆn ‖ ~q :

~q′^ =

cos θ ~q + sin θ ˆn × ~q for ˆn ⊥ ~q, cos θ ~q + (1 − cos θ) ˆn(ˆn · ~q) = ~q for ˆn ‖ ~q,

which is correct by inspection.

V. ROTATION TRANSFORMATION IN EXPONENTIAL FORM

Writing this in component form q′i = Rij (θ) qj we have

q i′ = [cos θ δij + (1 − cos θ) ninj + sin θ nkikj ] qj , (37)

VI. COMPOSITION OF QUBIT ROTATIONS

A rotation through angle β 1 about ˆn 1 , followed by a rotation through angle β 2 about ˆn 2 is induced by a similarity transformation using a unitary matrix that is the composition

Unˆ 2 (β 2 )Unˆ 1 (β 1 ) = e−i^

β 2 2 ˆn^2 ·~σ^ e−i^

β 1 2 nˆ^1 ·~σ^ (45a)

=

[

cos

β 2 2

− i(ˆn 2 · ~σ) sin

β 2 2

] [

cos

β 1 2

− i(ˆn 1 · ~σ) sin

β 1 2

]

(45b)

= cos

β 1 2

cos

β 2 2

− sin

β 1 2

sin

β 2 2

(ˆn 1 · ~σ)(ˆn 2 · ~σ)

− i

[

cos

β 1 2

sin

β 2 2

(ˆn 2 · ~σ) + sin

β 1 2

cos

β 2 2

(ˆn 1 · ~σ)

]

. (45c)

We need to expand the double dot product term in (45c). To do this, we use the identity (29) that we already derived above. Thus,

Unˆ 2 (β 2 )Unˆ 1 (β 1 ) = cos

β 1 2

cos

β 2 2

− sin

β 1 2

sin

β 2 2

nˆ 1 · nˆ 2 (46)

− i

[

sin

β 1 2

cos

β 2 2

nˆ 1 + cos

β 1 2

sin

β 2 2

nˆ 2 − sin

β 1 2

sin

β 2 2

nˆ 1 × ˆn 2

]

· ~σ.

The overall unitary matrix used to induce a rotation through β 12 about ˆn 12 is

Uˆn 12 (β 12 ) = e−i^

β 12 2 ˆn^12 ·~σ^ = cos β^12 2

− i sin

β 12 2

ˆn 12 · ~σ. (47)

Finally, equating our two expressions for the unitary matrices, (46)=(47), which is

Unˆ 12 (β 12 ) = Uˆn 2 (β 2 )Uˆn 1 (β 1 ), (48)

the real and imaginary parts lead to the following two identities

cos

β 12 2

= cos

β 1 2

cos

β 2 2

− sin

β 1 2

sin

β 2 2

nˆ 1 · ˆn 2 (49a)

sin

β 12 2

ˆn 12 = sin

β 1 2

cos

β 2 2

ˆn 1 + cos

β 1 2

sin

β 2 2

ˆn 2 − sin

β 1 2

sin

β 2 2

ˆn 1 × nˆ 2. (49b)

A. Special case of equal angles

For equal angles β 1 = β 2 = ∆ 2 t , and making the fol- lowing identifications for the rotation axes

nˆ 1 = ψˆ and ˆn 2 = ˆz, (50)

(49) reduces to an identity that we will use to prove the efficiency of Grover’s quantum search algorithm

cos

β 12 2

= cos^2

∆t 2

− sin^2

∆t 2

ψˆ · zˆ (51a)

sin

β 12 2

nˆ 12 = sin

∆t 2

cos

∆t 2

ψˆ + ˆz

− sin^2

∆t 2

ψˆ × z.ˆ

(51b)

VII. EXAMPLE COMPOSITE ROTATION

Consider a local evolution operator as a composition of

“qubit rotations” Uˆn 2 = e−i^

β 2 2 nˆ^2 ·σ^ and Unˆ 1 = e−i^

β 1 2 nˆ^1 ·σ^ :

Unˆ 2 (β 2 )Unˆ 1 (β 1 ) = e−i^

β 2 2 nˆ^2 ·σ^ e−i^

β 1 2 nˆ^1 ·σ^ (52a)

= cos

β 1 2

cos

β 2 2

− sin

β 1 2

sin

β 2 2

nˆ 1 · nˆ 2

− i

[

sin

β 1 2

cos

β 2 2

nˆ 1 + cos

β 1 2

sin

β 2 2

nˆ 2

− sin

β 1 2

sin

β 2 2

nˆ 1 × nˆ 2

]

· σ, (52b)

where σ = (σx, σy , σz ) is a vector of Pauli matrices, ˆn 1 and ˆn 2 are unit vectors specifying the respective principal axes of rotation, and β 1 and β 2 are real-valued rotation angles. Let us take U (^) Sz = e−i^

β 2 2 nˆ^2 ·σ^ as our stream oper- ator and UC = e−i^

β 1 2 nˆ^1 ·σ^ as our collision operator. Let us choose a reference frame where the particle motion occurs along the ˆz

U (^) Sz = e−i^

β 2 2 σz^. (53a)

In this frame a general collision operator is

UC = e−i^

β 1 2 (ασx+βσy^ +γσz^ ), (53b)

where α, β, and γ are real valued components subject to the constraint α^2 + β^2 + γ^2 = 1. Furthermore, let us suppose that the unitary operators (53) are applied locally and homogeneously at all the points in the sys- tem. So, here we consider a construction whereby the two principal unit vectors specifying the axes of rotation are

nˆ 1 = (α, β, γ) nˆ 2 = (0, 0 , 1). (54)

With this choice, ˆn 1 × nˆ 2 = (β, −α, 0) and ˆn 1 · nˆ 2 = γ, so (52) is a quite general representation of a quantum lattice gas evolution operator

U (^) Sz UC

(54) = cos

β 1 2

cos

β 2 2

− γ sin

β 1 2

sin

β 2 2

(55a)

− i

α sin

β 1 2

cos

β 2 2

− β sin

β 1 2

sin

β 2 2

σx

− i

β sin

β 1 2

cos

β 2 2

  • α sin

β 1 2

sin

β 2 2

σy

− i

γ sin

β 1 2

cos

β 2 2

  • cos

β 1 2

sin

β 2 2

σz

ic pz τ ℏ

σz −

im◦c^2 τ ℏ

σx, (55b)

where the last line is chosen as a construction. The rea- son for choosing this construction is that the quantum algorithm ψ′^ = U (^) Sz UCψ is

ψ′(z) =

ic pz τ ℏ

σz −

im◦c^2 τ ℏ

σx

ψ(z), (56)

which is a time-difference representation of the equation of motion of a single free Dirac particle with a 2-spinor quantum state ψ(z) = (ψL(z), ψR(z))T^ defined over the set of points {z} in a 1+1 dimensional spacetime. That is, for small τ and for momentum operator pz = −iℏ∂z , (56) represents the Dirac equation for a relativistic quantum particle of mass m◦

iℏ∂tψ = −c pz σz ψ + m◦c^2 σxψ. (57)

To establish a correspondence between (55a) and (55b), we simply choose the real-valued components of nˆ 1 to satisfy the following three conditions:

α sin

β 1 2

cos

β 2 2

− β sin

β 1 2

sin

β 2 2

m◦c^2 τ ℏ

(58a)

β sin

β 1 2

cos

β 2 2

  • α sin

β 1 2

sin

β 2 2

= 0 (58b)

γ sin

β 1 2

cos

β 2 2

  • cos

β 1 2

sin

β 2 2

c pz τ ℏ

. (58c)

Additionally, we should respect the reality condition that nˆ 1 have unit norm

α^2 + β^2 + γ^2 = 1 (58d)

that we established above with the collision operator (53b). For the sake of simplicity, let us start with a spe- cialized construction whereby ˆn 1 is perpendicular to ˆn 2. The solution of (58) in this special case is

α = cos

β 2 2

β = − sin

β 2 2

γ = 0. (59)

Inserting (59) into (58a) gives

sin

β 1 2

m◦c^2 τ ℏ

and in turn (58c) is √

1 −

m◦c^2 τ ℏ

sin

β 2 2

c pz τ ℏ

In turn, we have

cos

β 1 2

cos

β 2 2

m◦c^2 τ ℏ

√^1 −

( (^) c pz τ ℏ

m◦c^2 τ ℏ

(62a)

m◦c^2 τ ℏ

( (^) c p z τ ℏ

(62b)

Eτ ℏ

, (62c)

with E^2 = (m◦c^2 )^2 + (c pz )^2. Therefore, the quantum lattice gas evolution operator (55a) is

U (^) Sz UC =

Eτ ℏ

ic pz τ ℏ

σz −

im◦c^2 τ ℏ

σx

(63a)

Eτ ℏ

iEτ ℏ

c pz E

σz −

m◦c^2 E

σx

(63b)

This result leads us to define the rotation axis

nˆ 12 ≡ −

m◦c^2 E

xˆ +

c pz E

zˆ. (64)

Since ( ˆn 12 · σ)^2 = 1 (an involution), we can em- ploy Euler’s identity and the trigonometric identity sin(cos−^1

1 − x^2 ) = x, so we are free to write (63b) in a manifestly unitary form e−i^

β 12 2 nˆ^12 ·σ^ as follows:

U (^) Sz UC = exp

i cos−^1

Eτ ℏ

 (^) nˆ 12 · σ

(65a)

(64) = exp

i

cos−^1

( (^) Eτ ℏ

E

σz c pz − σx m◦c^2

(65b)