Quantum Computing for Computer Scientists

CMPUT 604-B1

Winter 2023


Instructor: Pierre Boulanger 
Email: 
pierreb@ualberta.ca

Office hours: after class or by appointment 
Course website: 
https://cs.ualberta.ca/~pierreb/QC-2023

 

The course will be every Tuesday and Thursday from 12h30 to 13h50 using Zoom.

The class will start on January 10

Register in advance for the meetings:

https://us02web.zoom.us/j/83145826230?pwd=VHZYT1F3cmtoMFczUWhzYjVqYkJEdz09

After registering, you will receive a confirmation email containing information about joining the meeting.

 

All lectures will be recorded.

 

Prerequisites: Students should be comfortable with linear algebra concepts such as unitary and Hermitian matrices. They should also have basic knowledge of probability theory.  Prior knowledge of quantum mechanics is helpful but not required.

 

Course Description: This course introduces the theory and applications of quantum information and quantum computation from the perspective of computer science. The course will cover classical information theory, compression of quantum information, quantum entanglement, efficient quantum algorithms, quantum error-correcting codes, fault-tolerant quantum computation, and quantum machine learning. The course will also cover physical implementations of quantum computation into real quantum computers and their programming languages using real-world examples utilising state-of-the-art quantum technology through the IBM Q Experience, Microsoft Quantum Development Kit, and D-Wave Leap.

 

Topics to be covered will likely include:

 

o Introduction, bracket notation, unitary operations, orthogonal measurements, n-qubit states, entanglement, single-qubit, and controlled operations

o Super-dense coding, incomplete measurements, quantum teleportation

o Quantum Computing Computer Architectures

o Quantum Computing Languages

o Quantum circuit model of computation

o Quantum error-correcting codes and fault-tolerance

o Basic quantum algorithms like Deutsch-Jozsa, Simon, and Grover

o Shor factoring algorithm

o Computational complexity theory

o Quantum entanglement, teleportation, and Bell inequalities

o Quantum Fourier transforms and the hidden subgroup problem

o Quantum query complexity, span programs, and the adversary method

o Density matrices, state discrimination, tomography

o Von Neumann entropy and Huevo bound

o Quantum machine learning

 

Evaluation

o The course evaluation consists of 8 assignments (5% each) on basic quantum theory and algorithmic. Some assignments will also involve programming real quantum computers using web-enabled IBM Q and D-Wave access.

o Most of the marks will be on a final project (60%) that must include basic quantum computing applications and their implementation on a simulator and a real quantum computer.

 Lecture Notes

Lecture Date

Topics

Course Material

Assignments and Announcements

Jan. 10, 12

o   Introduction

Introduction

Class Recording 1

Class Recording 2

o   Introduction to Google Colab

o  Introduction to Qiskit

o   Qiskit Website

o  Qiskit Course

o  Quantum Computing in 2 Hours

Jan. 17

o   Origin of Quantum Mechanics and History of Quantum Computing

History-of-QC-and-QI

 Class Recording 3

o  Quantum Computing Report

o  Open-source software in quantum computing

o  Mathematic Refresher

 

Jan. 19, 24

o   Intro. To Complex Linear Algebra and Hilbert Space

 

o   Dirac Notation and Schrodinger Equation

 

 

o   The postulates of Quantum Mechanics Using Dirac Notation

Abstract vector spaces

CLA_and_HS

  Class Recording 4

More on Dirac Notation and Hilbert Space

Derivation-of-Shrodinger-Eqn.pdf

 

The postulates of Quantum Mechanics

Assignment 1a: Solve the following math problems

Additional Information for Assignment 1

Foundation of QC

Measurement

Density Matrix

Latex Physics Package

 

Coding Assignments

o  Assignment 1b Colab Notebook

 

Due date: January 30

Jan. 26,31

Feb. 2

o   Classical Bit and Quantum Bit Manipulations

 

o   Circuit model of quantum computation-I

 

CBit and Qbit Manipulations 

 Class Recording 5

 

Quantum-Circuits-I

 Class Recording 6

Class Recording 7

Assignment 2: Implement the following quantum circuits using Qiskit

o   Coding Assignment 2 Colab Notebook

 

Due Date: February 11

 

o  Quantum Shift Register Notebook

o  Quantum RAM Notebook

o  Marking for Ass 1 and 2

Feb.  7, 9

o   Circuit model of quantum computation-II

 

o   More in Simon algorithm

  Quantum-Circuits-II

 Class Recording 8

Simon Algorithm Implementation

 Class Recording 9

Quantum-Circuits-III

 

Assignment 3: Quantum Fourier Transform and Phase Detection Using Qiskit

o   Coding Assignment 3 Colab Notebook

Due Date: February 18

Feb. 14,16

 

o   Phase Estimation and Shor Algorithm

 

o   More on Shor quantum factoring algorithm

 

 

o   Grover search algorithm

 

 

 

Quantum Fourier Transform

 

Shor Algorithm

Video on Shor Algorithm

 Class Recording 10

 

Quantum Circuits-IV

 

 Class Recording 11

Assignment 4: Implement Shor Algorithm using Qiskit

 

o   Coding Assignment 4 Colab Notebook

o   Running a QC Program on IBM Q

 

o   Qiskit Tutorial on Gover Algorithm

 

Due Date: February 25

 

Marking for Ass 3 and 4

No class Reading Week (Feb. 20-24)

 

 

 

Feb. 28 Mar. 2

o   Quantum Gate Neural Networks 

 

 

 

 

 

o   Quantum Computer Compiler

o   Fault-tolerant quantum error correction

 

 Quantum-Gate-Neural-Networks

Training Optimization for Gate-Model Quantum Neural Networks

 

Class Recording 12

 

Quantum-Computer-Compiler

Quantum Error Correction

 

Class Recording 13

 

Assignment 5: Implement Quantum Neural Network using TensorFlow Quantum

 

o   Coding Assignment 5 Colab Notebook

o   Introduction to Cirq

 

Due Date: March 11

 

One Page Project Description

Due March 11

 

Source Material to help you chose your project

 

Quantum TensorFlow

Quantum Machine Learning 1.0

Power of data in quantum machine learning

o  DWAVE Computing

 

Mar. 7, 9,14,16

o   Adiabatic Quantum Algorithm

 

 

 

o   Adiabatic Quantum Hardware

 

 

o   D-Wave Programming Environment

Quantum Annealing Computer

Quantum Annealing Supplement

 

 Class Recording 14

 

D-Wave 2000Q System

 

Class Recording 15

D-Wave Leap

Solving Problems Using QUBO

QUBO Tutorial

 

Class Recording 16

 

Assignment 6: Discrete Optimization and Unsupervised Learning Using DWAVE

 

o   Coding Assignment 6 Colab Notebook

 

Due Date: March 18

Mar. 21, 23, 28, 30

o   Quantum Machine Learning

 

 

 

 

 

 

 

o   Quantum Information Theory

Quantum-Machine-Learning

More on Quantum Machine Learning

 

 Class Recording 17

Class Recording 18

Class Recording 19

Class Recording 20

 

Quantum Information Theory

 QML NASA Presentation

Book by Wittek on QML

Quantum Approaches to Data Science and Data Analytics

 

Assignment 7: Quantum Classification and Regression on Classical Data

o   Coding Assignment 7 Colab Notebook

 

Due Date: March 26

 

Assignment 8: Training Deep Belief Networks Using Quantum Boltzmann Machine and Quantum Reinforcement Learning

o   Coding Assignment 8 Colab Notebook

 

Due Date: April 8

Apr. 4

o   Quantum Cryptography

o   Quantum Computer Hardware

Quantum Cryptography

 

Quantum Computer Hardware Overview

LC-Circuit-and-QC.pdf

 

Quantum Cryptography Explained

 

 

Final Project Report Due: April 15


 

Background Reading

Books

Other Lecture Notes

Quantum Computing Devices/Simulators

Papers/Talks