Matrices
Column and Row vector
Here are our definitions of a column vector and a row vector:
The vector and row vectors can be represented by one-dimenstional matrices.
Multiplying Vectors
A bracket \langle x|y\rangle, is essentially matrix multiplication of a row vector and a column vector. Here is our definition
for example,
Matrix-vector multiplication
If the matrix and column vector are variables, we can write out the product this way: $$ A|x\rangle $$ This denotes the matrix A multiplying the vector |x\rangle.
Let's say we have
we can seperate matrix A into row vectors
and we can put things together as
In the same fashion, if we perform the product on the two following matrices A and B such that
Same, we rewrite matirx A into row vectors \langle R_{1}|,\langle R_{2},\langle R_{3}| and B into column vectors |C_{1}\rangle, |C_{2}\rangle, |C_{3}\rangle. We can have the product of A and B matrix as
Quantum example
in quantum circuits, the inputs are qubits (vectors), and the gates are matrices. An example quantum logic gate, NOT gate
, is show as
The NOT
gate in quantum copmuting is represented by the following matrix:
if our input qubits is a |1\rangle, then the output would be:
Hilbert space quantum
Hermitian matrix
A Hermitian matrix is a complex square matrix that is equal to its own conjugate transpose - that is, the element in the i-th row and j-th column is equal to the complex conjugate of the element in the j-th row and i-th column, for all indices i and j. A is a Hermitian matrix A contains elements a_{ij}, then
or in a quantum mechanics notation
For example, we have a complex square matrix A such that
we apply transpose, it becomes
then we find its cimplex conjugate, we have
Diagonal values
The entries on the main diagonal of any Hermitian matrix are real.
Symmetric
A matrix that has only real entries is symmetric if and only if it is a Hermitian matrix. A real and symmetric matrix is simply a special case of a Hermitian matrix.
Normal
Every Hermitian matrix is a normal matrix. AA^{\dagger} = A^{\dagger}A.
Properties
For any Hermitian matrix A and B, we have
- (A+B)_{ij} = A_{ij}+B_{ij} = \overline{A_{ij}}+\overline{B_{ij}} = \overline{A+B}_{ij}
- For an invertible Hermitian matrix. A^{-1} = (A^{-1})^{H}
Normal matrix
A complex square matrix A is normalif it commutes with its conjugate transpose A^{*}.
Conjugate transpose
To maintain the consistancy, symbol H has been replaced to \dagger.
A square matrix A with entries a_{ij} is called
- Hermitian or self-adjoint if A = A^{\dagger}; i.e., a_{ij} = \overline{a_{ji}}.
- Skew Hermitian if A = -A^{\dagger}; i.e., a_{ij} = -\overline{a_{ji}}.
- Normal if A^{\dagger}A = AA^{\dagger}.
- Unitary if A^{\dagger} = A^{-1}; i.e., AA^{\dagger} = A^{\dagger}A = I.
Unitary matrix
In linear algebra, an invertible complex square matrix U is unitary if its inverse matrix U^{-1} equals its conjugate transpose U^{*}, that is, if
In quantum, we use \dagger, that is
For real numbers, the analogue of a unitary matrix is an orthogonal matrix. Unitary matrices have significant importance in quantum mechanics because they preserve norms, and thus, probability.
Orthogonal matrix
In liner algrbra, an orthogonal matrix, or orthonormal matrix, is a real square matrix whose columns and rows are orthonormal vectors.
Also, it holds that
where Q^{T} is the transpose of Q and I is the identity matrix. As a result, it also holds that
Orthonormal basis
An orthonormal basis is a set of vectors have a norm of 1 and are pairwise orthogonal. ref
References:
- Woody III, L. S. (2021). Essential mathematics for quantum computing. Packt Publishing. https://www.packtpub.com/en-us/product/essential-mathematics-for-quantum-computing-9781801070188
- Hidary, J. D. (2019). Quantum computing: An applied approach. Springer. https://link.springer.com/book/10.1007/978-3-030-23922-0
- Conjugate transpose (Wiki)
- Orthogonal matrix (Wiki)
- Hermitian matrix (Wiki)
- Orthonormal basis
- Orthonormal basis
- Hilbert Space Quantum Mechanics