Definition
Tensor Product
Intuition
The tensor product keeps two independent coordinate choices at once.
- A row index becomes a pair .
- A column index becomes a pair .
- The entry at the combined position is the product of the corresponding entries:
So is not obtained by summing over a shared index, unlike matrix multiplication. It is obtained by pairing indices and multiplying entries.
Vector View
For vectors
the tensor product is
For basis vectors, this means that two basis choices combine into one joint basis choice:
This is why tensor products are used for composite systems: if one system has basis states and another has basis states , the combined system has basis states .
Properties
The map
is bilinear. That means it is linear in each argument separately.
So the listed laws are homogeneity and additivity in each argument, not left-associativity. The associative law for tensor products is a separate statement:
usually via a canonical isomorphism, not literal equality of the constructed spaces.
Einsum
Einsum notation can express the tensor product by keeping both pairs of indices separate:
In code, this is similar to
einsum('ij,kl->ikjl', A, B)The result can then be reshaped into the usual matrix form of the tensor product.
Examples
Example
For
the tensor product is