January 19, 2024
Friday
Summary of week 1
January 22, 2024
Monday
January 24, 2024
Wednesday
January 26, 2024
Friday
Slides
HW1 due 1:00pm 1/26 Friday/Solution (average=11.4/12, std
dev=0.49)
Slides
Check out Quantum Algorithm Zoo for exmaples of quantum
algorithms.
What is quantum computing? (Explanation on PennyLnae page)
Qubits, bra-ket notation, superposition, and measurements
(Codebook Module I.1.)
Quantum Circuits (Codebook Module 1.2)
Unitaries (Codebook Module_1.3)
Qiskit video on Vector Spaces, Tensor Products, and Qubits
Read Qiskit on Why quantum computing?, The atoms of
computation, What is quantum?, and Describing quantum computers
Slides
U. Vazirani: Qubits, Geometric representation, Bra ket notation.
M. Nielsen: The qubit, Tips for working with qubits, Why_unitaries
are the only matrices which preserve length
M. Nielsen: The quantum NOT gate, The Hadamard gate, General
single-qubit gates, Examples of single-qubit quantum gates
Slides
Quantum operations and 1-qubit gates (Codebook Module 1.4)
Global and relative phases (Codebook Module 1.5)
Rotation gates and Bloch sphere (Codebook Module 1.6)
Universal gate sets (Codebook Module 1.7)
HW1 due 1:00pm today
HW2 due 1:00pm 2/2 Friday / Solution (average=13.3/14, std
dev=0.78)
Slides
Example 1 with single gates on colab
Summary of werk? Example 2 with single qubit circuit on colab/n - Problem Set 4 (due 1:00 pm, February 16, 2024 Friday) -
1. Read Xanadu Quantum Codebook T.1 Tutorial and complete 3 exercies. Submit the
confirmation page, which shows "3/3 Complete” as well as we the link to copy of your code. (2
points) For example, you can take the screen shot as shown in Fig. 1 (below) and submit via email.
Xanadu Quantum Codebook
N
E
A
P
H
S
https://codebook.xanadu.ai/T.1
2/4/24, 10:14 AM
T.1
Tutorial
solve. The panel
adjacent on the right
provides written
content to help you
solve them, and to
gain a more
theoretical
understanding of the
concepts presented
here.
Codebook
coding
challenges
The core component
of the Codebook is a
set of coding
challenges
(codercises) in
Python. They require
you to test your
knowledge of new
concepts by solving
short quantum
computing problems.
The challenges are
autograded, and will
T.1
Tutorial
etc.)
basic NumPy usage
(creating arrays,
adding/subtracting/mu
arrays, manipulating
them; the NumPy
documentation is
the best resource for
this)
⚫ decorators
⚫ conceptual
knowledge of
functional
programming is
beneficial, but not a
requirement
Familiarity with
PennyLane is not
required, and will be
taught by this
resource.
Linear
algebra
• vectors
• matrices
⚫ complex numbers
(in both rectangular
and polar form)
3/3 Complete
×
Page 1 of 1
FIG. 1: Completion page when I Xanadu quantum codebook.
In addition, please copy your codes from Xanadu Quantum to Google Colab. Include an illustration
of your code at the end of jupyter notebook. Please make sure you include relevant packages in the
beginning of code. You don't need these when running the codes on Xanadu Quantum page but
you need to include these, when running on Google Colab. Please make sure you change permission
properly. General viewer access for "Anyone with the link" should be ok.
Here is an example of my codes. https://colab.research.google.com/drive/1gqX_XdFppslnht6Snf-JFaGUu7UFgA41?usp=sharing
2. Read Xanadu Quantum Codebook I.1 Tutorial and complete 5 exercies. There are five
tasks. Submit the confirmation page, which shows “5/5 Complete” as well as we the link to copy
of your code. (5 points) You can take the screen shot as shown in Fig. 1 and submit via email (or
include this on your Google Colab page below).
3. Read Xanadu Quantum Codebook 1.2 Tutorial and complete 4 exercises. There are four
tasks. Submit the confirmation page, which shows "4/4 Complete" as well as we the link to copy
of your code. (4 points) You can take the screen shot as shown in Fig. 1 and submit via email (or
include this on your Google Colab page below).
You can send me three separate links. Or you can keep everything on one jupyter file but in this
case,
please make sure you separate them clearly.