1 / 54

Quantum Computing

Quantum Computing. Lecture on Linear Algebra. Sources: Angela Antoniu , Bulitko, Rezania, Chuang, Nielsen . Goals:. Review circuit fundamentals Learn more formalisms and different notations. Cover necessary math more systematically Show all formal rules and equations.

danika
Download Presentation

Quantum Computing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Quantum Computing Lecture on Linear Algebra Sources:Angela Antoniu, Bulitko, Rezania, Chuang, Nielsen

  2. Goals: • Review circuit fundamentals • Learn more formalisms and different notations. • Cover necessary math more systematically • Show all formal rules and equations

  3. Introduction to Quantum Mechanics • This can be found in Marinescu and in Chuang and Nielsen • Objective • To introduce all of the fundamental principles of Quantum mechanics • Quantum mechanics • The most realistic known description of the world • The basis for quantum computing and quantum information • Why Linear Algebra? • LA is the prerequisite for understanding Quantum Mechanics • What is Linear Algebra? • … is the study of vector spaces… and of • linear operations on those vector spaces

  4. Linear algebra -Lecture objectives • Review basic concepts from Linear Algebra: • Complex numbers • Vector Spaces and Vector Subspaces • Linear Independence and Bases Vectors • Linear Operators • Pauli matrices • Inner (dot) product, outer product, tensor product • Eigenvalues, eigenvectors, Singular Value Decomposition (SVD) • Describe the standard notations (the Dirac notations) adopted for these concepts in the study of Quantum mechanics • … which, in the next lecture, will allow us to study the main topic of the Chapter: the postulates of quantum mechanics

  5. Review: Complex numbers • A complex numberisof the form where and i2=-1 • Polar representation • With the modulus or magnitude • And the phase • Complex conjugate

  6. Review: The Complex Number System • Another definitions and Notations: • It is the extension of the real number system via closure under exponentiation. • (Complex) conjugate: c* = (a + bi)*  (a bi) • Magnitude or absolute value: |c|2= c*c =a2+b2 The “imaginary”unit +i c b  + a “Real” axis “Imaginary”axis i

  7. Review: Complex Exponentiation • Powers of i are complex units: • Note: ei/2 = i ei= 1 e3 i/2 =  i e2 i= e0 = 1 ei +i  1 +1 i Z1=2 e i Z12 = (2 e i)2 = 2 2 (ei)2= 4 (e i )2 = 4 e 2i 2 4

  8. Recall: What is a qubit? • A bit has two possible states • Unlike bits, a qubit can be in a state other than • We can form linear combinations of states • A qubit state is a unit vector in a two-dimensionalcomplex vector space

  9. Properties of Qubits • Qubits are computational basis states - orthonormal basis - we cannot examine a qubit to determine its quantum state - A measurement yields

  10. (Abstract) Vector Spaces • A concept from linear algebra. • A vector space, in the abstract, is any set of objects that can be combined like vectors, i.e.: • you can add them • addition is associative & commutative • identity law holds for addition to zero vector 0 • you can multiply them by scalars (incl. 1) • associative, commutative, and distributive laws hold • Note: There is no inherent basis (set of axes) • the vectors themselves are the fundamental objects • rather than being just lists of coordinates

  11. Vectors • Characteristics: • Modulus (or magnitude) • Orientation • Matrix representation of a vector Operations on vectors This is adjoint, transpose and next conjugate

  12. Vector Space, definition: • A vector space (of dimension n) is a set of n vectors satisfying the following axioms (rules): • Addition: add any two vectors and pertaining to a vector space, say Cn,obtain a vector, the sum, with the properties : • Commutative: • Associative: • Any has a zero vector (called the origin): • To every in Cncorresponds a unique vector - v such as • Scalar multiplication:  next slide Operations on vectors

  13. Vector Space (cont) • Scalar multiplication: for any scalar • Multiplication by scalars is Associative: distributive with respect to vector addition: • Multiplication by vectors is distributive with respect to scalar addition: • A Vector subspace in an n-dimensional vector space is a non-empty subset of vectors satisfying the same axioms in such way that Operations on vectors

  14. Linear Algebra

  15. Vector Spaces Complex number field

  16. Cn

  17. Spanning Set and Basis vectors • Or SPANNING SET for Cn: any set of n vectors such that any vector in the vector space Cn can be written using the n base vectors • Example for C2 (n=2): Spanning set is a set of all such vectors for any alpha and beta which is a linear combination of the 2-dimensionalbasis vectors and

  18. Bases and Linear Independence Linearly independent vectors in the space Red and blue vectors add to 0, are not linearly independent Always exists!

  19. Basis

  20. Bases for Cn

  21. Linear Operators So far we talked only about vectors and operations on them. Now we introduce matrices A is linear operator

  22. Hilbert spaces • A Hilbert space is a vector space in which the scalars are complex numbers, with an inner product (dot product) operation  : H×H  C • Definition of inner product: xy = (yx)* (* = complex conjugate) xx  0 xx= 0 if and only if x = 0 xy is linear, under scalar multiplication and vector addition within both x and y Black dot is an inner product “Component”picture: y Another notation often used: x xy/|x| “bracket”

  23. Vector Representation of States • Let S={s0, s1, …} be a maximal set of distinguishable states, indexed by i. • The basis vector vi identified with the ith such state can be represented as a list of numbers: s0s1s2si-1si si+1 vi = (0, 0, 0, …, 0, 1, 0, … ) • Arbitrary vectors v in the Hilbert space can then be defined by linear combinations of the vi: • And the inner product is given by:

  24. Dirac’s Ket Notation You have to be familiar with these three notations • Note: The inner productdefinition is the same as thematrix product of x, as aconjugated row vector, timesy, as a normal column vector. • This leads to the definition, for state s, of: • The “bra” s| means the row matrix [c0* c1* …] • The “ket” |s means the column matrix  • The adjoint operator† takes any matrix Mto its conjugate transpose M†MT*, sos| can be defined as |s†, and xy = x†y. “Bracket”

  25. Linear Operators New space

  26. Pauli Matrices = examples X is like inverter • Properties:Unitary and Hermitian This is adjoint

  27. Matrices to transform between bases Pay attention to this notation

  28. Examples of operators Similar to Hadamard

  29. This is new, we did not use inner products yet Inner Products of vectors We already talked about this when we defined Hilbert space Complex numbers Be able to prove these properties from definitions

  30. Slightly other formalism for Inner Products Be familiar with various formalisms

  31. Example: Inner Product on Cn

  32. Norms

  33. Outer Products of vectors This is Kronecker operation

  34. Outer Products of vectors |u> <v| is an outer product of |u> and |v> |u> is from U, |v> is from V. |u><v| is a map V U We will illustrate how this can be used formally to create unitary and other matrices

  35. Eigenvectors of linear operators and their Eigenvalues Eigenvalues of matrices are used in analysis and synthesis

  36. Eigenvalues and Eigenvectors versus diagonalizable matrices Eigenvector of Operator A

  37. Diagonal Representations of matrices From last slide Diagonal matrix

  38. Adjoint Operators This is very important, we have used it many times already

  39. Normal and Hermitian Operators But not necessarily equal identity

  40. Unitary Operators

  41. Unitary and Positive Operators: some properties and a new notation Other notation for adjoint (Dagger is also used Positive operator Positive definite operator

  42. Hermitian Operators: some properties in different notation These are important and useful properties of our matrices of circuits

  43. Tensor Products of VectorSpaces Notation for vectors in space V Note various notations

  44. Tensor Product of two Matrices

  45. Tensor Products of vectors and Tensor Products of Operators Properties of tensor products for vectors Tensor product for operators

  46. Properties of Tensor Products of vectors and operators These can be vectors of any size We repeat them in different notation here

  47. Functions of Operators I is the identity matrix X is the Pauli X matrix Remember also this: Matrix of Pauli rotation X

  48. For Normal Operators there is also Spectral Decomposition If A is represented like this Then f(A) can be represented like this

  49. Trace of a matrix and a Commutator of matrices

  50. Review to remember Quantum Notation (Sometimes denoted by bold fonts) (Sometimes called Kronecker multiplication)

More Related