Matrix Representation of Operators in Quantum Mechanics📂Quantum Mechanics
Matrix Representation of Operators in Quantum Mechanics
Build-up
Let’s consider two unit vectors x=(1,0) and y=(0,1) in a 2-dimensional space. The coordinate vector of an arbitrary point (a,b) in this space can be expressed as a linear combination of these two unit vectors as follows.
(a,b)=a(1,0)+b(0,1)⟹[ab]=a[10]+b[01]
This expression is possible because the set of unit vectors {x,y} contains orthogonal vectors equal to the number of dimensions. Such a set is mathematically called a basis. In other words, if a basis is given, all vectors in the space can be represented as a linear combination of these basis vectors. The condition for being a basis is that the number of elements equals the number of dimensions and they must be composed of orthogonal vectors. Hence, they do not need to be unit vectors like x and y.
For example, let’s consider two orthogonal vectors v=(−1,2) and u=(2,1). Then the coordinate vector of point (a,b) is as follows:
It is known that the coordinates of each vector in the basis are [10] and [01], respectively. Now, let’s assume an arbitrary matrix A=[acbd] is given. To obtain the component in the first row and second column of this matrix, you multiply the coordinates of the first and second basis vectors, respectively, as follows A.
[10][acbd][01]=b
If we notate the first basis vector as ∣1⟩ and the second basis vector as ∣2⟩, the ij component of the matrix A can be expressed as follows:
[Aij]=⟨i∣A∣j⟩
This notation is called Dirac notation. The core points above are fourfold:
If there are orthogonal vectors equal to the number of dimensions, all points can be expressed in coordinates as a linear combination of these vectors. (Such a set is called a basis)
The coordinates of a point can vary depending on the basis.
The coordinate vector of the i-th vector in the basis is as follows:
0⋮1⋮0←i-th row
If the coordinates of the i-th basis vector are notated as ∣i⟩, the ij component of the matrix is as follows:
[Aij]=⟨i∣A∣j⟩
Explanation
In quantum mechanics, operators (corresponding to different eigenvalues) have eigenfunctions that are all orthogonal. Thus, the set of eigenfunctions forms a basis. Using the coordinate vectors of these eigenfunctions, the action of the operator on these eigenfunctions can be expressed as matrix multiplication. For example, let’s consider the Hamiltonian operatorH and assume the following eigenvalue equation holds.
H∣1⟩=h1∣1⟩H∣2⟩=h2∣2⟩
Then the above eigenvalue equation can be expressed as the following matrix multiplication.
Therefore, [h100h2] is the matrix corresponding to the Hamiltonian H. The method to obtain each component of this matrix is, as explained above, multiplying the eigenvectors front and back.
[Hij]=⟨i∣H∣j⟩
Example
Harmonic Oscillator
Energy Operator:H=ℏw210000⋮023000⋮002500⋮000270⋮000029⋮⋯⋯⋯⋯⋯