Save this video free

L11 - CNOT, SWAP, Phase Shift, Toffoli, Transformation a Matrix

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

Part of San Jose State University EE 225. See all 28 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 develops the matrices and computational-basis actions for CNOT, SWAP, phase-shift, controlled phase-shift, and Toffoli gates, emphasizing how control conditions determine which basis states change. He also explains qubit-ordering conventions and derives the basis-change rule for operators, U′ = MUM†, from the vector transformation s′ = Ms.

Key takeaways

Chapters

0:00 Study Strategy, AI Tools, and Midterm Preparation
3:04 Recapping NOT Gates and Tensor Products
5:55 CNOT as an XOR Transformation
12:00 Building the CNOT Matrix from Its Basis-State Actions
14:20 CNOT Circuit Symbols and Qubit-Ordering Conventions
23:00 Why SWAP Matters for Fixed-Connectivity Quantum Hardware
26:30 Deriving the SWAP Matrix and Amplitude Mapping
32:50 Phase-Shift Gate: Applying a Relative Phase to |1⟩
37:30 Global Phase Versus Relative Phase in Quantum States
39:30 Phase-Shift Matrix, the Z Gate, and the Plus-Minus Basis
46:20 Introducing Controlled Phase Shifts and Control Markers
50:00 Controlled Phase-Shift Matrix and Activation Condition
58:00 Toffoli Gate: Two Controls Trigger a Target NOT
1:04:10 Changing State Coordinates Between Quantum Bases
1:08:30 Deriving the Operator Basis-Change Rule U′ = MUM†

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

Transcript excerpt

0:07 to remind you in two weeks we will have a midterm so please start studying um make sure that you read the books and do the assignment yourself I don't know if any of you use CH GPT to do the assignment which is not a problem but you need to learn from it and you really learn from it do not think that you Understand doing it from scratch by yourself is very different from learning from CH GPT right for each each of the question in principle you might need to spend 15 minutes or more because you need to review the concept but using CH GPT you learn it in two minutes right I always joke that um in at our age when we don't understand something probably some of you also when you were very

0:55 young when you were elementary school student or middle school student you either ask teacher or you need to go to library but then the first thing you realize that is you find the wrong book. You read for a few pages you thought that you will find the answer. No but you spend an hour reading a few pages you learn something new already then you give up you find another book and then the same thing will happen and you start jumping different chapter hope to find your answer. It may take you a few days but you may have touched 10 books at least and read 20 or 30 pages and you struggle you feel so frustrated but then at the end you still don't find your answer but your friend tell you how to do your teacher tell you how to do but you know a lots of stuff in that process but now with chat GPT and YouTube it

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.