Puzzle Twin primes are two prime numbers whose difference is two.

Slides:



Advertisements
Similar presentations
Department of Computer Science & Engineering University of Washington
Advertisements

5.3 Orthogonal Transformations
Quantum Computation and Quantum Information – Lecture 2
Quantum Computation and Quantum Information – Lecture 3
Chapter 4 Euclidean Vector Spaces
6.4 Best Approximation; Least Squares
CS 450: COMPUTER GRAPHICS LINEAR ALGEBRA REVIEW SPRING 2015 DR. MICHAEL J. REALE.
Quantum One: Lecture 9. Graham Schmidt Orthogonalization.
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum One: Lecture 16.
Quantum One: Lecture Canonical Commutation Relations 3.
X y z z′ R (  1,  2,  3 ) = 11 y′ 11 =x′ 22 22 22 x′′ z′′ =y′′ 33 y′′′ z′′′ = x′′′ 33 33.
Review of Basics and Elementary introduction to quantum postulates.
Review of Basics and Elementary introduction to quantum postulates.
Chapter 3 Determinants and Matrices
CSci 6971: Image Registration Lecture 2: Vectors and Matrices January 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI.
Introduction to Quantum Information Processing Lecture 4 Michele Mosca.
Dirac Notation and Spectral decomposition Michele Mosca.
Quantum Computing Mathematics and Postulates
CSEP 590tv: Quantum Computing
Dirac Notation and Spectral decomposition
Vectors and Matrices Class 17.1 E: Ch. 5.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
CSEP 590tv: Quantum Computing Dave Bacon June 29, 2005 Today’s Menu Administrivia Complex Numbers Bra’s Ket’s and All That Quantum Circuits.
Orthogonal Matrices and Spectral Representation In Section 4.3 we saw that n  n matrix A was similar to a diagonal matrix if and only if it had n linearly.
राघव वर्मा Inner Product Spaces Physical properties of vectors  aka length and angles in case of arrows Lets use the dot product Length of Cosine of the.
Presented by: Erik Cox, Shannon Hintzman, Mike Miller, Jacquie Otto, Adam Serdar, Lacie Zimmerman.
Quantum Computing MAS 725 Hartmut Klauck NTU
Alice and Bob’s Excellent Adventure
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
Michael A. Nielsen University of Queensland Quantum Mechanics I: Basic Principles Goal of this and the next lecture: to introduce all the basic elements.
8.1 Vector spaces A set of vector is said to form a linear vector space V Chapter 8 Matrices and vector spaces.
Quantum Mechanics(14/2)Taehwang Son Functions as vectors  In order to deal with in more complex problems, we need to introduce linear algebra. Wave function.
CS654: Digital Image Analysis Lecture 12: Separable Transforms.
You Did Not Just Read This or did you?. Quantum Computing Dave Bacon Department of Computer Science & Engineering University of Washington Lecture 3:
Elementary Linear Algebra Anton & Rorres, 9th Edition
CSEP 590tv: Quantum Computing Dave Bacon July 20, 2005 Today’s Menu n Qubit registers Begin Quantum Algorithms Administrivia Superdense Coding Finish Teleportation.
8.4.2 Quantum process tomography 8.5 Limitations of the quantum operations formalism 量子輪講 2003 年 10 月 16 日 担当:徳本 晋
CS654: Digital Image Analysis Lecture 13: Discrete Fourier Transformation.
Mathematical Tools of Quantum Mechanics
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
Quantum Computers The basics. Introduction 2/47 Dušan Gajević.
CS654: Digital Image Analysis Lecture 11: Image Transforms.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Matrices and vector spaces
Postulates of Quantum Mechanics
Introduction to Quantum Computing Lecture 1 of 2
Lecture 03: Linear Algebra
Quantum One.
Quantum One.
Quantum One.
Lecture on Linear Algebra
Quantum One.
Quantum One.
Chapter 3 Linear Algebra
OSU Quantum Information Seminar
Linear Vector Space and Matrix Mechanics
Linear Vector Space and Matrix Mechanics
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
Game Programming Algorithms and Techniques
Linear Vector Space and Matrix Mechanics
Linear Vector Space and Matrix Mechanics
Presentation transcript:

Puzzle Twin primes are two prime numbers whose difference is two. For example, 17 and 19 are twin primes. Puzzle: Prove that for every twin prime with one prime greater than 6, the number in between the two twin primes is divisible by 6. For example, the number between 17 and 19 is 18 which is divisible by 6.

CSEP 590tv: Quantum Computing Dave Bacon July 6, 2005 Today’s Menu Administrivia Basis Two Qubits Deutsch’s Algorithm Begin Quantum Teleportation?

Administrivia Hand in Homework #1 Pick up Homework #2 Is anyone not on the mailing list?

Recap The description of a quantum system is a complex vector Measurement in computational basis gives outcome with probability equal to modulus of component squared. Evolution between measurements is described by a unitary matrix.

Recap Qubits: Measuring a qubit: Unitary evolution of a qubit:

Goal of This Lecture Finish off single qubits. Discuss change of basis. Two qubits. Tensor products. Deutsch’s Problem By the end of this lecture you will be ready to embark on studying quantum protocols….like quantum teleportation

Basis? “Other coordinate system”

Resolving a Vector use the dot product to get the component of a vector along a direction: unit vector use two orthogonal unit vectors in 2D to write in new basis: orthogonal unit vectors:

Expressing In a New Basis “Other coordinate system”

Computational Basis Computational basis: is an orthonormal basis: Kronecker delta Computational basis is important because when we measure our quantum computer (a qubit, two qubits, etc.) we get an outcome corresponding to these basis vectors. But there are all sorts of other basis which we could use to, say, expand our vector about.

A Different Qubit Basis A different orthonormal basis: An orthonormal basis is complete if the number of basis elements is equal to the dimension of the complex vector space.

Changing Your Basis Express the qubit wave function in the orthonormal complete basis in other words find component of. Some inner products: So: Calculating these inner products allows us to express the ket in a new basis.

Example Basis Change Express in this basis: So:

Explicit Basis Change Express in this basis: So:

Basis We can expand any vector in terms of an orthonormal basis: Why does this matter? Because, as we shall see next, unitary matrices can be thought of as either rotating a vector or as a “change of basis.” To understand this, we first note that unitary matrices have orthonormal basis already hiding within them…

Unitary Matrices, Row Vectors Four equations: Say the row vectors, are an orthonormal basis For example:

Unitary Matrices, Column Vectors Four equations: Say the column vectors, are an orthonormal basis For example:

Unitary Matrices, Row & Column Example: Row vectors Are orthogonal

Unitary Matrices as “Rotations” Unitary matrices represent “rotations” of the complex vectors

Unitary Matrices as “Rotations” Unitary matrices represent “rotations” of the complex vectors

Rotations and Dot Products Unitary matrices represent “rotations” of the complex vectors Recall: rotations of real vectors preserve angles between vectors and preserve lengths of vectors. rotation What is the corresponding condition for unitary matrices?

Unitary Matrices, Inner Products Unitary matrices preserve the inner product of two complex vectors: Adjoint-ing rule: reverse order and adjoint elements: Inner product is preserved:

Unitary Matrices, Backwards We can also ask what input vectors given computational basis vectors as their output: Because of unitarity:

Unitary Matrices, Basis Change If we express a state in the row vector basis of i.e. as Then the unitary changes this state to So we can think of unitary matrices as enacting a “basis change”

Measurement Again Recall that if we measure a qubit in the computational basis, the probability of the two outcomes 0 and 1 are We can express is in a different notation, by using as

Unitary and Measurement Suppose we perform a unitary evolution followed by a measurement in the computational basis: What are the probabilities of the two outcomes, 0 and 1? which we can express as Define the new basis Then we can express the probabilities as

Measurement in a Basis The unitary transform allows to “perform a measurement in a basis differing from the computational basis”: Suppose is a complete basis. Then we can “perform a measurement in this basis” and obtain outcomes with probabilities given by:

Measurement in a Basis Example:

In Class Problem #1

Two Qubits Two bits can be in one of four different states 00 01 10 11 Similarly two qubits have four different states 00 01 10 11 The wave function for two qubits thus has four components: first qubit second qubit first qubit second qubit

Two Qubits Examples:

When Two Qubits Are Two The wave function for two qubits has four components: Sometimes we can write the wave function of two qubits as the “tensor product” of two one qubit wave functions. “separable”

Two Qubits, Separable Example:

Two Qubits, Entangled Example: Assume: Either but this implies contradictions or but this implies So is not a separable state. It is entangled.

Measuring Two Qubits If we measure both qubits in the computational basis, then we get one of four outcomes: 00, 01, 10, and 11 If the wave function for the two qubits is Probability of 00 is New wave function is Probability of 01 is New wave function is Probability of 10 is New wave function is Probability of 11 is New wave function is

Two Qubits, Measuring Example: Probability of 00 is

Two Qubit Evolutions Rule 2: The wave function of a N dimensional quantum system evolves in time according to a unitary matrix . If the wave function initially is then after the evolution correspond to the new wave function is

Two Qubit Evolutions

Manipulations of Two Bits Two bits can be in one of four different states 00 01 10 11 We can manipulate these bits 00 01 01 00 10 10 11 11 Sometimes this can be thought of as just operating on one of the bits (for example, flip the second bit): 00 01 01 00 10 11 11 10 But sometimes we cannot (as in the first example above)

Manipulations of Two Qubits Similarly, we can apply unitary operations on only one of the qubits at a time: first qubit second qubit Unitary operator that acts only on the first qubit: two dimensional Identity matrix two dimensional unitary matrix Unitary operator that acts only on the second qubit:

Tensor Product of Matrices

Tensor Product of Matrices Example:

Tensor Product of Matrices Example:

Tensor Product of Matrices Example:

Tensor Product of Matrices Example:

Two Qubit Quantum Circuits A two qubit unitary gate Sometimes the input our output is known to be seperable: Sometimes we act only one qubit

Some Two Qubit Gates control controlled-NOT target Conditional on the first bit, the gate flips the second bit.

Computational Basis and Unitaries Notice that by examining the unitary evolution of all computational basis states, we can explicitly determine what the unitary matrix.

Linearity We can act on each computational basis state and then resum This simplifies calculations considerably

Linearity Example:

Linearity Example:

Some Two Qubit Gates control controlled-NOT target control controlled-U target controlled-phase swap

Quantum Circuits controlled-H Probability of 10: Probability of 11: Probability of 00 and 01:

In Class Problem #2