A vector in a complex vector space can be represented in Dirac notation as a ket, which is a column vector:
We can define the canonical basis matrices with special notation for , where is the -th canonical basis vector. In example, is the one hot vector with all zeros but a 1 in position .
We also have the common bases and defined as:
1.1 Scalar Product
The scalar product, inner product, dot product or braket of two vectors and is denoted as , which is a complex number:
The scalar product satisfies the following:
Conjugate symmetry:
Positive definiteness: and
Linearity in the second argument:
Antilinearity in the first argument:
1.2 Euclidean Norm
The Euclidian or norm of a vector is defined as:
It satisfies the following properties:
Positive definiteness: and
Positive scalability:
Triangle inequality:
1.3 Bra
The bra is the conjugate transpose of the ket , which is a row vector:
It can be thought of as a linear map on that takes a ket and returns the scalar .
1.4 Orthonormal Basis
Vectors and are orthogonal if . is normalized if . A set of vectors is an orthonormal basis if they are orthogonal and normalized, i.e., , where is the Kronecker delta.
The Kronecker delta is 1 if and 0 otherwise.
If the set is an orthonormal basis of , then any vector can be expressed as a linear combination of the basis vectors .
1.5 Direct Sum
The direct sum of two vectors where and is the vector in defined as:
is the vector space of all vectors of the form . The following properties hold:
1.6 Tensor Product
The tensor product of two vectors where and is the vector in defined as:
is identified with , the vector space of all vectors of the form . The following properties hold:
If is a basis of and is a basis of , then the set is a basis of . For example, the basis of is:
1.7 Linear transformations
A linear transformation is a set of maps that satisfy for all and .
There is a bijection between linaer operators and matrices. Given a linear operator , the matrix has entry . Additionally:
1.8 Outer Product
The outer product is represented as .
Example
We have resolution of unity𝟙 if is an orthonormal basis of . This can be easily verified:
1.9 Adjoint
The adjoint of vectors is: and .
The adjoint of an operator is: . It has the following properties on arbitrary :
from associativity of matrix product.
.
.
.
1.10 Operator Classes
is a normal operator if it commutes with its adjoint: .
is Hermitian or self-adjoint if . Hermitian operators are normal.
is Unitary if we have . Thus, 𝟙, , and 𝟙. Unitary operators are normal.
is positive semidefinite if for some linear operator . Positive semidefinite operators are Hermitian. Their matrix elements are non-negative: for all . Their eigenvalues are non-negative. If is invertible, its positive definite.
A positive semidefinite is a projector if . Then, .
Some Unitary & Hermitian matrices are the Pauli Matrices:
1.11 Spectral Theorem
Spectral Theorem: For square normal operator , and projection operators s.t. 𝟙 and . are the eigenvalues of and projects onto the space spand by the eigenvectors of corresponding to the eigenvalue .
Equivalently, is normal if orthonormal basis of s.t. .
If is Hermitian, then .
If is Hermitian, distinct eigenvectors that have distinct eigenvalues are orthogonal.
If unitary, it has eigenvalues of modulus : where .
1.12 Vector Space of Linear Operators
The set of linear operators is itself a vector space with addition and scalar multiplication .
The standard basis is for and . Then, any linear operator can be expressed as a linear combination of the basis operators.
1.13 Traces & Hilbert Schmidt Product
The trace of is the sum of its diagonal elements . It's cyclic: . We can now define the Hilbert-Schmidt inner product of two operators and as , which is a complex number. It satisfies the same properties as the scalar product of vectors.
1.14 Other Operator Operations
Let be a linear operator on and on . For , , the direct sum is:
The tensor product is:
2. Quantum Motivation
Quantum computers are an attempt to create a reversible computer (i.e. whos input can always be reconstructed from the output) using quantum physics, avoiding the Landauer limit of energy consumption.