L7 Projection Operator, Measurement, Hilbert Space and Tensor Product
Overview
Hiu-Yung Wong develops linear-algebra tools for quantum computing, showing how projection operators extract vector components and calculate measurement probabilities through the Born rule. He then defines Hilbert spaces and builds composite quantum systems with tensor products, deriving the 2^n basis-state count for n qubits and showing how to tensor-product vectors and operators.
Key takeaways
- A projection onto a normalized state |v⟩ is P_v = |v⟩⟨v|, and applying it to |α⟩ returns ⟨v|α⟩|v⟩, the component of |α⟩ along |v⟩.
- For a computational-basis measurement, the probability of outcome j is ⟨α|Pⱼ|α⟩ = |αⱼ|²; a projector calculates the probability but does not determine the random outcome.
- Probabilities for mutually exclusive outcomes must be added individually: the lecture's normalized three-state example gives a 2/3 probability for outcomes 1 or 2.
- A Hermitian observable such as σ_z has real eigenvalues that serve as possible measurement results, and eigenstate projectors give their outcome probabilities.
- Tensoring n qubits produces a 2ⁿ-dimensional space; tensoring spaces of dimensions n and m produces nm-dimensional vectors and composite operators.
- In a two-qubit computational basis, |00⟩, |01⟩, |10⟩, and |11⟩ correspond to decimal labels 0, 1, 2, and 3, with qubit ordering kept consistent.
Chapters
- Poster assignment one is due September 23; recorded lectures will be posted during Hiu-Yung Wong's travel week.
- The lecture introduces projection operators as another linear-algebra tool for quantum computing, alongside unitary and Hermitian matrices.
- The projection onto a vector |v⟩ is represented by P_v = |v⟩⟨v|.
- The ket is a column vector and the bra is a row vector, so their outer product is a matrix.
- Applying P_v to |α⟩ gives |v⟩⟨v|α⟩, where ⟨v|α⟩ is a scalar inner product.
- The result, ⟨v|α⟩|v⟩, points along |v⟩ and is scaled by how much |α⟩ overlaps with it.
- For the computational basis state |0⟩ = (1, 0)ᵀ, P₀ = |0⟩⟨0| produces the matrix [[1, 0], [0, 0]].
- Applying P₀ to α|0⟩ + β|1⟩ returns α|0⟩, removing the orthogonal |1⟩ component.
- P₀ is not unitary, so it is not a quantum gate.
- Distribute P₀ across α|0⟩ + β|1⟩ and evaluate the inner products ⟨0|0⟩ = 1 and ⟨0|1⟩ = 0.
- Only the α|0⟩ term survives, confirming the matrix calculation.
- Projection keeps the component parallel to the chosen state and discards orthogonal components.
- A general n-dimensional state is |α⟩ = Σⱼ αⱼ|j⟩, with basis states |0⟩ through |n−1⟩.
- A computational-basis measurement yields one basis state, and the probability of outcome j is |αⱼ|².
- The post-measurement state collapses to the observed basis state.
- The projector for outcome j is Pⱼ = |j⟩⟨j|.
- The probability of outcome j is ⟨α|Pⱼ|α⟩, which reduces to |⟨j|α⟩|² = |αⱼ|².
- The projector expression extends the familiar squared-amplitude rule to more general measurement settings.
- A projector helps calculate probabilities; because measurement outcomes are random, applying it does not itself specify which outcome occurs.
- For |s⟩ = (1/√3)|0⟩ − (i/√3)|1⟩ + (1/√3)|2⟩, the squared magnitudes sum to 1, so the state is normalized.
- The probability of measuring 1 or 2 is |−i/√3|² + |1/√3|² = 2/3.
- For mutually exclusive outcomes 1 and 2, add their individual probabilities rather than projecting onto the superposition |1⟩ + |2⟩.
- Complex amplitudes require magnitude-squared calculations: |i|² = 1, while directly squaring i gives −1.
- The bra corresponding to a ket conjugates its complex coefficients, so the −i/√3 coefficient becomes +i/√3.
- For ⟨s|P₁|s⟩, orthogonality eliminates terms involving |0⟩ and |2⟩, leaving the |1⟩ contribution.
- The resulting probability is 1/3; the same bracket-method process applies to P₂.
- An observable such as spin along the z direction is represented by a Hermitian operator, here σ_z.
- For σ_z, the possible measurement outcomes are its eigenvalues, +1 and −1.
- The probability of an eigenstate outcome is computed using its projector, Pᵢ = |λᵢ⟩⟨λᵢ|, in the expression ⟨α|Pᵢ|α⟩.
- The lecture presents this measurement framework as the Born rule and relates it to the Copenhagen interpretation.
- A Hilbert space is a complete linear space equipped with a defined inner product.
- The inner product must satisfy positivity, conjugate symmetry, and linearity properties.
- Every finite-dimensional inner-product space is a Hilbert space; completeness also matters for infinite-dimensional spaces.
- In ordinary real space, the inner product corresponds to the product of vector magnitudes and the cosine of their angle.
- A two-qubit system combines two individual qubit states using a tensor product.
- Expanding (α|0⟩ + β|1⟩) ⊗ (γ|0⟩ + δ|1⟩) gives four amplitudes: αγ, αδ, βγ, and βδ.
- The resulting basis states are |00⟩, |01⟩, |10⟩, and |11⟩, with the first position identifying qubit one.
- The decimal labels 0, 1, 2, and 3 can abbreviate the two-bit basis states 00, 01, 10, and 11.
- One qubit has 2 basis states, two qubits have 4, and three qubits have 8.
- Tensoring n qubits gives a space of dimension 2ⁿ, with computational-basis labels from 0 through 2ⁿ − 1.
- An n-qubit state can be viewed as a tensor product of n two-dimensional complex spaces.
- For vectors in spaces of dimensions n and m, distribute the tensor product across their basis expansions.
- The combined vector contains every coefficient pair, such as vᵢwⱼ, and has nm entries.
- The vector-form tensor product lists each component of the first vector multiplied by the entire second vector.
- Tensor products can combine distinct degrees of freedom, such as an electron's spin and momentum.
- Operations acting on two component spaces combine as U₁ ⊗ U₂ in the joint space.
- For two 2 × 2 matrices, the tensor product produces a 4 × 4 matrix.
- Each entry of U₁ multiplies the entire matrix U₂, forming the blocks of the composite operator.
- Keeping the tensor-product notation explicit prevents confusing this construction with ordinary matrix multiplication.
Transcript excerpt
0:00 Again, as a reminder, we have poster assignment one. Due date is on September 23rd and next week I'm traveling. So, uh don't come here in person. I will send you a notification and I will post video on YouTube. Please watch that. I try to make them short but please do watch all of them and let me know if you have questions and request office hour or zoom meeting. Okay. Um now we move forward uh we will learn something called projection operator. So we continue to build our uh tool for quantum computing which is basically linear algebra. Right. So we have
0:47 learned what is u uh hermissionian matrix what is a unitary matrix here projection operator is not a type of matrix but it has a certain purpose um so let let's just look at it but by based on the name you likely understand projection operator is to project a vector to a certain component right like what we said last time but this time is more general not just to the basis This for example I say I have this matrix called key and I annotate is cat V and basically just say this is just my my way to annotate the projection operator. It just means that I want to project to vector V. Okay, instead of to
1:37 XYZ SS I say okay what is the shadow when it is projected to the direction of this pen. Okay so uh it is defined as this V catra again I think we kind of discussed this earlier right so what is this is this a matrix vector or lumber matrix right it's a outer product of two vector right so it is a cat times bra in this order then overall it becomes a matrix right so so then you
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.