Welcome back for Episode 3: "Entanglement & Multi-Qubit Gates." Last time, we learned how to make single qubits do what we need– now it’s time to make them work together to form more complex quantum circuits!

The Spooky Link: What is Entanglement?

Ever heard of "spooky action at a distance"? That's quantum entanglement! It's when two (or more) qubits become fundamentally linked, so tightly that measuring one instantly tells you about the others, no matter the distance. It's wild, it's counterintuitive, and it's absolutely real.

Unlocking Connections: Multi-Qubit Gates!

To create this entanglement, we need multi-qubit gates. Our main player today is the CNOT (Controlled-NOT) gate, the bedrock for conditional quantum logic. You'll see exactly how it works to link qubits and set up those "if-this-then-that" quantum operations.

Crafting Entangled States: Bell & GHZ!

We'll use the CNOT to build classic entangled states: Bell states (perfectly linked two-qubit pairs) and then generalize to GHZ states, where multiple qubits are entangled all at once. Get ready to see how these bizarre correlations form right before your eyes!

Your Turn: Practice & Prep!

As always, the best way to grasp these concepts is to do it yourself! Your notebook is packed with examples and quizzes on Bell and GHZ states. Pause and work through them! Remember to update your repo before you start.

This episode is key to understanding complex quantum circuits, and it's all taught by Cora Barrett, a PhD student at MIT.

Next time, we'll build on this by exploring classical control flow and circuit composition, letting you orchestrate even more sophisticated quantum operations.

Happy Coding!