CSEP 590tv: Quantum Computing Dave Bacon June 29, 2005 Today’s Menu Administrivia Complex Numbers Bra’s Ket’s and All That Quantum Circuits.

Slides:



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

Complex Representation of Harmonic Oscillations. The imaginary number i is defined by i 2 = -1. Any complex number can be written as z = x + i y where.
Matrix Representation
Puzzle Twin primes are two prime numbers whose difference is two.
CS 450: COMPUTER GRAPHICS LINEAR ALGEBRA REVIEW SPRING 2015 DR. MICHAEL J. REALE.
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Integrals over Operators
Quantum One: Lecture 16.
Maths for Computer Graphics
6 6.1 © 2012 Pearson Education, Inc. Orthogonality and Least Squares INNER PRODUCT, LENGTH, AND ORTHOGONALITY.
Review of Basics and Elementary introduction to quantum postulates.
New chapter – quantum and stat approach We will start with a quick tour over QM basics in order to refresh our memory. Wave function, as we all know, contains.
Now Playing: My Mathematical Mind Spoon From Gimme Fiction Released May 10, 2005.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
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.
Dirac Notation and Spectral decomposition Michele Mosca.
CSEP 590tv: Quantum Computing
Dirac Notation and Spectral decomposition
CSEP 590tv: Quantum Computing Dave Bacon June 22, 2005 Today’s Menu Administrivia What is Quantum Computing? Quantum Theory 101 Linear Algebra Quantum.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Vectors and Matrices Class 17.1 E: Ch. 5.
Matrices The Basics Vocabulary and basic concepts.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
राघव वर्मा 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.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
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.
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
Presentation on Matrices and some special matrices In partial fulfillment of the subject Vector calculus and linear algebra ( ) Submitted by: Agarwal.
Chemistry 330 The Mathematics Behind Quantum Mechanics.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
CMPS 1371 Introduction to Computing for Engineers MATRICES.
Too Many to Count.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1, 2.2, 2.3 September 06, 2013 Radu Serban University of Wisconsin-Madison.
Matthew Christian. About Me Introduction to Linear Algebra Vectors Matrices Quaternions Links.
The goal is to give an introduction to the mathematical operations with matrices. A matrix is a 2-dimensional arrangement of (real valued) data. The data.
8.4.2 Quantum process tomography 8.5 Limitations of the quantum operations formalism 量子輪講 2003 年 10 月 16 日 担当:徳本 晋
VECTORS AND THE GEOMETRY OF SPACE. The Cross Product In this section, we will learn about: Cross products of vectors and their applications. VECTORS AND.
Mathematical Tools of Quantum Mechanics
Quantum Computers The basics. Introduction 2/47 Dušan Gajević.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
MTH108 Business Math I Lecture 20.
CSE 167 [Win 17], Lecture 2: Review of Basic Math Ravi Ramamoorthi
Linear Algebra review (optional)
Matrix Operations.
Quantum One.
Lecture on Linear Algebra
Quantum One.
UMBC Graphics for Games
Chapter 3 Linear Algebra
Linear Vector Space and Matrix Mechanics
Linear Algebra review (optional)
4.6 – Perform Operations with Complex Numbers
Game Programming Algorithms and Techniques
Presentation transcript:

CSEP 590tv: Quantum Computing Dave Bacon June 29, 2005 Today’s Menu Administrivia Complex Numbers Bra’s Ket’s and All That Quantum Circuits

Administrivia Changes: slowing down. Mailing list: sign up on sheet being passed around. In class problems: hardness on the same order of magnitude as the homework problems. Problem Set 1: has been posted. Anyone who didn’t get my about the first homework being canceled, please let me know and we will arrange accordingly. Think: Physics without Calculus Quantum theory with a minimal of linear algebra Office Hours: Ioannis Giotis, 5:30-6:30 Wednesday in 430 CSE

Last Week Last week we saw that there is a big motivation for understanding quantum computers. BIG PICTURE: understanding quantum information processing machines is the goal of this class! We also saw that there were there funny postulates describing quantum systems. This week we will be slowing down and understanding the basic workings of quantum theory by understanding one qubit and two qubit systems.

Quantum Theory’s Language “Complex linear algebra” is the language of quantum theory Today we will go through this slowly 1. Complex numbers 2. Complex vectors 3. Bras, Kets, and all that (in class problem) 4. Qubits 5. Measuring Qubits 6. Evolving Qubits (in class problem) 7. Two qubits: the tensor product 8. Quantum circuits (in class problem)

Math Mathematics as a series of discoveries of objects who at first you don’t believe exist, and then after you find out they do exist, you discover that they are actually useful! irrational numbers

Complex Numbers, Definition Complex numbers are numbers of the form real “square root of minus one” Examples: “purely real” “purely imaginary” roots of

Complex Numbers, Geometry Complex numbers are numbers of the form real “square root of minus one” Complex plane: real axis imaginary axis

Complex Numbers, Math Complex numbers can be added Example: and multiplied Example:

Complex Numbers, That * Thing We can take the complex conjugate of a complex number Example: We can find its modulus Example:

Complex Numbers, Modulus Modulus is the length of the complex number in the complex plane: real axis imaginary axis Modulus

Complex Numbers, Euler Euler’s formula Example: The modulus of Some important cases:

Complex Numbers, Phases Euler’s formula geometrically real axis imaginary axis phase angle Multiplying phases is beautiful: Conjugating phases is also beautiful:

Complex Numbers, Geometry All complex numbers can be expressed as: real axis imaginary axis phase angle modulus, magnitude

Complex Numbers, Geometry All complex numbers can be expressed as: Example: real axis

Complex Numbers, Multiplying All complex numbers can be expressed as: It is easy to multiply complex numbers when they are in this form Example:

Complex Vectors N dimensional complex vector is a list of N complex numbers: Example: 3 dimensional complex vectors (we start counting at 0 because eventually N will be a a power of 2) is the th component of the vector “column vector”“ket”

Complex Vectors, Scalar Times Complex numbers can be multiplied by a complex number Example: 3 dimensional complex vector multiplied by a complex number is a complex number

Complex Vectors, Addition Complex numbers can be added Addition and multiplication by a scalar:

Complex Vectors, Addition Examples:

Vectors, Addition Remember adding real vectors looks geometrically like: We should have a similar picture in mind for complex vectors But the components of our vector are now complex numbers

Computational Basis Some special vectors: Example: 2 dimensional complex vectors (also known as: a qubit!)

Computational Basis Vectors can be “expanded” in the computational basis: Example:

Computational Basis Math Example:

Computational Basis Math Example:

Bras and Kets For every “ket,” there is a corresponding “bra” & vice versa Examples:

Bras, Math Multiplied by complex number Example: Added Example:

Computational Bras Computational Basis, but now for bras: Example:

The Inner Product Given a “bra” and a “ket” we can calculate an “inner product” This is a generalization of the dot product for real vectors The result of taking an inner product is a complex number

The Inner Product Example: Complex conjugate of inner product:

The Inner Product in Comp. Basis Kronecker delta Inner product of computational basis elements:

The Inner Product in Comp. Basis Example:

In Class Problem # 1

Norm of a Vector Norm of a vector: which is always a positive real number Example: it is (roughly) the length of the complex vector

Quantum Rule 1 Rule 1: The wave function of a N dimensional quantum system is given by an N dimensional complex vector with norm equal to one. Example: a valid wave function for a 3 dimensional quantum system

Qubits Two dimensional quantum systems are called qubits A qubit has a wave function which we write as Examples: Valid qubit wave functions: Invalid qubit wave function:

Measuring Qubits A bit is a classical system with two possible states, 0 and 1 A qubit is a quantum system with two possible states, 0 and 1 When we observe a qubit, we get the result 0 or the result 1 01or If before we observe the qubit the wave function of the qubit is then the probability that we observe 0 is and the probability that we observe 1 is “measuring in the computational basis”

Measuring Qubits We are given a qubit with wave function If we observe the system in the computational basis, then we get outcome 0 with probability and we get outcome 1 with probability: Example:

Measuring Qubits Continued When we observe a qubit, we get the result 0 or the result 1 01or If before we observe the qubit the wave function of the qubit is then the probability that we observe 0 is and the probability that we observe 1 is “measuring in the computational basis” and the new wave function for the qubit is

Measuring Qubits Continued 0 1 probability new wave function The wave function is a description of our system. When we measure the system we find the system in one state This happens with probabilities we get from our description

Measuring Qubits We are given a qubit with wave function If we observe the system in the computational basis, then we get outcome 0 with probability and we get outcome 1 with probability: Example: new wave function

Measuring Qubits We are given a qubit with wave function If we observe the system in the computational basis, then we get outcome 0 with probability and we get outcome 1 with probability: Example: new wave function a.k.a never

Quantum Rule 3 Rule 3: If we measure a N dimensional quantum system with the wave function in the basis, then the probability of observing the system in the state is. After such a measurement, the wave function of the system is 0 1 probability new wave function N-1 new wave function probability

Matrices A N dimensional complex matrix M is an N by N array of complex numbers: are complex numbers Example: Three dimensional complex matrix:

Matrices, Multiplied by Scalar Matrices can be multiplied by a complex number Example:

Matrices, Added Matrices can be added Example:

Matrices, Multiplied Matrices can be multiplied

Matrices, Multiplied Example: Note:

Matrices and Kets, Multiplied Given a matrix, and a column vector: These can be multiplied to obtain a new column vector:

Matrices and Kets, Multiplied Example:

Matrices and Bras, Multiplied Given a matrix, and a row vector: These can be multiplied to obtain a new row vector:

Matrices and Bras, Multiplied Example:

Matrices, Complex Conjugate Given a matrix, we can form its complex conjugate by conjugating every element: Example:

Matrices, Transpose Given a matrix, we can form it’s transpose by reflecting across the diagonal Example:

Matrices, Conjugate Transpose Given a matrix, we can form its conjugate transpose by reflecting across the diagonal and conjugating Example:

Bras, Kets, Conjugate Transpose Taking the conjugate transpose of a ket gives the corresponding bra: Similarly we can take the conjugate transpose of a bra to get the corresponding ket:

Unitary Matrices A matrix is unitary if N x N identity matrix Equivalently a matrix is unitary if

Unitary Example Conjugate: Conjugate transpose: Unitary? Yes:

Quantum Rule 2 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 “Unitary Evolution”

Unitary Evolution and the Norm Unitary evolution What happens to the norm of the ket? Unitary evolution does not change the length of the ket. Normalized wave function unitary evolution

Unitary Evolution for Qubits Unitary evolution will be described by a two dimensional unitary matrix If initial qubit wave function is Then this evolves to

Unitary Evolution for Qubits

Single Qubit Quantum Circuits Circuit diagrams for evolving qubits quantum wire single line = qubit input qubit wave function quantum gate output qubit wave function time

Single Qubit Quantum Circuits Two unitary evolutions: measurement in the basis Probability of outcome 0: Probability of outcome 1:

In Class Problem #2