跳到主要内容

张量积 (Tensor Product)

张量积是线性代数中一种构造新空间的方法。它将两个向量空间 VVWW 结合成一个更大的空间 VWV \otimes W,并将双线性映射问题转化为线性映射问题。它是多线性代数、微分几何以及量子力学中“复合系统”的数学语言。

1. 通用性 definition

V,WV, W 是域 F\mathbb{F} 上的向量空间。张量积 VWV \otimes W 是一个向量空间,配备了一个双线性映射 ϕ:V×WVW\phi: V \times W \to V \otimes W(记为 ϕ(v,w)=vw\phi(v, w) = v \otimes w),满足以下 通用性质 (Universal Property)

对任何向量空间 ZZ 和任何双线性映射 B:V×WZB: V \times W \to Z,都存在唯一的线性映射 L:VWZL: V \otimes W \to Z 使得: B(v,w)=L(vw)B(v, w) = L(v \otimes w)

这说明 VWV \otimes W 是能承载所有来自 V×WV \times W 的双线性信息的“最小”线性空间。

2. 基与维数

{e1,,em}\{e_1, \dots, e_m\}VV 的一组基,{f1,,fn}\{f_1, \dots, f_n\}WW 的一组基,则: {eifj1im,1jn}\{e_i \otimes f_j \mid 1 \le i \le m, 1 \le j \le n\} 构成 VWV \otimes W 的一组基。

  • 维数关系: dim(VW)=dimVdimW\dim(V \otimes W) = \dim V \cdot \dim W

3. Kronecker 积 (矩阵表示)

对线性映射 A:VVA: V \to V'B:WWB: W \to W',其张量积映射 AB:VWVWA \otimes B: V \otimes W \to V' \otimes W' 的矩阵表示即为 Kronecker 积。 设 AAm×nm \times n 矩阵,BBp×qp \times q 矩阵,则 ABA \otimes Bmp×nqmp \times nq 的分块矩阵:

AB=(a11Ba1nBam1BamnB)A \otimes B = \begin{pmatrix} a_{11}B & \dots & a_{1n}B \\ \vdots & \ddots & \vdots \\ a_{m1}B & \dots & a_{mn}B \end{pmatrix}

4. 关键性质

  1. 分配律: (v1+v2)w=v1w+v2w(v_1+v_2) \otimes w = v_1 \otimes w + v_2 \otimes w
  2. 标量结合: (cv)w=v(cw)=c(vw)(cv) \otimes w = v \otimes (cw) = c(v \otimes w)
  3. 混合乘积性质: (AB)(CD)=(AC)(BD)(A \otimes B)(C \otimes D) = (AC) \otimes (BD)
  4. 行列式: det(AB)=(detA)n(detB)m\det(A \otimes B) = (\det A)^n (\det B)^m(其中 A,BA, B 分别为 m,nm, n 阶方阵)。

5. 深度例题

例 1:张量积下的特征值

Ax=λx,By=μyAx = \lambda x, By = \mu y。求 ABA \otimes B 在向量 xyx \otimes y 上的作用。

点击查看解答
(AB)(xy)=(Ax)(By)=(λx)(μy)=λμ(xy)\begin{aligned} (A \otimes B)(x \otimes y) &= (Ax) \otimes (By) \\ &= (\lambda x) \otimes (\mu y) \\ &= \lambda\mu (x \otimes y) \end{aligned}

因此,ABA \otimes B 的特征值是 AABB 的特征值的两两乘积。

6. 配套练习

练习 1:计算 Kronecker 积

计算 A=(1203)A = \begin{pmatrix} 1 & 2 \\ 0 & 3 \end{pmatrix}B=(0110)B = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} 的张量积 ABA \otimes B

点击查看过程与答案
AB=(1B2B0B3B)=(0102102000030030).A \otimes B = \begin{pmatrix} 1B & 2B \\ 0B & 3B \end{pmatrix} = \begin{pmatrix} 0 & 1 & 0 & 2 \\ 1 & 0 & 2 & 0 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 3 & 0 \end{pmatrix}.

练习 2:纯张量的判定

并非 VWV \otimes W 中的所有向量都能写成 vwv \otimes w 的形式。能写成此形式的称为 纯张量 (Pure Tensor) 或可分态。 在 R2R2\mathbb{R}^2 \otimes \mathbb{R}^2 中,判断 z=e1e1+e2e2z = e_1 \otimes e_1 + e_2 \otimes e_2 是否为纯张量。

Details

点击查看证明z=(ae1+be2)(ce1+de2)=ac(e1e1)+ad(e1e2)+bc(e2e1)+bd(e2e2)z = (a e_1 + b e_2) \otimes (c e_1 + d e_2) = ac(e_1 \otimes e_1) + ad(e_1 \otimes e_2) + bc(e_2 \otimes e_1) + bd(e_2 \otimes e_2)。 与 e1e1+e2e2e_1 \otimes e_1 + e_2 \otimes e_2比较系数:

  • ac=1ac = 1
  • ad=0    a=0ad = 0 \implies a=0d=0d=0
    • a=0a=0,则 ac=01ac=0 \neq 1,矛盾。
    • d=0d=0,则 bd=01bd=0 \neq 1,矛盾。 因此 zz 不是纯张量。在量子力学中,这被称为 贝尔态 (Bell State) 或纠缠态。