/ quantum course Back to lab
PATHWAY PROGRESS0/27 passed

04 / Mathematical toolkit · LESSON 9 / 27 · 15 MIN

Tensor products and registers.

Build multi-qubit vectors and recognize separable states.

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

q0|0⟩q1|0⟩H

Initialize the register

Every qubit starts in zero.

BasisAmplitudeProbability
|00⟩1.000100.0%

TEST YOURSELF

Lesson quiz

Get all 2 questions right to pass. Retry as often as you like.

0/2 answered

1. How many amplitudes describe 3 qubits?
2. Which outcomes can occur for |+⟩⊗|0⟩?

Sign in with email or a wallet to check your answers and keep your lesson progress in sync.

Your account

Sign in to pick up your progress on any device.

or

Wallet sign-in uses a free signature (EIP-4361) on whatever EVM network your wallet is on. No gas, no transaction.