Hello! Welcome back to our journey into the world of tensor products.
In our last lesson, we introduced the tensor product as an abstract way to "multiply" vector spaces, creating a new, larger space whose dimension is the product of the original dimensions. We saw that this construction is fundamental for describing composite systems.
Today, we move from the abstract "what" to the concrete "how." Our goal is to master the mechanics of combining individual vectors. By the end of this lesson, you will be able to construct the tensor product of two vectors using the Kronecker product. This is the computational tool you'll use frequently, especially when working with state vectors in quantum mechanics.
1. The Kronecker Product: A Concrete Recipe
The tensor product of two column vectors is calculated using an operation called the Kronecker product, also denoted by the symbol . The procedure is straightforward and best understood as a "scaling and stacking" operation.
Let's say we have two vectors, and . To compute their Kronecker product , which will be a vector in , you follow this recipe:
- Take the first scalar component of .
- Multiply this scalar by the entire vector . This gives you the first entries of your new vector.
- Take the second scalar component of .
- Multiply it by the entire vector . This gives you the next entries.
- Continue this process until you've used every component of .
In mathematical notation, it looks like this:
If and , then:
This article snippet provides a clear visual explanation of this procedure.
Tensor Products — Linear Algebra for Quantum
The article 'Tensor Products — Linear Algebra for Quantum' offers a great visualization for this calculation. It frames the process as treating the second vector b as a single block that gets scaled by each element of the first vector a.
Please read the section under the heading 'The Mathematics', starting from 'Suppose you have two vectors...' down to the image that illustrates the calculation. This will give you a solid mental model for the operation.
The image below shows this rule applied to vectors of various sizes. Notice how the dimension of the resulting vector is always the product of the input dimensions.

2. A Step-by-Step Video Demonstration
Now, let's watch a video that walks through this calculation in detail. Repetition and seeing it from a slightly different perspective will help solidify the process.
2-Qubit Computational Basis States, Tensor Products, Orthonormality, 4D Hilbert Space
This video from the Elucyda channel provides a clear, narrated walkthrough of the Kronecker product between two 2D vectors. It's a great way to see the 'scaling and stacking' recipe in action.
Please watch from 1:36 to 4:06. The presenter defines the general process and then applies it to two generic vectors, resulting in a 4D vector. Pay attention to how the indices of the resulting vector relate to the original indices.
Test your understanding!
Let and . Calculate the Kronecker product .
Show answer
We apply the procedure:
The resulting vector is in , as expected, since .
3. Application: Building Multi-Qubit States
This mathematical tool is not just an abstract exercise; it's the language of composite quantum systems. A single quantum bit (qubit) can be described by a vector in a 2D complex vector space, . The standard basis states are:
- The "state 0":
- The "state 1":
To describe a system of two qubits, we use the tensor product. The combined system lives in a -dimensional space, . The four basis states of this new space, denoted , are constructed using the Kronecker product.
Let's watch this process unfold.
2-Qubit Computational Basis States, Tensor Products, Orthonormality, 4D Hilbert Space
Continuing with the same video, we'll now see the Kronecker product applied to a core task in quantum computing: constructing the basis for a two-qubit system from single-qubit states.
Please watch from 4:06 to 7:30. The video calculates the four basis states: (|00 angle = |0 angle \otimes |0 angle) (|01 angle = |0 angle \otimes |1 angle) (|10 angle = |1 angle \otimes |0 angle) (|11 angle = |1 angle \otimes |1 angle) Notice how this simple operation generates the fundamental framework for a 4D quantum system.
Let's write out the calculation for one of these, , to reinforce the concept:
This resulting 4D vector is the third standard basis vector in the two-qubit space.
4. Two Sides of the Same Coin: Kronecker vs. Outer Product
For someone with your background in computer science, it's useful to see an alternative but equivalent way to think about this construction. The tensor product of two vectors can also be represented as a matrix via the outer product, .
Let's use our previous example: and .
The outer product is the matrix:
Notice the entries of this matrix. If you read them out row by row, you get . This is exactly the sequence of components in the vector we calculated using the Kronecker product!
This reveals a deep connection: the Kronecker product vector can be seen as a "reshaping" of the outer product matrix. This idea of "matrix-vector duality" is powerful. The matrix represents a linear map (a process), while the vector represents a state. In the context of tensor products, they are just two different ways of arranging the same set of numbers.
This short reading elaborates on this very connection.
The Tensor Product, Demystified
The article 'The Tensor Product, Demystified', which we saw in the last lesson, has an excellent section explaining this link between the outer product (a matrix) and the tensor product (a vector).
Please read the short section titled 'Well, technically...'. It formally identifies the tensor product with the outer product matrix and discusses the idea of reshaping between matrix and vector forms.
One final clarification on terminology: physicists and engineers often use "tensor product" to refer to the Kronecker product operation on vectors and matrices. In pure mathematics, "tensor product" refers to the more abstract operation between vector spaces we discussed in the last lesson. For our practical purposes in this course, when we talk about the tensor product of vectors, we mean the computation performed by the Kronecker product.
Conclusion
In this lesson, we moved from the abstract theory to concrete computation, focusing on the Kronecker product as the workhorse for combining vectors.
Key Takeaways:
- The Kronecker product is the algorithm for computing the tensor product of two column vectors.
- The procedure involves scaling the second vector by each component of the first vector and stacking the results.
- If and , their product is a vector in .
- This operation is not commutative: in general, .
- The Kronecker product is the tool used to construct the basis states of composite quantum systems, like multi-qubit registers.
- The resulting vector can also be seen as a "vectorized" form of the outer product matrix .
Preview of the Next Lesson:
We've learned how to combine vectors, which represent states. The next logical step is to learn how to combine the operators that act on those states. In the next lesson, we will extend the Kronecker product to matrices, allowing us to construct the matrix representation of a tensor product of two linear operators. This will enable us to describe operations, such as quantum gates, that act on individual parts of a composite system.