CSEP 590tv: Quantum Computing: Dave Bacon
CSEP 590tv: Quantum Computing: Dave Bacon
Dave Bacon
June 29, 2005
Today’s Menu
Administrivia
Complex Numbers
Quantum Circuits
Administrivia
Changes: slowing down.
irrational
numbers
Complex Numbers, Definition
Complex numbers are numbers of the form
“square root of minus one”
real real
Examples:
“purely real”
“purely imaginary”
roots of
Complex Numbers, Geometry
Complex numbers are numbers of the form
“square root of minus one”
real real
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:
Example:
Complex Numbers, Modulus
Modulus
real axis
imaginary axis
Complex Numbers, Euler
Euler’s formula
Example:
The modulus of
real axis
phase angle
imaginary axis
Multiplying phases is beautiful:
real axis
modulus, magnitude
phase angle
imaginary axis
Complex Numbers, Geometry
All complex numbers can be expressed as:
Example:
real axis
Complex Numbers, Multiplying
All complex numbers can be expressed as:
Example:
Complex Vectors
N dimensional complex vector is a list of N complex numbers:
is the th component of the vector
is a complex number
Example:
3 dimensional complex vector multiplied by a complex number
Complex Vectors, Addition
Complex numbers can be added
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”
Example:
Kronecker delta
The Inner Product in Comp. Basis
Example:
In Class Problem # 1
Norm of a Vector
Norm of a vector:
Example:
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
Examples:
Valid qubit wave functions:
0 or 1
0 or 1
probability
a.k.a never
Quantum Rule 3
Rule 3: If we measure a N dimensional quantum system with
the wave function
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:
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
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
unitary evolution
Unitary Evolution for Qubits
Unitary evolution will be described by a two dimensional
unitary matrix
quantum gate
input output
qubit qubit
wave wave
function function
quantum wire
single line = qubit
time
Single Qubit Quantum Circuits
Two unitary evolutions: