Save this video free

L12 Matrix Trace and Hadamard Gate

Quantum Computing, TCAD, Semicond by Hiu-Yung Wong · 1:15:42 · 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 reviews matrix trace and the Hadamard gate, then derives how applying Hadamard gates to an n-qubit computational-basis state produces a superposition whose signs depend on the bitwise inner product. The central result is H^⊗n|y⟩ = 2^(-n/2) Σ_x (-1)^(x·y)|x⟩, with x·y computed modulo 2; the lecture also covers trace invariance under unitary basis changes and the identity H⁻¹ = H.

Key takeaways

Chapters

0:00 Course Expectations and IBM Quantum Assignment Setup
2:46 Trace as the Sum of a Matrix’s Diagonal Entries
6:30 Pauli Matrices Have Zero Trace
10:50 Cyclic Trace Property and Unitary Basis Changes
14:00 Hadamard Gate Definition and Superposition States
18:00 Reading Hadamard Matrix Elements from State Transformations
21:00 Finding the Hadamard Inverse and Its Determinant
30:00 From the One-Qubit Gate to an n-Qubit Hadamard
31:30 Expanding Hadamards on an All-Zero Register
35:00 Enumerating the 2ⁿ Computational-Basis Outputs
40:00 Representing an Arbitrary Input as an n-Bit String
43:00 Encoding Each Input Bit as a Hadamard Phase
50:00 Tensor Expansion for an Arbitrary n-Qubit Input
54:00 Determining Output Signs from Matching One-Bits
1:00:00 Final n-Qubit Hadamard Formula and Assignment Application

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

Transcript excerpt

0:07 lecture 12. Uh first just want to remind you right this class might be easy for some of you that is fine but if you feel there's difficulty then you are supposed to spend at least 10 hours a week on this class because this is a free unit class 10 hours including for uh preparing for exam discussion coming to cl the class do your homework and uh practice and uh study right so if you did not this spend this amount of time and you feel it is difficult please come to talk to me um now m will be difficult if you don't do so particularly for assignments right you see I grade it [clears throat] very uh leniently but on the other hand I see many of you um really spend time to do

0:56 the assignment I don't know if you any of you use chat GPT to help you but even if use it if you learn from it I think it's pretty good at least you uh write a lot I don't see anyone copying paste at least you use your hand to write it which is good right um but anyway make sure you understand right I posted assignment two there's no late submission so in the last assignment if you submit within 3 days you get 50% of what you deserve or what you earn right but this time once you pass the deadline you get zero so make sure that you have keep your original file intact if there's any network issue you can at least send this to me but I'm sorry this is a typo 2026 right so midterm will be on third the 30th of uh uh October so uh

1:48 prepare for that and now for this assignment you need to use IBMQ the IBM

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.