Save this video free

L17 Grover's Algorithm I

Quantum Computing, TCAD, Semicond by Hiu-Yung Wong · 1:07:35 · Watch on YouTube

Part of San Jose State University EE 225. See all 30 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Hiu-Yung Wong introduces Grover's search algorithm for an unstructured database of N entries, contrasting the classical average of N/2 queries with Grover's approximately (π/4)√N oracle queries. The lecture develops the oracle using a five-qubit example with target 10010, then defines the target and uniform-superposition states and derives the two reflections that underpin Grover's search, including a Hadamard-based implementation of the diffusion operator.

Key takeaways

Chapters

0:00 Unstructured Search: Classical N/2 Queries Versus Grover's √N
8:33 Representing the Search Target as a Boolean Function
10:09 The XOR Oracle and Its Five-Qubit Search Example
12:44 Implementing and Interpreting the Marked-Item Oracle
19:48 Encoding Database Indices as Quantum Basis States
24:00 Constructing the Uniform Superposition of Non-Targets
25:07 Proving the Target and Non-Target States Are Orthogonal
32:53 The Uniform State and Grover's Two Reflection Operators
36:56 The Phase Oracle Marks the Target with a Sign Flip
40:29 Why the Phase Oracle Reflects About the Non-Target State
48:26 Deriving the Diffusion Reflection About the Uniform State
54:17 Implementing the Diffusion Operator with Hadamard Gates

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:07 Then let's start a new algorithm called uh Grover's search algorithm. So, what does it mean? So, assume we have n capital n entries like a database. And I want to find something. Now, this is very important searching. As you see uh big data time or whatever, searching can take a lot of uh time. Now, if your database is structured, what's the meaning of structure? Maybe you sort it according to index. For example, the grade uh the spreadsheet of your grade, I may sort it according to the student ID. To find a certain entry is not that difficult in some sense because

0:54 I can use some special method. For example, for example, uh binary search. You just go to the middle and see the middle is larger than what I want to look for. If it's larger, then I just look at the top part. Otherwise, I look at the bottom part. And then continue cutting it into half. So, I can finish it in logarithmic time, log two, log two n, right? Now, then how about unstructured database? It means that you have no idea how they are organized or they are not organized at all, right? So, let's say I have capital n entry and I can assume it has two to the power n. Right? If it cannot be uh two to the power n, I can just add more entry to make it up. For example, two to the power four is 16. If I only

1:43 have 14 entry, I just add two more entry, right? Just dummy, useless entry. Then I have 16 entry that are two to the power four. So, so we will only look at two to the power n. And you can guess why we want to do two to to do 2 to the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Quantum Computing, TCAD, Semicond by Hiu-Yung Wong.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.