Professional Documents
Culture Documents
Week 17 Summary of Key Concepts Template
Week 17 Summary of Key Concepts Template
Lecture
In lecture today, we shifted our focus to algorithms. We broke down the quantum
algorithm design process using our new linear algebra skills. We then saw how computer
scientists analyze and compare algorithms, both classical and quantum, using big-O
notation. Lastly, we saw a common tool in computer science: the oracle.
3. There are often many algorithms to solve the same problem, classical and quantum.
We can compare all our options and pick the best one using:
© 2023 The Coding School
a. Runtime: Given an input (‘dog’), how long does it take our computer to find
the output (4) using this algorithm?
b. Big-O: As a function of input size, how many operations does the algorithm
perform in the worst case scenario?
4. Big-O notation is the preferred way to compare the efficiency of both classical and
quantum algorithms.
5. The goal of designing a good quantum algorithm is to achieve a smaller Big-O than
any classical algorithm for the same task has achieved: O(Quantum) < O(Classical).
Lab
In lab this week, we saw how to implement and analyze two classical algorithms: linear and
binary search.