Multi-qubit states and tensor products
How to build, write and work with multi-qubit states using the tensor product (Kronecker product); how separable and entangled states arise and how to compute with them.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Quantum information in real devices uses more than one qubit. An engineer designing quantum circuits, gates (like controlled gates), or reading multi-qubit outputs must understand how the state space grows, how to write combined states, how single-qubit gates act on one qubit inside a multi-qubit system, and how entanglement appears. These notes give the algebra and the common manipulations you will need in exams and in tools such as Qiskit or circuit diagrams.
Key ideas
Start from a single-qubit: a qubit is a two-dimensional complex vector with unit norm, usually written in Dirac notation as a ket |ψ⟩. In components relative to the computational basis { |0⟩, |1⟩ } we write |ψ⟩ = α|0⟩ + β|1⟩, where α and β are complex numbers and |α|^2 + |β|^2 = 1.
When you have two or more qubits, the combined space is the tensor product of the individual Hilbert spaces. The tensor product (also called Kronecker product in matrix language) constructs vectors and operators on the joint system.
Definition (Tensor product of vector spaces): If V and W are vector spaces with bases {v_i} and {w_j}, then V ⊗ W is the vector space whose basis elements are {v_i ⊗ w_j} and linear combinations of those. For qubits, each single-qubit space is C^2, so two qubits live in C^2 ⊗ C^2 ≅ C^4. More generally, n qubits live in (C^2)^{⊗ n} ≅ C^{2^n}. This is why the state size doubles for every extra qubit.
How to write product states. If |ψ⟩ = α|0⟩ + β|1⟩ and |φ⟩ = γ|0⟩ + δ|1⟩, their tensor product is |ψ⟩ ⊗ |φ⟩ = αγ|00⟩ + αδ|01⟩ + βγ|10⟩ + βδ|11⟩.
Define the computational basis for two qubits as: |00⟩ = |0⟩⊗|0⟩, |01⟩ = |0⟩⊗|1⟩, |10⟩ = |1⟩⊗|0⟩, |11⟩ = |1⟩⊗|1⟩. In column-vector form (using single-qubit column vectors |0⟩ = [1,0]^T, |1⟩ = [0,1]^T) you get |00⟩ = [1,0,0,0]^T, |01⟩ = [0,1,0,0]^T, |10⟩ = [0,0,1,0]^T, |11⟩ = [0,0,0,1]^T.
Properties of the tensor product you should know (all linear algebra facts):
- Associativity: (A ⊗ B) ⊗ C = A ⊗ (B ⊗ C) (up to canonical identification of spaces).
- Distributivity over addition: (A + B) ⊗ C = A ⊗ C + B ⊗ C.
- Scalar rule: (λA) ⊗ B = A ⊗ (λB) = λ (A ⊗ B).
- Inner product rule: (⟨u| ⊗ ⟨v|)(|x⟩ ⊗ |y⟩) = ⟨u|x⟩ · ⟨v|y⟩.
- Operator product: (A ⊗ B)(C ⊗ D) = (AC) ⊗ (BD) when matrix sizes match.
Define separable (product) state: a multi-qubit pure state |Ψ⟩ is separable if it can be written as a tensor product of single-qubit states, e.g., |Ψ⟩ = |ψ1⟩ ⊗ |ψ2⟩ ⊗ ··· ⊗ |ψn⟩. Otherwise it is called entangled.
A standard test for two-qubit pure states: the Schmidt decomposition. Any two-qubit state |Ψ⟩ ∈ C^2 ⊗ C^2 can be written as |Ψ⟩ = λ1 |u1⟩ ⊗ |v1⟩ + λ2 |u2⟩ ⊗ |v2⟩, with λ1, λ2 ≥ 0, λ1^2 + λ2^2 = 1, and { |u1⟩, |u2⟩ } and { |v1⟩, |v2⟩ } orthonormal bases for the two subsystems. The state is separable iff one of the Schmidt coefficients is zero (so only one term remains). For two qubits, entanglement exists iff both Schmidt coefficients are nonzero. (Derivation steps appear below.)
Measurement and probabilities: If the joint system is in |Ψ⟩ and you measure in the computational basis, the probability of outcome corresponding to basis vector |ij⟩ is |⟨ij|Ψ⟩|^2. If you measure only one qubit, you use the reduced density operator (partial trace) to compute probabilities — see Worked examples.
Diagrams to draw when you answer an exam question: draw a table 2 × 2 with rows labelled first qubit (0,1) and columns labelled second qubit (0,1); fill the four cells with coefficients of |00⟩, |01⟩, |10⟩, |11⟩ respectively. For operators, draw block matrices showing A ⊗ B = [a_ij B] (i.e., each entry a_ij replaced by a_ij times the full matrix B).
Derivation universities ask for: show that dimension multiplies and show expansion of tensor product of two generic qubit states — see Worked examples for step-by-step algebra. Also show Schmidt decomposition by writing coefficient matrix and using singular value decomposition (SVD); explain that SVD gives orthonormal singular vectors and non-negative singular values = Schmidt coefficients.
Where I am unsure: I have given the Schmidt decomposition existence statement and its SVD derivation sketch at a level expected in exams; check the precise SVD steps and the normalization conventions in your course (see verify list).
Formulas
|ψ⟩ = α|0⟩ + β|1⟩ — α, β ∈ C; |ψ⟩ is a single-qubit state, dimensionless, valid when |α|^2 + |β|^2 = 1.
|Ψ⟩ = |ψ⟩ ⊗ |φ⟩ — tensor product of two vectors, dimensionless, valid for combining two subsystems.
dim(V ⊗ W) = dim(V) · dim(W) — dim is dimension (unitless), applies to finite-dimensional vector spaces.
|ψ⟩ ⊗ |φ⟩ = αγ|00⟩ + αδ|01⟩ + βγ|10⟩ + βδ|11⟩ — α, β, γ, δ ∈ C, dimensionless, when |ψ⟩ and |φ⟩ are single-qubit states as above.
(A ⊗ B)(C ⊗ D) = (AC) ⊗ (BD) — A,B,C,D are matrices of compatible sizes, unitless, applies when multiplying operator tensor-products.
(⟨u| ⊗ ⟨v|)(|x⟩ ⊗ |y⟩) = ⟨u|x⟩ · ⟨v|y⟩ — inner products on component spaces, complex scalar, unitless.
Prob(outcome |ij⟩) = |⟨ij|Ψ⟩|^2 — probability is real in [0,1], unitless, applies for projective measurement in that basis.
|Ψ⟩ = Σ_{i,j} C_{ij} |i⟩ ⊗ |j⟩ — coefficient matrix C (2×2 for two qubits), applies to any two-qubit pure state.
Schmidt: |Ψ⟩ = λ1 |u1⟩⊗|v1⟩ + λ2 |u2⟩⊗|v2⟩ — λ_k ≥ 0, λ1^2 + λ2^2 = 1, applies for any two-qubit pure state.
ρ_A = Tr_B(|Ψ⟩⟨Ψ|) — reduced density operator of subsystem A, unitless, applies to compute probabilities for measurements on subsystem A alone.
Worked examples
Example 1 — Expand a two-qubit product state (numerical values). Question: Let |ψ⟩ = (1/√3)|0⟩ + √(2/3)|1⟩ and |φ⟩ = (1/2)|0⟩ + (√3/2)|1⟩. Find |ψ⟩ ⊗ |φ⟩ as a column vector; check normalization. Solution steps:
- Write coefficients: α = 1/√3, β = √(2/3), γ = 1/2, δ = √3/2.
- Multiply to get coefficients for |00⟩,|01⟩,|10⟩,|11⟩: αγ = (1/√3)(1/2) = 1/(2√3) αδ = (1/√3)(√3/2) = 1/2 βγ = √(2/3)(1/2) = (1/2)√(2/3) βδ = √(2/3)(√3/2) = (1/2)√2
- Column vector form: |ψφ⟩ = [1/(2√3), 1/2, (1/2)√(2/3), (1/2)√2]^T.
- Check normalization: sum of squared magnitudes = (1/(4·3)) + (1/4) + (1/4)*(2/3) + (1/4)*2 = 1/12 + 1/4 + 1/6 + 1/2 = (1 + 3 + 2 + 6)/12 = 12/12 = 1. Good. Final answer (bold): |ψ⟩ ⊗ |φ⟩ = [1/(2√3), 1/2, (1/2)√(2/3), (1/2)√2]^T.
Example 2 — Show Bell state is entangled (theory model answer). Question: Prove that |Φ+⟩ = (|00⟩ + |11⟩)/√2 is not separable. Model answer steps:
- Suppose |Φ+⟩ were separable: |Φ+⟩ = (a|0⟩ + b|1⟩) ⊗ (c|0⟩ + d|1⟩) with complex a,b,c,d and normalization |a|^2+|b|^2 = 1, |c|^2+|d|^2 = 1.
- Expand product: = ac|00⟩ + ad|01⟩ + bc|10⟩ + bd|11⟩.
- Compare with (|00⟩ + |11⟩)/√2: coefficients must satisfy ad = 0 and bc = 0, while ac = 1/√2 and bd = 1/√2.
- From ad = 0 either a = 0 or d = 0. From bc = 0 either b = 0 or c = 0. Cases:
- If a = 0 then ac = 0 contradicts ac = 1/√2.
- If d = 0 then bd = 0 contradicts bd = 1/√2.
- Other symmetric cases also contradict. Therefore no solution exists; |Φ+⟩ cannot be written as a product state. Final answer (bold): |Φ+⟩ is entangled; it is not a product of single-qubit states. (You may also show Schmidt coefficients are both 1/√2 > 0.)
Example 3 — Operator on one qubit in a two-qubit system (calculation). Question: Compute (X ⊗ I)|01⟩ where X = [[0,1],[1,0]] and I = [[1,0],[0,1]]. Solution steps:
- Compute X ⊗ I = [[0,1],[1,0]] ⊗ I = block matrix [[0·I, 1·I],[1·I, 0·I]] = [[0,0,1,0],[0,0,0,1],[1,0,0,0],[0,1,0,0]].
- |01⟩ in column form is [0,1,0,0]^T.
- Multiply: (X ⊗ I)|01⟩ = [0,0,0,1]^T = |11⟩. Final answer (bold): (X ⊗ I)|01⟩ = |11⟩. This shows X acting on the first qubit flips its bit while second qubit unchanged.
Example 4 — Reduced density matrix and local measurement probabilities (calculation). Question: For |Φ+⟩ = (|00⟩ + |11⟩)/√2, compute ρ_A = Tr_B(|Φ+⟩⟨Φ+|) and the probabilities of measuring the first qubit as 0 or 1. Solution steps:
- ρ = |Φ+⟩⟨Φ+| = (1/2)(|00⟩⟨00| + |00⟩⟨11| + |11⟩⟨00| + |11⟩⟨11|).
- Take partial trace over B: Tr_B(|ij⟩⟨kl|) = |i⟩⟨k| ⟨j|l⟩, so only terms with j = l survive, giving ρ_A = (1/2)(|0⟩⟨0| + |1⟩⟨1|) = I/2.
- Prob(first qubit = 0) = Tr(ρ_A |0⟩⟨0|) = 1/2, and Prob(first qubit = 1) = 1/2. Final answer (bold): ρ_A = I/2 and P(0) = P(1) = 1/2.
Common mistakes
- Forgetting normalization after tensor products or after linear combinations.
- Trying to prove separability by matching magnitudes only; phases matter and full complex equations must be solved.
- When applying single-qubit operator to a multi-qubit state, forgetting to tensor with identity on untouched qubits (e.g., using X rather than X ⊗ I).
- Confusing inner product rules (⟨a⊗b| = ⟨a| ⊗ ⟨b|) and attempting to conjugate incorrectly.
For your exam
Typical question types:
- Definitions: define tensor product, separable vs entangled, Schmidt decomposition.
- Short proofs/derivations: show dimension doubling, expand a tensor product, prove properties like (A ⊗ B)(C ⊗ D) = (AC) ⊗ (BD).
- Long question: given a two-qubit state, expand, check separability, compute reduced density matrix and local measurement probabilities.
- Numerical: compute explicit tensor products and apply operators (carry units: states are dimensionless).
- Diagram question: draw computational basis layout or block structure for A ⊗ B.
What full-marks answers include:
- State assumptions (basis chosen, ordering convention).
- Step-by-step algebra with coefficients shown and normalization checked.
- For proofs, explicitly state which properties of linear algebra you use (linearity, associativity, SVD for Schmidt).
- Diagrams: clearly label rows/columns with qubit indices and basis labels (e.g., left qubit = row index, right qubit = column index).
Quick check
- What is the dimension of the state space of 5 qubits?
- Write (|0⟩ + |1⟩)/√2 ⊗ |0⟩ in the computational basis as a column vector.
- Is (|00⟩ + |01⟩)/√2 entangled or separable?
Answers: 1) 32. 2) [1/√2,0,1/√2,0]^T. 3) Separable (it equals |0⟩ ⊗ (|0⟩+|1⟩)/√2).
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?