# Hamiltonian (quantum mechanics)

The **Hamiltonian**, denoted *H*, has two distinct but closely related meanings. In classical mechanics, it is a function that describes the state of a mechanical system in terms of position and momentum variables (i.e. symplectic variables), which is the basis for a re-formulation of classical mechanics known as Hamiltonian mechanics. In quantum mechanics, the Hamiltonian is the observable corresponding to the total energy of a system. This article discusses the **Hamiltonian operator in quantum mechanics**. For other uses, see Hamiltonian (disambiguation).

## The quantum Hamiltonian

As explained in the article mathematical formulation of quantum mechanics, the physical state of a system may be characterized as a vector in an abstract Hilbert space (or, in the case of ensembles, as a countable sequence of vectors weighted by probabilities). Physically observable quantities are described by self-adjoint operators acting on these vectors.

The quantum Hamiltonian *H* is the observable corresponding to the total energy of the system. Mathematically speaking, it is a densely defined self-adjoint operator.

The eigenkets (eigenvectors) of *H*, denoted
**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| a \right\rang}**
(using Dirac Bra-ket notation), provide an orthonormal basis for the Hilbert space. The spectrum of allowed energy levels of the system is given by the set of eigenvalues, denoted {*E*_{a}}, solving the equation:

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H \left| a \right\rangle = E_a \left| a \right\rangle}**.

Since *H* is a Hermitian operator, the energy is always a real number.

Depending on the Hilbert space of the system, the energy spectrum may be either discrete or continuous. In fact, certain systems have a continuous energy spectrum in one range of energies and a discrete spectrum in another range. An example of such a system is the finite potential well, which admits bound states with discrete negative energies and free states with continuous positive energies.

The Hamiltonian generates the time evolution of quantum states. If **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| \psi (t) \right\rangle}**
is the state of the system at time *t*, then

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H \left| \psi (t) \right\rangle = \mathrm{i} \hbar {\partial\over\partial t} \left| \psi (t) \right\rangle}**.

where **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hbar}**
is h-bar. This equation is known as the Schrödinger equation. (It takes the same form as the Hamilton-Jacobi equation, which is one of the reasons *H* is also called the Hamiltonian.) Given the state at some initial time (*t* = 0), we can integrate it to obtain the state at any subsequent time. In particular, if *H* is independent of time, then

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| \psi (t) \right\rangle = \hbox{exp}\left(-\mathrm{i}Ht / \hbar\right) \left| \psi (0) \right\rangle}**.

where the exponential operator on the right hand side is defined by the usual series. This can be shown to be a unitary operator, and is a common form of the *time evolution operator* (also called the *propagator*).

## Energy eigenket degeneracy, symmetry, and conservation laws

In many systems, two or more energy eigenstates have the same energy. A simple example of this is a free particle, whose energy eigenstates have wavefunctions that are propagating plane waves. The energy of each of these plane waves is inversely proportional to the square of its wavelength. A wave propagating in the *x* direction is a different state from one propagating in the *y* direction, but if they have the same wavelength, then their energies will be the same. When this happens, the states are said to be *degenerate*.

It turns out that degeneracy occurs whenever a nontrivial unitary operator *U* commutes with the Hamiltonian. To see this, suppose that |a> is an energy eigenket. Then *U*|a> is an energy eigenket with the same eigenvalue, since

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle UH |a\rangle = U E_a|a\rangle = E_a (U|a\rangle) = H \; (U|a\rangle). }**

Since *U* is nontrivial, at least one pair of **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |a\rang}**
and **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U|a\rang}**
must represent distinct states. Therefore, *H* has at least one pair of degenerate energy eigenkets. In the case of the free particle, the unitary operator which produces the symmetry is the rotation operator, which rotates the wavefunctions by some angle while otherwise preserving their shape.

The existence of a symmetry operator implies the existence of a conserved observable. Let *G* be the Hermitian generator of *U*:

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U = I - \mathrm{i} \epsilon G + O(\epsilon^2) }**

It is straightforward to show that if *U* commutes with *H*, then so does *G*:

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [H, G] = 0 }**

Therefore,

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\part}{\part t} \langle\psi(t)|G|\psi(t)\rangle = \frac{1}{\mathrm{i}\hbar} \langle\psi(t)|[G,H]|\psi(t)\rangle = 0 }**

In obtaining this result, we have used the Schrödinger equation, as well as its dual,

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle\psi (t)|H = - \mathrm{i} \hbar {\partial\over\partial t} \langle\psi(t)|}**.

Thus, the expected value of the observable *G* is conserved for any state of the system. In the case of the free particle, the conserved quantity is the angular momentum.

## Hamilton's equations

Hamilton's equations in classical Hamiltonian mechanics have a direct analogy in quantum mechanics. Suppose we have a set of basis states **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left\{\left| n \right\rangle\right\}}**
, which need not necessarily be eigenstates of the energy. For simplicity, we assume that they are discrete, and that they are orthonormal, i.e.,

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle n' | n \rangle = \delta_{nn'} }**

Note that these basis states are assumed to be independent of time. We will assume that the Hamiltonian is also independent of time.

The instantaneous state of the system at time *t*, **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| \psi\left(t\right) \right\rangle}**
, can be expanded in terms of these basis states:

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |\psi (t)\rangle = \sum_{n} a_n(t) |n\rangle }**

where

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n(t) = \langle n | \psi(t) \rangle }**

The coefficients *a _{n}(t)* are complex variables. We can treat them as coordinates which specify the state of the system, like the position and momentum coordinates which specify a classical system. Like classical coordinates, they are generally not constant in time, and their time dependence gives rise to the time dependence of the system as a whole.

The expectation value of the Hamiltonian of this state, which is also the mean energy, is

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle H(t) \rangle \equiv \langle\psi(t)|H|\psi(t)\rangle = \sum_{nn'} a_{n'}^* a_n \langle n'|H|n \rangle }**

where the last step was obtained by expanding **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| \psi\left(t\right) \right\rangle}**
in terms of the basis states.

Each of the *a _{n}(t)'*s actually corresponds to

*two*independent degrees of freedom, since the variable has a real part and an imaginary part. We now perform the following trick: instead of using the real and imaginary parts as the independent variables, we use

*a*and its complex conjugate

_{n}(t)*a*. With this choice of independent variables, we can calculate the partial derivative

_{n}*(t)**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial \langle H \rangle}{\partial a_{n'}^{*}} = \sum_{n} a_n \langle n'|H|n \rangle = \langle n'|H|\psi\rangle }**

By applying Schrödinger's equation and using the orthonormality of the basis states, this further reduces to

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial \langle H \rangle}{\partial a_{n'}^{*}} = \mathrm{i} \hbar \frac{\partial a_{n'}}{\partial t} }**

Similarly, one can show that

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial \langle H \rangle}{\partial a_n} = - \mathrm{i} \hbar \frac{\partial a_{n}^{*}}{\partial t} }**

If we define "conjugate momentum" variables *π _{n}* by

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \pi_{n}(t) = \mathrm{i} \hbar a_n^*(t) }**

then the above equations become

**Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial \langle H \rangle}{\partial \pi_{n}} = \frac{\partial a_{n}}{\partial t} \quad,\quad \frac{\partial \langle H \rangle}{\partial a_n} = - \frac{\partial \pi_{n}}{\partial t} }**

which is precisely the form of Hamilton's equations, with the **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n}**
s as the generalized coordinates, the **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \pi_n}**
s as the conjugate momenta, and **Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle H\rangle}**
taking the place of the classical Hamiltonian.
de:Hamiltonoperator
es:Hamiltoniano_(mecánica cuántica)
ja:ハミルトニアン
pl:Hamiltonian