Think of a complex number as a snapshot of a wave frozen at one instant — the modulus tells you how tall the wave is (amplitude), and the argument tells you where in its cycle it currently sits (phase).
Instructor's annotation
Aeiθ=A(cosθ+isinθ) — this is the same wave-to-complex-number correspondence shown above, written out explicitly by the instructor.
แทนที่จะเขียน constant แยก A กับ θ (phase) มันเลยมัดรวมเป็นก้อนเดียวนั่นคือ eiθ
Complex Number (Polar Form)
Rectangular form: z=a+ib, where i=−1
Polar form: z=reiθ=r(cosθ+isinθ)=rcisθ
Modulus: ∣z∣=a2+b2
Argument: argz=arctan(b/a)
Conjugate: zˉ=a−ib(MOST IMPORTANT)
zzˉ=a2+b2
z−1=a2+b2zˉ
Figure 2: Complex number and polar form
- อันนี้ก็แตกแรงทั่วไป จำได้มั้ย ๆ
Instructor's annotation
Conjugate: zˉ=a−ib (mirror across the real axis). From the polar triangle: b=rsinθ, a=rcosθ.
Analogy
Taking a conjugate is like reflecting the wave's phase upside-down — same amplitude, phase flipped in sign.
Exercise 1.1: Complex Numbers
Let z=a+ib. Show that zzˉ=∣z∣2.
Let z=a+ib. Show that z−1=zˉ/(a2+b2).
Let z1=a+ib and z2=c+id. Compute z1z2 in terms of a,b,c,d.
Let z1=r1,cis,θ1 and z2=r2,cis,θ2. Compute z1z2 and z2z1 in terms of r1,r2,θ1,θ2. Does complex multiplication preserve the commutative property?
Let z=r,cis,θ. Show that zn=rncisnθ. #MidtermExam
Let z=r,cis,θ. Show that zˉ=r,cis(−θ).
Let z=r,cis,θ. Show that zzˉ=r2.
Show that (1) cis,0=1, (2) cis,π=−1, (3) cis,2π=i, and (4) ∣cis,θ∣=1.
worked example for Q1 Let z=1+2i, so zˉ=1−2i. zzˉ=(1+2i)(1−2i)=1−4i2=1+4=5=∣z∣2 (since ∣z∣2=12+22=5). Also written as z=rcisθ, zˉ=rcis(−θ).
Instructor's annotation
Q9 (Euler's formula) worked derivation Starting from the definition eiθ=∑n≥0n!(iθ)n, expand term by term: eiθ=1+1!iθ+2!i2θ2+3!i3θ3+4!i4θ4+… Substitute i2=−1,i3=−i,i4=1,…: =1+1!iθ+2!(−1)θ2+3!−iθ3+4!(+1)θ4+… Separate into even terms (real, no i) and odd terms (imaginary, carry one factor of i): =even terms[1+2!(−1)θ2+4!(+1)θ4+…]+odd terms[1!iθ+3!(−1)iθ3+5!(+1)iθ5+…] Factor i out of the odd terms: =[1−2!θ2+4!θ4−…]+i[1!θ−3!θ3+5!θ5−…]=cosθ+isinθ
A complex vector is a multiplex of N waves, with amplitudes ri and phases ωi: u=[r1,cis,ω1…rN,cis,ωN]⊤
Figure 3: Complex vector as a wave multiplex
Instructor's annotation
Two ways of writing a vector: u vs. u — corresponds to Cambridge vs. Oxford notation conventions. A complex vector consists of multiple component waves.
Synchronicity and Inner Product
คงจะจำ Dot product 3 - Norms กันได้ but it only applies on real vector, but in complex vector, we need another operator: INNER PRODUCT (complex version of dot operator)
Inner product of two wave multiplexes u=[r1,cis,ω1…rN,cis,ωN]⊤ and v=[s1,cis,φ1…sN,cis,φN]⊤:
u∨v=u⋅v=u⊤v=k=1∑Nrkskcis(θk−ϕk)
Phase synchronicityu∨v: the state of fluctuating in similar phases.
Similar phases → zero phase difference → real amplitude.
u∨v=r1s1cis(ω1−φ1)+⋯+rNsNcis(ωN−φN)
— the "dot" operator here is a dot product with a conjugate baked in (phase difference, not phase sum). The result u∨v is a single complex number.
Analogy
Inner product is like checking how "in step" two dancers' rhythms are — if their phases line up, the result feels purely "real" (in sync); if they're off-beat, you get a leftover imaginary part.
Exercise 1.3: Complex Vectors and Phase Synchronicity
Let u=[r1…rN]⊤. Show that u∨u=∑i=1N∣ri∣2.
Let u=[r1,cis,ω1…rN,cis,ωN]⊤. Show that uˉ=[r1,cis(−ω1)…rN,cis(−ωN)]⊤.
Let u=[r1,cis,ω1…rN,cis,ωN]⊤. Show that ∣u∣=∑i=1Nri2. #Important
Let u,v be two complex vectors of the same size N. Show that u∨v=v∨u. Does the inner product preserve the commutative property? #Important
Let u=[r1,cis,ω1…rN,cis,ωN]⊤. Show that u,(cis,ϕ)=[r1,cis(ω1+ϕ)…rN,cis(ωN+ϕ)]⊤.
Let u=[r1,cis,ω1…rN,cis,ωN]⊤. Compute ∣u∣.
Normalize a complex vector into a unit vector: unit(u)=u/∣u∣. Show that unit(u)∨unit(u)=1. #Important
Instructor's annotation
u∨v=vˉ⊤u=v∨u (i.e., u∨v is not literally commutative — swapping conjugates the result). cis(−θ)=cosθ−isinθ, confirming cis(−θ)=cis(θ).
AB transforms each data point b(j) onto an affine space whose bases are the column vectors of Hermitian matrix A:
AB=[Ab(1)…Ab(M)]
Differs from a plain linear transformation: each basis of the affine space is a wave superposition, performing stretching and rotation simultaneously.
Figure 6: Affine transformation
Instructor's annotation
Distinguishes an affine-space transformation (via a Hermitian matrix, stretch + rotate together) from an ordinary linear transformation.
Analogy
A linear transformation just points you in a new direction; an affine (Hermitian-based) transformation is like doing that and zooming the camera in or out at the same time.
Exercise 1.4: Complex Matrix
Check if the following matrices are Hermitian:
[0011]
[0i11](compare against [i−i11] variant shown in source)
[21i−i]
[35cis3π5cis3π5]
[5cis3π3cis(−4π)3cis4π−5cis3π]
Compute the following matrix multiplications (make sure the left operands are Hermitian):
Explain why A has to be Hermitian so that we can compute Av, where v is a complex vector. (Important)
Check if each matrix A in exercises 1–5 satisfies: for all pairs of column vectors a(i),a(j), i=j, in A: a(i)∨a(j)=0.
Let A=[a(1)∣…∣a(M)] be Hermitian, where each k-th element of a(j) is ak(j)=rk(j),cis,ωk(j). Let v=[s1…sN]⊤, where each k-th element is sk=rk,cis,θk. Show that each j-th element of Av can be seen as stretching and rotation of v by each a(j).
Explain why AB can be seen as manipulating each data point b(j) in B by stretching and rotation. #Important #MidtermExam
Instructor's annotation
A few checkmarks/short notes appear beside items 4–5 and the multiplication problems — mostly confirming A∗=A before proceeding, not legible enough to transcribe word-for-word.
Determinant
Determinant is the volume scaling factor (streching and scaling) of a square matrix A of N×N dimensions:
det(A)=⎩⎨⎧a1,1∑k=1M(−1)j+kaj,kdet(A¬j,¬k),if M=1,for any row j
where the minor A¬i,¬j is computed by removing row i and column j.
Example 1:det[1324]=1×4−2×3=−2 Example 2:det[i−i21]=i×1−(−i)×2=3i 3i can also be written in polar form as 3∠90°=3cis(2π), tying the determinant result back to the polar-form notation from earlier.
Example 3:det147258369=+1det[5869]−2det[4769]+3det[4758]03 Determinants
Instructor's annotation
Calls the general determinant formula "daunting" — reassurance that in practice you mostly use the 2×2/3×3 shortcuts below.
Special Properties of Determinant
For any 2×2 matrix: det[acbd]=ad−bc
For any 3×3 matrix: detadgbehcfi=aei+bfg+cdh−ceg−hfa−bdi
For any triangular or diagonal matrix: deta10…⋱∗⋮aN=⋯=i=1∏Nai
For any square matrix: det(A⊤)=det(A)
For any block-diagonal matrix, with sub-matrices Ai: detA10⋱0AM=i=1∏Mdet(Ai)
Exercise 1.5: Determinant
Find the determinants of these matrices:
[001−1]
[i−1i00](exact entries slightly unclear in scan)
Because for any square matrix A, det(A⊤)=det(A), show that det(A∗)=det(A).
Show that for any diagonal matrix, deta100⋱aN=∏i=1Nai.
Instructor's annotation
A few working checkmarks beside items 3–4 confirming block/triangular structure lets you skip most of the cofactor expansion — not fully legible beyond that.
Outer Product and Wave Interaction
Outer product of u=[r1,cis,ω1…rN,cis,ωN]⊤ and v=[s1,cis,φ1…sN,cis,φN]⊤ is the phase synchronicity between every pair(i,j):
Inner productu∨v reflects synchronicity of the two multiplexes combined into one number: u∨v=u⊤v=i=1∑Nrisi
Outer productu∧v reflects the synchronicity of each component pair separately — like a heatmap.
Instructor's annotation
Key distinction: u∨v is a number (inner product); u∧v is a matrix (outer product).
Analogy
If inner product is "how in-sync are these two dancers overall," outer product is the full grid of "how in-sync is dancer i's move with dancer j's move" for every pair — the whole heatmap instead of one summary number.
Orthogonal Projector
An orthogonal projector is a matrix A satisfying:
Idempotency: A2=A
Self-adjunction: A∗=A
For any unit vector u, its self-outer product Pu is an orthogonal projector:
Pu=u∧u=uu∗=uu⊤
(Note u∗u=1 since ∣u∣=1.)
Figure 7: Orthogonal projector u∧u projecting vector v onto u
ทำไมต้องมีสิ่งนี้ → มันคือ Quantum gate (just like logic gate)
We assume all quantum gate to be unitary matrix!!
Exercise 1.7: Unitary Matrix
Check if these matrices are unitary (Hermitian and orthonormal):
[0011]
21[1i−i1]
[21i−i]
[cis6πtextcis(−4π)cis4πcis(−3π)]
100001010
Answer:
Show that any unitary matrix of N×N dimensions can be written as A=cis,θ1,1⋮……⋱cis,θN,N.
Show that the inverse of A in Ex. 6 is A−1 with each entry conjugated (phase-negated): cis(−θj,i) in transposed position.
From Ex. 6, show that any unitary matrix can be seen as a non-stretching rotary operator.
Eigen-Decomposition
A square matrix A can be factorized into an eigenvector v and its eigenvalue λ:
Av=λv
Eigenvector: the projectory direction in which the affine space becomes unitary.
Eigenvalue: its distortion rate.
Matrix A of N×N dimensions has at most N eigen-pairs (λi,vi)i=1N=eigen(A), where λ1>λ2>⋯>λN.
v1 is the dominant eigenvector.
If the eigenvalue of A is zero: no stretching, no rotation — every transform by A merges to the zero vector, and the original data can no longer be recovered (information is lost).
Figure 9: Eigen-decomposition projection onto a unitary eigenspace
Instructor's annotation
Eigenvector described as the direction you get by rotating its normal vector— i.e. the axis the transformation effectively rotates around.
Worked Example: Eigen-decompose [0i−i0] #NotOnTheExam
Using the quadratic formula λ=2a−b±b2−4ac, the eigenvalues are λ1=+1,λ2=−1
Step 2a — substitute λ1=+1, solve (A−λ1I)v=0: [−1i−i−1∣∣00]r2:=ir1+r2[−10−i0∣∣00]
Gives v1+iv2=0⇒v2=−iv1, so v=[1−i]⊤c1. Normalizing with c1=1/2: v1=21[1−i] Step 2b — substitute λ2=−1, solve (A−λ2I)v=0: [1i−i1∣∣00]r2:=r2−ir1[10−i0∣∣00]
Gives v1−iv2=0⇒v2=iv1, so v=[1i]⊤c1. Normalizing: v2=21[1i]
Exam questions will not be about matrix computation at all!
Analogy
Eigenvectors are the "grain of the wood" for a transformation — directions along which the matrix only stretches/rotates the vector rather than distorting it into a totally different shape.
Factorization of Unitary Matrix
A unitary matrix A of N×N dimensions can be eigen-decomposed into at most N eigen-pairs (λi,vi)i=1N=eigen(A).
Define the change-of-basis matrix (unitary): PA=[v1⋯vM]
ทุก vector v ข้างในเป็น perpendicular ต่อกันหมด
Define the diagonal eigenvalue matrix: ΛA=λ10⋱0λM
Factorization:
\mathbf{A} &= P_{\mathbf{A}} \times \Lambda_{\mathbf{A}} \times (P_{\mathbf{A}})^{-1} \\
&= P_{\mathbf{A}} \times \Lambda_{\mathbf{A}} \times (P_{\mathbf{A}})^*
\end{aligned}$$
- **Advantage:** any operation on $A$ distributes to each diagonal element of $\Lambda_A$ instead:
> [!note] Instructor's annotation
> Etymology note: **"basis"** comes from the Latin for "base" or "axis."
#### Exercise 1.8: Matrix Factorization
Factorize the following matrices. (If an eigenvalue is zero, you don't need its eigenvector.)
1. $\begin{bmatrix}0&1\\1&0\end{bmatrix}$
2. $\begin{bmatrix}0&-i\\i&0\end{bmatrix}$
3. $\dfrac{1}{\sqrt2}\begin{bmatrix}1&1\\1&-1\end{bmatrix}$
4. $\begin{bmatrix}1&0\\0&-1\end{bmatrix}$
5. $\begin{bmatrix}1&0\\0&\text{cis}\frac{\pi}{4}\end{bmatrix}$
6. $\begin{bmatrix}1&0\\0&\text{cis},\theta\end{bmatrix}$ for any $\theta$
7. $\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&0&1\\0&0&1&0\end{bmatrix}$
8. $\begin{bmatrix}1&0&0&0\\0&0&1&0\\0&1&0&0\\0&0&0&1\end{bmatrix}$
---
## 4. Matrix Exponentials
> [!info] Related
> - [[Lecture 2 - Quantum Logic Gates#3. Universal Rotation|3. Universal Rotation — CSS482 L2]]
### Matrix Exponentials
>สามารถหา cis ของ Matrix ได้ด้วยเหมือนกัน??? ข้างล่างเป็น proof
- For a phase $\theta$ and **unitary** matrix $A$:
$$\boxed{\text{cis}(\theta A) = I\cos\theta + iA\sin\theta}$$
**Proof:**
1. Start from the definition: $\text{cis}(\theta A) = \exp(i\theta A)$
2. Expand via Taylor series of the exponential: $$\exp(i\theta A) = \sum_{n=0}^\infty \frac{(i\theta A)^n}{n!} = \sum_{n=0}^\infty \frac{(i\theta A)^{2n}}{(2n)!} + \sum_{n=0}^\infty \frac{(i\theta A)^{2n+1}}{(2n+1)!}$$ $$= \sum_{n=0}^\infty \frac{(-1)^n(\theta A)^{2n}}{(2n)!} + i\sum_{n=0}^\infty \frac{(-1)^n(\theta A)^{2n+1}}{(2n+1)!}$$
3. Because $A$ is unitary, $A^{2n}=I$: $$\exp(i\theta A) = I\sum_{n=0}^\infty \frac{(-1)^n\theta^{2n}}{(2n)!} + iA\sum_{n=0}^\infty \frac{(-1)^n\theta^{2n+1}}{(2n+1)!}$$
4. By the Taylor series of cosine and sine: $$\boxed{\text{cis}(\theta A) = I\cos\theta + iA\sin\theta}$$
> [!example] Analogy
> This is Euler's formula, upgraded from a single number's phase to a whole matrix's "phase" — instead of rotating one point on the complex plane, you're rotating an entire basis at once.
### Matrix Exponentials as Basis Rotation
- For phase $\theta$ and unitary $A$ of $M\times M$ dimensions, combining the previous result with the factorization $\mathbf{A} = P_{\mathbf{A}} \times \Lambda_{\mathbf{A}} \times (P_{\mathbf{A}})^*$:
$$\begin{aligned} \operatorname{cis}(\theta \mathbf{A}) &= P_{\mathbf{A}} \times \operatorname{cis}(\theta \Lambda_{\mathbf{A}}) \times (P_{\mathbf{A}})^* \\ &= P_{\mathbf{A}} \times \begin{bmatrix} \operatorname{cis}(\lambda_1 \theta) & & 0 \\ & \ddots & \\ 0 & & \operatorname{cis}(\lambda_M \theta) \end{bmatrix} \times (P_{\mathbf{A}})^* \end{aligned}$$
- **Interpretation:** $\text{cis}(\theta A)$ rotates each basis of the eigenspace $P_{\mathbf{A}}$ by phase $\theta$.
#### Exercise 1.9: Matrix Exponentials
Compute $\text{cis}\left(\frac{\pi}{4}A\right)$ for the following matrices via $\text{cis}(\theta A)=I\cos\theta+iA\sin\theta$:
1. $\begin{bmatrix}1&0\\1&0\end{bmatrix}$ _(check against source — may be $\begin{bmatrix}0&1\\1&0\end{bmatrix}$)_
2. $\begin{bmatrix}i-1&0\\i&0\end{bmatrix}$ _(entries unclear in scan)_
3. $\dfrac{1}{\sqrt2}\begin{bmatrix}1&1\\1&-1\end{bmatrix}$
4. $\begin{bmatrix}0&1\\0&-1\end{bmatrix}$
5. $\begin{bmatrix}0&1\\0&\text{cis}\frac{\pi}{4}\end{bmatrix}$
Answer:
6. Show that $A^{2n}=I$ for any unitary matrix $A$ and any positive integer $n>0$. _(Hint: $A$ is Hermitian and orthonormal.)_
7. Show that $\text{cis}(-\theta A) = I\cos\theta - iA\sin\theta$ for any unitary matrix $A$.
---
## 5. Measurement and Reflection
> [!info] Related
> - [[Lecture 4 - Computation, Measurement, and Dynamic Circuits#3. Measurement|3. Measurement — CSS482 L4]]
>Physics part บ้าง
>Why we have to talk about measurement? - in quantum computer we store information in terms of particle spinning
>ถ้าอยากอ่าน spinning of particle ล่ะ ทำไงวะ? You shine a laser beam onto that particle → particle start to radiate, it maybe blue or red.. blah blah
>The reading of radiation is called **Projection!**
### Measurement
- **Projection**: the shadow of a vector $\mathbf v$ on a non-zero basis vector $\mathbf u$:
$$\boxed{\text{proj}_{\mathbf u}(\mathbf v) = \frac{\mathbf v\vee\mathbf u}{\mathbf u\vee\mathbf u}\mathbf u}$$
— physically, measuring the amplitude of a wave multiplex onto the basis.
- **Rejection**: the part of $\mathbf v$ orthogonal to $\mathbf u$:
>The remading axis from projection is called Rejection!
>Rejection means the part orthogonal to the shadow
$$\boxed{\text{rej}_{\mathbf u}(\mathbf v) = \mathbf v - \text{proj}_{\mathbf u}(\mathbf v)}$$
— physically, decomposing a wave multiplex away from the basis.
![[Screenshot 2026-09-17 at 4.18.30 PM.png|center|400]]
_Figure 10: Beam splitting of a wave multiplex (projection onto multiple detectors, rejection from each)_
![[Screenshot 2026-09-17 at 4.20.45 PM.png|center|200]]
> [!note] Instructor's annotation
> Projection is like **"casting a shadow"** onto the basis vector. Note it needs to be an **orthonormal projector with normalization** — i.e., you divide by $\mathbf u\vee\mathbf u$ so it still works even if $\mathbf u$ isn't already a unit vector.
> [!example] Analogy
> Projection is shining a flashlight straight down onto a wall and measuring the shadow's length along one direction; rejection is whatever's left over — the part of the object the shadow didn't capture.
#### Exercise 10.1: Measurement
Compute the projections $\text{proj}_{\mathbf u}(\mathbf v)$ and rejections $\text{rej}_{\mathbf u}(\mathbf v)$ of the following $(\mathbf u,\mathbf v)$:
1. $\mathbf u=\begin{bmatrix}1\\0\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1\\1\end{bmatrix}$
2. $\mathbf u=\begin{bmatrix}1\\1\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1\\0\end{bmatrix}$
3. $\mathbf u=\begin{bmatrix}i\\-i\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1+i\\2+3i\end{bmatrix}$
4. $\mathbf u=\begin{bmatrix}\text{cis}\frac{\pi}{3}\\text{cis}\frac{\pi}{4}\end{bmatrix}$, $\mathbf v=\begin{bmatrix}\text{cis}(-\frac{\pi}{3})\\text{cis}\frac{\pi}{4}\end{bmatrix}$
5. $\mathbf u=\begin{bmatrix}i\\-i\end{bmatrix}$, $\mathbf v=\begin{bmatrix}\text{cis}\frac{\pi}{3}\\text{cis}\frac{\pi}{4}\end{bmatrix}$
Answer:
6. Show that if $\mathbf u,\mathbf v$ are non-zero vectors, then $\text{proj}_{\mathbf u}(\mathbf v)\ne\text{proj}_{\mathbf v}(\mathbf u)$ in general.
7. Let $U=[\mathbf u_1|\dots|\mathbf u_N]$ be a unitary matrix, and $\mathbf v$ a complex vector. Show that $\text{proj}_{\mathbf u_i}(\mathbf v)$ and $\text{proj}_{\mathbf u_j}(\mathbf v)$ are orthogonal to each other for all $i\ne j$.
### Reflection
>Reflection is the key component for Grover’s Algorithm (Grover search, improve the speed information retrival)
- **Reflection**: vector $\mathbf v$ is flipped across the basis vector $\mathbf u$:
$$\boxed{\text{refl}_{\mathbf u}(\mathbf v) = 2\text{proj}_{\mathbf u}(\mathbf v) - \mathbf v}$$
— intuition: you rotate for _twice_ the angle to get across the basis vector.
- **Householder reflection matrix**: a reflection operator for basis vector $\mathbf u$ (works for any $\mathbf u$, not just unit vectors):
$$\begin{aligned}
\operatorname{HR}(\mathbf{u}) &= \mathbf{I} - 2 \frac{\mathbf{u} \wedge \mathbf{u}}{\mathbf{u} \vee \mathbf{u}} \\
&= \mathbf{I} - \frac{2 \mathbf{u} \mathbf{u}^*}{\mathbf{u}^* \mathbf{u}}
\end{aligned}$$
- **Advantages:**
- Can be used for setting a boundary that a vector "bounces off."
- Combined with direction flipping, can amplify desired features and reduce noise.
![[Screenshot 2026-09-17 at 4.24.48 PM.png|center|400]]
_Figure 11: Reflection of $\mathbf v$ across basis vector $\mathbf u$_
> [!note] Instructor's annotation
> $\text{refl}_{\mathbf u}(\mathbf v) = 2,\text{proj}_{\mathbf u}(\mathbf v) - \mathbf v$, and — because $HR(\mathbf u)$ only depends on the fixed basis $\mathbf u$ — **"we can prepare a mirror in advance"**: the Householder matrix can be precomputed once and reused for many different $\mathbf v$
> [!example] Analogy
> Think of $HR(\mathbf u)$ as building the mirror itself ahead of time — once it's built, you can flip as many vectors ("light rays") off it as you like without re-deriving anything.
#### Exercise 11.1: Reflection
Compute the reflection of $\mathbf v$ on basis vector $\mathbf u$:
1. $\mathbf u=\begin{bmatrix}1\\0\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1\\1\end{bmatrix}$
2. $\mathbf u=\begin{bmatrix}1\\1\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1\\0\end{bmatrix}$
3. $\mathbf u=\begin{bmatrix}i\\-i\end{bmatrix}$, $\mathbf v=\begin{bmatrix}1+i\\2+3i\end{bmatrix}$
4. $\mathbf u=\begin{bmatrix}\text{cis}\frac{\pi}{3}\\text{cis}\frac{\pi}{4}\end{bmatrix}$, $\mathbf v=\begin{bmatrix}\text{cis}(-\frac{\pi}{3})\\text{cis}\frac{\pi}{4}\end{bmatrix}$
5. $\mathbf u=\begin{bmatrix}i\\-i\end{bmatrix}$, $\mathbf v=\begin{bmatrix}\text{cis}\frac{\pi}{3}\\text{cis}\frac{\pi}{4}\end{bmatrix}$
Answer:
6. Compute the Householder reflection matrix $H_R$ for each basis vector $\mathbf u$ in Ex. 1–5. Then compute $H_R(\mathbf u)\times\mathbf v$ and compare with $\text{refl}_{\mathbf u}(\mathbf v)$.
7. Show that for any complex vector $\mathbf u$: $H_R(\mathbf u)\times\mathbf u=-\mathbf u$.
8. Show that for all complex vectors $\mathbf u,\mathbf v$: $H_R(\mathbf u)\times\mathbf v = \mathbf v - 2,\text{proj}_{\mathbf u}(\mathbf v)$. _(Hint: $\mathbf u^*\mathbf v=(\mathbf v^\top\mathbf u^*)^\top$, and $(\mathbf u^*)^\top=\bar{\mathbf u}$.)*
---
## Conclusion
- Complex number as a wave
- Complex vector as a wave multiplex
- Complex matrix as transformation via stretching and rotation
- Inner product and outer product
- Eigen-decomposition of a square matrix
- Matrix exponentials as eigen-space rotation
- Measurement and reflection