Hello! Welcome to the next step in our exploration of tensor products.
In our last lesson, we focused on combining vectors to represent the states of composite systems, like a pair of qubits. We learned the concrete computational tool for this: the Kronecker product, which takes two vectors and and produces a new, larger vector .
Today, we'll answer the next logical question: if states are combined this way, how do we combine the operators (linear transformations) that act on them? Our goal is to construct the matrix representation of a tensor product of two linear operators. This skill is essential for describing how you might, for instance, apply a quantum gate to one qubit while leaving another untouched, or how physical forces act on different particles in a combined system.
1. The Action of a Combined Operator
Before we get to the matrix calculation, let's establish the intuition. Suppose you have two vector spaces, and , and two linear operators, acting on and acting on . We want to define a new operator, which we'll call , that acts on the combined space .
The most natural way to define this is to say that the combined operator acts on each part of a simple tensor product state separately. That is, for any vectors and , the action is defined as:
This rule is the conceptual core of everything that follows. It says: "To apply the combined operator , just apply to the first part of the state and to the second part, then take the tensor product of the results."
The following video discusses this principle from the perspective of quantum mechanics, where it's used constantly.
In the video 'Tensor product state spaces' by Professor M does Science, the presenter explains how operators on individual spaces are combined to act on the full tensor product space.
Please watch from 8:53 to 9:45. Focus on the definition of the tensor product of two operators, A1 and B2, by its action on a tensor product state. This directly corresponds to the rule we just discussed.
2. Constructing the Matrix: The Kronecker Product Revisited
In the last lesson, we used the Kronecker product to build a larger vector from two smaller vectors. It turns out the exact same procedure works for matrices. This provides the concrete recipe for constructing the matrix of the operator .
The rule is: if is an matrix and is a matrix, their Kronecker product is an block matrix. To build it, you multiply each scalar entry of by the entire matrix .
Let's watch a video that defines and demonstrates this process.
How to multiply matrices of ANY size -- the Kronecker product.
The video 'How to multiply matrices of ANY size -- the Kronecker product' by Michael Penn provides a perfectly clear definition and example of this operation.
First, watch from 0:41 to 1:36 to see the general block-matrix definition. Then, continue from 1:36 to 3:15 to see a detailed, step-by-step calculation for two 2x2 matrices. This will make the abstract rule very concrete.
The image below, which you may recognize from the video, provides a great static visual of this calculation.

Test your understanding!
Let and . Compute the Kronecker product .
Show answer
Using the block matrix rule:
Writing this as a single 4x4 matrix, we get:
3. Connecting the Matrix and the Action
Now for the crucial connection. The matrix we just learned to construct using the Kronecker product is precisely the matrix representation of the operator defined by the action (A ⊗ B)(v ⊗ w) = (Av) ⊗ (Bw).
This is a fundamental property that makes the Kronecker product the "right" way to combine matrices for composite systems. It ensures that our computational method (building the big matrix) correctly implements our conceptual goal (acting on each part of the system separately).
The Michael Penn video you just watched concludes by explicitly stating this key property.
How to multiply matrices of ANY size -- the Kronecker product.
Let's revisit the Michael Penn video for a moment to see this connection stated clearly.
Watch the short clip from 4:00 to 4:41. It explicitly links the Kronecker product of matrices to the tensor product of linear transformations via this key identity.
4. Application: Applying a Quantum Gate to a Single Qubit
Let's make this concrete with an example central to your goal of learning quantum mechanics.
Consider a two-qubit system. How would we apply an operation to the first qubit, but leave the second qubit unchanged? The operator for "do nothing" is the identity matrix, . If the operation on the first qubit is, say, the bit-flip gate (the quantum equivalent of a NOT gate), the combined operator is .
The matrices for these single-qubit operators are:
Let's construct the matrix for :
Now, let's apply this 4x4 matrix to a two-qubit state, say , which means the first qubit is in state and the second is in state . In the last lesson, we found that .
Let's perform the matrix-vector multiplication:
Wait, something is wrong here. Let me re-calculate.
.
. Correct.
Let's do the matrix multiplication again:
Ah, that's better. The resulting vector is . What state is this? This is exactly the vector for .
Let's check this using our conceptual rule:
We know that , and .
So the result is . It works perfectly! The matrix we constructed performs exactly the operation we intended.
This article provides a brief written walkthrough of this exact example, which will help solidify your understanding.
Tensor Products — Linear Algebra for Quantum
The article 'Tensor Products — Linear Algebra for Quantum' demonstrates how to apply a gate to a single qubit in a multi-qubit system.
Please read the section titled 'Finally, let’s look at how the operations done on qubits are transformed...'. It walks through the same logic of applying an X gate to the first qubit and an Identity gate to the second, reinforcing the X ⊗ I construction.
Conclusion
Today we bridged the gap between states and the operators that act on them in composite systems. By extending the Kronecker product from vectors to matrices, we found a concrete method for building the matrix representation of a combined operator.
Key Takeaways:
- The tensor product of two operators, , is defined by its action on a simple product state: .
- The matrix for this operator is constructed using the Kronecker product of the individual matrices, and , following a "scale-and-place" block matrix rule.
- The dimensions of the resulting matrix are the products of the original dimensions: if is and is , then is .
- This construction allows us to model operations that act on specific parts of a composite system, like applying a quantum gate to a single qubit by using an operator like .
Preview of the Next Lesson:
So far, we have only worked with "simple" tensor product states of the form . But the tensor product space contains many more vectors—namely, linear combinations of these simple products (e.g., ). In the next lesson, we will explore the crucial distinction between states that can be written as a simple product (separable states) and those that cannot (entangled states). This is one of the most fascinating and counter-intuitive features of quantum mechanics, and its foundation lies in the linear algebra we've just covered.