H=sum_ic_idaggerc_i的矩阵形式
设$c = (c_1, c_2, ..., c_n)^T$为$n$维列向量,则$c^\dagger = (c_1^, c_2^, ..., c_n^*)$为$c$的共轭转置向量。
因此,$H = \sum_{i=1}^n c_i^\dagger c_i$可以表示为矩阵形式:
$$ H = \begin{pmatrix} c_1^\dagger & c_2^\dagger & \cdots & c_n^\dagger \end{pmatrix} \begin{pmatrix} c_1 \ c_2 \ \vdots \ c_n \end{pmatrix} $$
其中,第一个矩阵为$1 \times n$维矩阵,第二个矩阵为$n \times 1$维矩阵。两个矩阵相乘的结果为$1\times1$维矩阵,即$H$的值。
原文地址: https://www.cveoy.top/t/topic/fcKk 著作权归作者所有。请勿转载和采集!