Save this video free

Where my explanation of Grover’s algorithm failed

3Blue1Brown · 16:23 · Watch on YouTube

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

Overview

3Blue1Brown clarifies common misunderstandings of Grover's algorithm, specifically how the quantum operation that flips a target state's sign can be implemented without prior knowledge of the target. The explanation emphasizes that the quantum verifier function is derived from classical logic gates, and its behavior on superpositions is a consequence of linearity, not parallel execution on all states. The video also contextualizes Grover's algorithm's quadratic speedup, highlighting its limited practical utility for problems like inverting SHA-256 compared to exponential speedups for others.

Key takeaways

Chapters

0:00 Addressing Confusion: The Quantum Verifier's Flip
9:18 Linearity and Superposition in Quantum Operations

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

Transcript excerpt

0:00 Last week I put up a video introducing quantum computing, and in the final section we were stepping through something known as Grover's algorithm. And based on the comments that I saw, I think there was a very common point of confusion that reveals I clearly could have done a better job explaining a core piece of it. Right here I wanted to throw together a very quick supplement in the hopes of adding a bit of clarity. The premise was to have a function which is somehow triggered by a unique value out of a big bag of options, and the puzzle is basically to figure out how do you find that unique value just by applying the function on various inputs. Now in a classical setting, it's not a very interesting question, the best you can do is guess and check, but what we walked through was a completely different approach that you can take that becomes possible in the setting of a quantum computer. When we did this, there was a certain key step where, if I'm understanding the comments correctly, it looked to a lot of people

0:49 like in order to apply this key step, you would have to already know the value that you're searching for, which would of course defeat the whole purpose of the algorithm. More specifically, we had this very high dimensional vector space, and one of the axes in that space corresponded to the value that we're searching for, and this step of the algorithm looked like flipping along that axis, multiplying any component of a vector in that direction by negative one. Now viewers were essentially asking, whoa whoa whoa, how could you know how to do that without already knowing which axis you're searching for? I genuinely tried to forestall that objection, but I think I failed,

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

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, 3Blue1Brown.

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.