04 / Mathematical toolkit · LESSON 9 / 27 · 15 MIN
Tensor products and registers.
Construct multi-qubit vectors and identify separable states.
|+⟩ ⊗ |0⟩ = (|00⟩ + |10⟩)/√2
Combine independent systems
The tensor product multiplies component amplitudes. (α|0⟩+β|1⟩)⊗(γ|0⟩+δ|1⟩) has amplitudes αγ, αδ, βγ, βδ in the order 00,01,10,11. This lab writes q0 on the left.
Exponential representation
An n-qubit pure state has 2ⁿ complex amplitudes. This makes general classical state-vector simulation expensive; it does not mean a measurement reveals 2ⁿ classical values. One computational-basis shot returns an n-bit string.
A factorization test
For a normalized two-qubit pure state a|00⟩+b|01⟩+c|10⟩+d|11⟩, separability is equivalent to ad=bc. The Bell state fails this test because ad=1/2 and bc=0.
CHECK YOUR UNDERSTANDING
Lesson quiz
Answer all 2 questions correctly. Unlimited retries.
0/2 answered
Checking your account…
