Skip to content

Matrix-Mechanics Examples

Matrix mechanics is the natural language for finite-dimensional systems, truncated bases, spin, and numerical Hamiltonians. A good example should identify the basis before writing the matrix.

NeedLearnMain Check
Linear-map meaning of a matrixMatrices as Linear MapsColumns encode action on basis vectors
Eigenvalue calculationEigenvalues and EigenvectorsEigenvectors are not unique until normalized and phased
DiagonalizationDiagonalizationMatrix must have enough eigenvectors
Spectral projectorsSpectral DecompositionDegenerate eigenspaces require projectors
Two-state HamiltonianTwo-State HamiltoniansBasis, detuning, and coupling conventions
Pauli HamiltonianPauli Matrix HamiltoniansField direction sets the eigenbasis
Numerical diagonalizationMatrix Diagonalization NumericallyConvergence and conditioning

For

H=(ϵΔΔ−ϵ),H= \begin{pmatrix} \epsilon & \Delta \\ \Delta & -\epsilon \end{pmatrix},

the characteristic equation is

det⁡(H−EI)=E2−(ϵ2+Δ2)=0.\det(H-EI)=E^2-(\epsilon^2+\Delta^2)=0.

Thus

E±=±ϵ2+Δ2.E_\pm=\pm\sqrt{\epsilon^2+\Delta^2}.

This is the algebraic core behind many two-level examples. The physical interpretation depends on what the two basis states represent: spin projections, localized wells, two atomic levels, or a truncated subspace.

  • ordered basis;
  • matrix elements and their units;
  • whether the matrix is Hermitian;
  • eigenvalues and normalized eigenvectors;
  • phase convention for eigenvectors;
  • projectors if degeneracy is present;
  • limiting cases, such as Δ→0\Delta\to0 or ϵ→0\epsilon\to0.
  • Writing a matrix without specifying the basis.
  • Treating an eigenvector’s overall phase as physical.
  • Forgetting that degenerate eigenvectors can be rotated within the degenerate subspace.
  • Diagonalizing HH but expanding the initial state in the old basis when computing measurement probabilities.
  • Trusting numerical eigenvectors without checking residuals ∥Hψ−Eψ∥\lVert H\psi-E\psi\rVert.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • G. H. Golub and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, 2013.
  1. In the Hamiltonian above, what happens to the spectrum when Δ=0\Delta=0?
Solution

The eigenvalues become E±=±∣ϵ∣E_\pm=\pm\lvert\epsilon\rvert. If ϵ>0\epsilon>0, the original basis already diagonalizes the Hamiltonian with diagonal entries ϵ\epsilon and −ϵ-\epsilon.