On this page
You already know how to multiply two matrices. The Kronecker product combines them differently: instead of mixing rows with columns, it pastes a scaled copy of one matrix into every entry of the other. It builds grid matrices and two-qubit states. Here is the definition, one worked example and the two rules that matter.
What is the Kronecker product of two matrices?
If A is an m×n matrix and B is a p×q matrix, the Kronecker product A⊗B is the mp×nq block matrix whose (i, j) block is a_ij B, as set out in the Kronecker product entry on Wikipedia. Every entry of A is replaced by that number times the whole of B.
The same entry notes that the operation is named after Leopold Kronecker, though Johann Georg Zehfuss described it in 1858, which is why it has also been called the Zehfuss product. A and B need not be the same size.
How do you compute A⊗B for two 2×2 matrices?
Take A = [[1, 2], [0, 3]] and B = [[2, 0], [1, 1]]. Build one block per entry of A.
Top-left block: 1·B = [[2, 0], [1, 1]].
Top-right block: 2·B = [[4, 0], [2, 2]].
Bottom-left block: 0·B, a 2×2 block of zeros.
Bottom-right block: 3·B = [[6, 0], [3, 3]].
Put the blocks in place and A⊗B is the 4×4 matrix with rows (2, 0, 4, 0), (1, 1, 2, 2), (0, 0, 6, 0) and (0, 0, 3, 3).
Now swap the order. B⊗A puts copies of A inside B, giving rows (2, 4, 0, 0), (0, 6, 0, 0), (1, 2, 1, 2) and (0, 3, 0, 3).
What is the mixed-product rule?
The rule that does most of the work is (A⊗B)(C⊗D) = (AC)⊗(BD), valid whenever the products AC and BD exist; the Wikipedia entry calls it the mixed-product property.
Check it on the example with vectors x = (1, 1) and y = (1, 0). Then x⊗y = (1, 0, 1, 0), and multiplying by A⊗B gives (6, 3, 6, 3). On the other side, Ax = (3, 3) and By = (2, 1), and (3, 3)⊗(2, 1) = (6, 3, 6, 3). The two sides match, and the right-hand side needed two small products instead of one big one.
How are the eigenvalues of A⊗B related to those of A and B?
If A (n×n) has eigenvalues λ_i and B (m×m) has eigenvalues μ_j, then the eigenvalues of A⊗B are all the products λ_i μ_j, according to the same Kronecker product entry. The mixed-product rule shows why: if Ax = λx and By = μy, then (A⊗B)(x⊗y) = Ax⊗By = λμ(x⊗y).
In the example, A is triangular with eigenvalues 1 and 3, and B is triangular with eigenvalues 2 and 1. So A⊗B should have eigenvalues 2, 1, 6 and 3. It does: the matrix is block triangular, and its diagonal blocks B and 3B have eigenvalues 2, 1 and 6, 3. The entry also gives tr(A⊗B) = tr A · tr B and det(A⊗B) = (det A)^m (det B)^n. Here 4 · 3 = 12 is the trace (2 + 1 + 6 + 3), and 3² · 2² = 36 is the determinant (2 · 1 · 6 · 3).
If eigenvalues feel shaky, start with what the eigenvalues of a 2×2 matrix mean, then see how they give large powers of a matrix by diagonalisation.
Where does the Kronecker product show up?
On 2D grids. With zero (Dirichlet) boundary values, the matrix that approximates the Laplacian on a rectangular grid can be written L = Dxx⊗I + I⊗Dyy, where Dxx and Dyy are the 1D versions, as the entry on the Kronecker sum of discrete Laplacians shows. The mixed-product rule then gives L(x⊗y) = (λ + μ)(x⊗y), so its eigenvalues are sums of 1D eigenvalues. A grid of n×n interior points gives an n²×n² matrix, but its eigenvalues come from two n×n problems.
In two-qubit quantum states. One qubit is a vector with two entries, |0⟩ = (1, 0) and |1⟩ = (0, 1), and two qubits live in a four-dimensional space spanned by |00⟩, |01⟩, |10⟩ and |11⟩. Each basis state is a Kronecker product: |0⟩⊗|1⟩ = (1·0, 1·1, 0·0, 0·1) = (0, 1, 0, 0) = |01⟩. The Bell state (|00⟩ + |11⟩)/√2, which the same page uses as its example of entangled qubits, cannot be built this way. A product (a, b)⊗(c, d) = (ac, ad, bc, bd) would need ad = bc = 0 while ac and bd are non-zero, which is impossible.
For many more uses, see Charles F. Van Loan's 2000 survey The ubiquitous Kronecker product00393-9) in the Journal of Computational and Applied Mathematics.
How can you check a Kronecker product you computed?
Size: an m×n matrix ⊗ a p×q matrix is mp×nq.
Top-left block: it must equal a11·B.
Trace (square case): it must equal tr A · tr B.
Eigenvalues: every pair λ_i μ_j appears, nm of them in all.
If a step like these goes wrong and you cannot see why, the Fermi Problem Library has a step-by-step solver that explains the reasoning. For the ideas underneath, block matrices, eigenvalues and vector spaces, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing.



