04 / Mathematical toolkit · LESSON 9 / 27 · 15 MIN
Tensor products and registers.
Build multi-qubit vectors and recognize separable states.
|+⟩ ⊗ |0⟩ = (|00⟩ + |10⟩)/√2
Joining independent systems
A tensor product multiplies the amplitudes component by component. (α|0⟩+β|1⟩)⊗(γ|0⟩+δ|1⟩) has amplitudes αγ, αδ, βγ, βδ for 00, 01, 10, 11, in that order. This lab places q0 on the left.
Exponential growth
A pure n-qubit state has 2ⁿ complex amplitudes, which is why simulating a general state vector on a classical machine is costly. It does not mean a measurement yields 2ⁿ classical values: a single computational-basis shot returns one n-bit string.
Testing for factorization
A normalized two-qubit pure state a|00⟩+b|01⟩+c|10⟩+d|11⟩ is separable exactly when ad=bc. The Bell state fails: ad=1/2 while bc=0.
LIVE EXPERIMENT / 1 OF 2
Initialize the register
Every qubit starts in zero.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.