<A|B> 是点积,结果是一个复数。
For a finite-dimensional vector space, using a fixed orthonormal basis, the inner product can be written as a matrix multiplication of a row vector with a column vector:
|A><B| 是 叉积,结果是一个矩阵。
Outer products
A convenient way to define linear operators on H is given by the outer product: if is a bra and
is a ket, the outer product
denotes the rank-one operator that maps the ket to the ket
(where
is a scalar multiplying the vector
).
For a finite-dimensional vector space, the outer product can be understood as simple matrix multiplication:
The outer product is an N×N matrix, as expected for a linear operator.