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

L11 - CNOT, SWAP, Phase Shift, Toffoli, Transformation a Matrix Watch on YouTube →

Overview

Hiu-Yung Wong develops the matrix and circuit representations of CNOT, SWAP, phase-shift, controlled-phase, and Toffoli gates, deriving their actions from computational-basis states. He also explains phase versus global phase, hardware connectivity constraints, bit-ordering conventions, and the basis-change rule for operators, U′ = MUM†.

Key takeaways

Chapters

0:00 Midterm Preparation: Use AI to Learn, Not Just Finish Assignments
3:04 NOT Gates and Tensor Products for Two Qubits
5:55 CNOT as XOR on the Target Qubit
12:06 CNOT Matrix, State Amplitudes, and Circuit-Wire Conventions
20:53 Reversed Controls and Zero-Controlled Gates
23:03 SWAP Gate: Moving Quantum States Between Connected Qubits
30:15 Reading SWAP Matrices Without Confusing MSB and LSB
32:57 Single-Qubit Phase Shift: P(φ) Adds Phase to |1⟩
36:25 Relative Phase, Global Phase, and Quantum Interference
39:31 Deriving Phase-Shift Matrix Elements and Identifying Pauli Z
48:22 Controlled Phase Shift and the Four-Basis-State Matrix
57:59 Toffoli Gate: Two Controls Flip the Third Qubit
1:04:17 Changing State Coordinates with a Basis-Transformation Matrix
1:07:04 Transforming a Gate Matrix: U′ = MUM†
1:13:13 Why Basis-Change Matrices Are Unitary

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

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.