Ph 219b/CS 219b. Exercises Due: Wednesday 21 November 2018 H = 1 ( ) 1 1. in quantum circuit notation, we denote the Hadamard gate as

Similar documents
Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013

C/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign).

1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9

Ph 219b/CS 219b. Exercises Due: Wednesday 22 February 2006

Moreover this binary operation satisfies the following properties

Unitary Dynamics and Quantum Circuits

Quantum Computing Lecture 3. Principles of Quantum Mechanics. Anuj Dawar

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

Quantum Information & Quantum Computing

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

Lecture 7: Polynomial rings

NOTES ON FINITE FIELDS

. Here we are using the standard inner-product over C k to define orthogonality. Recall that the inner-product of two vectors φ = i α i.

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding.

Quantum Information & Quantum Computing

(Rgs) Rings Math 683L (Summer 2003)

Introduction to Quantum Computing

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009


Factorization in Integral Domains II

Lecture 3: Hilbert spaces, tensor products

First, let's review classical factoring algorithm (again, we will factor N=15 but pick different number)

Problem Set # 6 Solutions

Lecture 3: Constructing a Quantum Model

The Classification of Clifford Gates over Qubits

Quantum Computing Lecture 6. Quantum Search

Optimal Realizations of Controlled Unitary Gates

MTH310 EXAM 2 REVIEW

Rings. EE 387, Notes 7, Handout #10

The Bloch Sphere. Ian Glendinning. February 16, QIA Meeting, TechGate 1 Ian Glendinning / February 16, 2005

g(x) = 1 1 x = 1 + x + x2 + x 3 + is not a polynomial, since it doesn t have finite degree. g(x) is an example of a power series.

Ph 219b/CS 219b. Exercises Due: Wednesday 4 December 2013

Algebra SEP Solutions

Solutions to Assignment 1

1 Quantum Circuits. CS Quantum Complexity theory 1/31/07 Spring 2007 Lecture Class P - Polynomial Time

Math 121 Homework 5: Notes on Selected Problems

Linear Algebra. Workbook

The converse is clear, since

REPRESENTATION THEORY WEEK 7

Linear and Bilinear Algebra (2WF04) Jan Draisma

Single qubit + CNOT gates

Lecture 2: From Classical to Quantum Model of Computation

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

Review 1 Math 321: Linear Algebra Spring 2010

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

[06.1] Given a 3-by-3 matrix M with integer entries, find A, B integer 3-by-3 matrices with determinant ±1 such that AMB is diagonal.

Coding Theory ( Mathematical Background I)

Q N id β. 2. Let I and J be ideals in a commutative ring A. Give a simple description of

1 The Galois Group of a Quadratic

( 3) ( ) ( ) ( ) ( ) ( )

Simplifying Rational Expressions and Functions

50 Algebraic Extensions

Math 547, Exam 2 Information.

Finite Fields. Mike Reiter

CSE 215: Foundations of Computer Science Recitation Exercises Set #5 Stony Brook University. Name: ID#: Section #: Score: / 4

Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

SPRING 2006 PRELIMINARY EXAMINATION SOLUTIONS

Solutions of exercise sheet 6

Exercises on chapter 1

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Solutions of exercise sheet 8

Quantum Computing Lecture 2. Review of Linear Algebra

Chapter 11 Evolution by Permutation

VARIETIES WITHOUT EXTRA AUTOMORPHISMS II: HYPERELLIPTIC CURVES

Factoring on a Quantum Computer

5 Irreducible representations

CS286.2 Lecture 13: Quantum de Finetti Theorems

Abstract Algebra, Second Edition, by John A. Beachy and William D. Blair. Corrections and clarifications

4 Unit Math Homework for Year 12

Simulation of quantum computers with probabilistic models

Constructions with ruler and compass.

Topological quantum computation with anyons

Extension fields II. Sergei Silvestrov. Spring term 2011, Lecture 13

Chapter 4. Remember: F will always stand for a field.

1 Rings 1 RINGS 1. Theorem 1.1 (Substitution Principle). Let ϕ : R R be a ring homomorphism

Information Theory. Lecture 7

Geometry. Relations in SO(3) Supported by Geodetic Angles. J. H. Conway, 1 C. Radin, 2 and L. Sadun Introduction and Results

Question 1: The graphs of y = p(x) are given in following figure, for some Polynomials p(x). Find the number of zeroes of p(x), in each case.

Handout - Algebra Review

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2

Practice problems for first midterm, Spring 98

The Cyclic Decomposition Theorem

Math 581 Problem Set 3 Solutions

Maths Extension 2 - Polynomials. Polynomials

Eigenvalues and Eigenvectors

Finite Fields. Sophie Huczynska. Semester 2, Academic Year

CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES. D. Katz

a + bi by sending α = a + bi to a 2 + b 2. To see properties (1) and (2), it helps to think of complex numbers in polar coordinates:

Elementary linear algebra

55 Separable Extensions

Math 210C. A non-closed commutator subgroup

1/30: Polynomials over Z/n.

1. Algebra 1.5. Polynomial Rings

Polynomials, Ideals, and Gröbner Bases

17. Oktober QSIT-Course ETH Zürich. Universality of Quantum Gates. Markus Schmassmann. Basics and Definitions.

Transcription:

h 29b/CS 29b Exercises Due: Wednesday 2 November 208 3. Universal quantum gates I In this exercise and the two that follow, we will establish that several simple sets of gates are universal for quantum computation. The adamard transformation is the single-qubit gate that acts in the standard basis { 0, } as = ( ) ; () 2 in quantum circuit notation, we denote the adamard gate as The single-qubit phase gate acts in the standard basis as ( ) 0 =, (2) 0 i and is denoted A two-qubit controlled phase gate Λ( ) acts in the standard basis { 00, 0, 0, } as the diagonal 4 4 matrix Λ( ) = diag(,,, i) (3) and can be denoted

2 Despite this misleading notation, the gate Λ( ) actually acts symmetrically on the two qubits: = We will see that the two gates and Λ( ) comprise a universal gate set any unitary transformation can be approximated to arbitrary accuracy by a quantum circuit built out of these gates. a) Consider the two-qubit unitary transformations U and U 2 defined by quantum circuits U = and U 2 = Let ab denote the element of the standard basis where a labels the upper qubit in the circuit diagram and b labels the lower qubit. Write out U and U 2 as 4 4 matrices in the standard basis. Show that U and U 2 both act trivially on the states 00, 3 ( 0 + 0 + ). (4) b) Thus U and U 2 act nontrivially only in the two-dimensional space spanned by { } 2 ( 0 0 ), ( 0 + 0 2 ). (5) 6 Show that, expressed in this basis, they are U = ( ) 3 + i 3( + i) 4 3( + i) + 3i, (6) and U 2 = 4 ( ) 3 + i 3( i) 3( i) + 3i. (7)

3 c) Now express the action of U and U 2 on this two-dimensional subspace in the form U = ( i 2 i ) ˆn σ, (8) 2 and U 2 = ( i 2 i ) ˆn 2 σ 2. (9) What are the unit vectors ˆn and ˆn 2? d) Consider the transformation U 2 U (Note that U 2 can also be constructed from the gates and Λ( ).) Show that it performs a rotation with half-angle θ/2 in the two-dimensional space spanned by the basis eq. (5), where cos(θ/2) = /4. 3.2 Universal quantum gates II We have now seen how to compose our fundamental quantum gates to perform, in a two-dimensional subspace of the four-dimensional ilbert space of two qubits, a rotation with cos(θ/2) = /4. In this exercise, we will show that the angle θ is not a rational multiple of π. Equivalently, we will show that e iθ/2 cos(θ/2) + i sin(θ/2) = ( + i ) 5 (0) 4 is not a root of unity: there is no finite integer power n such that (e iθ/2 ) n =. Recall that a polynomial of degree n is an expression (x) = n a k x k () k=0 with a n 0. We say that the polynomial is rational if all of the a k s are rational numbers, and that it is monic if a n =. A polynomial is integral if all of the a k s are integers, and an integral polynomial is primitive if the greatest common divisor of {a 0, a,..., a n } is. a) Show that the monic rational polynomial of minimal degree that has e iθ/2 as a root is (x) = x 2 2 x +. (2)

4 The property that e iθ/2 is not a root of unity follows from the result (a) and the Theorem If a is a root of unity, and (x) is a monic rational polynomial of minimal degree with (a) = 0, then (x) is integral. Since the minimal monic rational polynomial with root e iθ/2 is not integral, we conclude that e iθ/2 is not a root of unity. In the rest of this exercise, we will prove the theorem. b) By long division we can prove that if A(x) and B(x) are rational polynomials, then there exist rational polynomials Q(x) and R(x) such that A(x) = B(x)Q(x) + R(x), (3) where the remainder R(x) has degree less than the degree of B(x). Suppose that a n =, and that (x) is a rational polynomial of minimal degree such that (a) = 0. Show that there is a rational polynomial Q(x) such that x n = (x)q(x). (4) c) Show that if A(x) and B(x) are both primitive integral polynomials, then so is their product C(x) = A(x)B(x). int: If C(x) = k c kx k is not primitive, then there is a prime number p that divides all of the c k s. Write A(x) = l a lx l, and B(x) = m b mx m, let a r denote the coefficient of lowest order in A(x) that is not divisible by p (which must exist if A(x) is primitive), and let b s denote the coefficient of lowest order in B(x) that is not divisible by p. Express the product a r b s in terms of c r+s and the other a l s and b m s, and reach a contradiction. d) Suppose that a monic integral polynomial (x) can be factored into a product of two monic rational polynomials, (x) = A(x)B(x). Show that A(x) and B(x) are integral. int: First note that we may write A(x) = (/r) Ã(x), and B(x) = (/s) B(x), where r, s are positive integers, and Ã(x) and B(x) are primitive integral; then use (c) to show that r = s =. e) Combining (b) and (d), prove the theorem. What have we shown? Since U 2 U is a rotation by an irrational multiple of π, the powers of U 2 U are dense in a U() subgroup.

5 Similar reasoning shows that U U 2 is a rotation by the same angle about a different axis, and therefore its powers are dense in another U() subgroup. roducts of elements of these two noncommuting U() subgroups are dense in the SU(2) subgroup that contains both U and U 2. Furthermore, products of Λ( )U 2 U Λ( ) and Λ( )U U 2 are dense in another SU(2), acting on the span of { } 2 ( 0 0 ), ( 0 + 0 2i ). (5) 6 Λ( ) Together, these two SU(2) subgroups close on the SU(3) subgroup that acts on the three-dimensional space orthogonal to 00. Conjugating this SU(3) by we obtain another SU(3) acting on the three dimensional space orthogonal to +, +, where + = 2 ( 0 + ). The only subgroup of SU(4) that contains both of these SU(3) subgroups is SU(4) itself. Therefore, the circuits constructed from the gate set {, Λ( )} are dense in SU(4) we can approximate any two-qubit gate to arbitrary accuracy, which we know suffices for universal quantum computation. Whew! 3.3 Universal quantum gates III We have shown that the gate set {, Λ( )} is universal. Thus any gate set from which both and Λ( ) can be constructed is also universal. In particular, we can see that {,, Λ 2 (X)} is a universal set. a) It is sometimes convenient to characterize a quantum gate by specifying the action of the gate when it conjugates a auli operator. Show that and have the properties and X = Z, Y = Y, Z = X, (6) X = Y, Y = X, Z = Z. (7) b) Note that, since = 3, the gate K = can be constructed using and. Show that KXK = Y, KY K = X, KZK = Z. (8)

6 c) Construct circuits for Λ 2 (Y ) and Λ 2 (Z) using the gate set {,, Λ 2 (X)}. Then complete the proof of universality for this gate set by constructing Λ( ) I using Λ 2 (X), Λ 2 (Y ), and Λ 2 (Z). The Toffoli gate Λ 2 (X) is universal for reversible classical computation. What must be added to realize the full power of quantum computing? We have just seen that the single-qubit gates and, together with the Toffoli gate, are adequate for reaching any unitary transformation. But in fact, just and Λ 2 (X) suffice to efficiently simulate any quantum computation. Of course, since and Λ 2 (X) are both real orthogonal matrices, a circuit composed from these gates is necessarily real there are complex n-qubit unitaries that cannot be constructed with these tools. But a 2 n -dimensional complex vector space is isomorphic to a 2 n+ dimensional real vector space. A complex vector can be encoded by a real vector according to ψ = x ψ x x ψ = x (Re ψ x ) x, 0 + (Im ψ x ) x,, (9) and the action of the unitary transformation U can be represented by a real orthogonal matrix ŨR defined as U R : x, 0 (Re U) x 0 + (Im U) x, x, (Im U) x 0 + (Re U) x. (20) To show that the gate set {, Λ 2 (X)} is universal, it suffices to demonstrate that the real encoding Λ( ) R of Λ( ) can be constructed from Λ 2 (X) and. d) Verify that Λ( ) R = Λ 2 (XZ). e) Use Λ 2 (X) and to construct a circuit for Λ 2 (XZ). Thus, the classical Toffoli gate does not need much help to unleash the power of quantum computing. In fact, any nonclassical single-qubit gate (one that does not preserve the computational basis), combined with the Toffoli gate, is sufficient.

7 3.4 Universality from any entangling two-qubit gate We say that a two-qubit unitary quantum gate is local if it is a tensor product of single-qubit gates, and that the two-qubit gates U and V are locally equivalent if one can be transformed to the other by local gates: V = (A B)U(C D). (2) It turns out (you are not asked to prove this) that every two-qubit gate is locally equivalent to a gate of the form: V (θ x, θ y, θ z ) = exp [i (θ x X X + θ y Y Y + θ z Z Z)], (22) where π/4 < θ x θ y θ z π/4. (23) a) Show that V (π/4, π/4, π/4) is (up to an overall phase) the SWA operation that interchanges the two qubits: SWA ( ψ φ ) = φ ψ. (24) b) Show that V (0, 0, π/4) is locally equivalent to the CNOT gate Λ(X). As discussed in the lecture notes, the CNOT gate Λ(X) together with arbitrary single-qubit gates form a universal gate set. But in fact there is nothing special about the the CNOT gate in this regard. Any two-qubit gate U, when combined with arbitrary single-qubit gates, suffices for universality unless U is either local or locally equivalent to SWA. To demonstrate that U is universal when assisted by local gates it suffices to construct Λ(X) using a circuit containing only local gates and U gates. Lemma If U is locally equivalent to V (θ x, θ y, θ z ), then Λ(X) can be constructed from a circuit using local gates and U gates except in two cases: () θ x = θ y = θ z = 0 (U is local), (2) θ x = θ y = θ z = π/4 (U is locally equivalent to SWA).. You will prove the Lemma in the rest of this exercise.

8 c) Show that: (I X)V (θ x, θ y, θ z )(I X)V (θ x, θ y, θ z ) = V (2θ x, 0, 0), (I Y )V (θ x, θ y, θ z )(I Y )V (θ x, θ y, θ z ) = V (0, 2θ y, 0), (I Z)V (θ x, θ y, θ z )(I Z)V (θ x, θ y, θ z ) = V (0, 0, 2θ z ). (25) d) Show that V (0, 0, θ) is locally equivalent to the controlled rotation Λ[R(ˆn, 4θ)], where R(ˆn, 4θ) = exp[ 2iθ(ˆn σ)], for an arbitrary axis of rotation ˆn. (ere σ = (X, Y, Z).) e) Now use the results of (c) and (d) to prove the Lemma.