QuantumAtlas

Math Foundations

Hamiltonian

The operator that represents the total energy of a quantum system and determines how it evolves in time.

Definition

The Hamiltonian is the master recipe for a quantum system. It lists all the energy contributions, such as how particles move and how they interact, and it determines how the system changes with time. In quantum computing the Hamiltonian appears in two ways: as the thing you want to simulate, such as the energy of a molecule, and as the physical description of how the qubits and control pulses in a device behave.

In depth

Quantum chemistry is largely about Hamiltonians. The electronic Hamiltonian of a molecule has terms for the kinetic energy of electrons, their attraction to the nuclei, and their repulsion from each other. After choosing a set of orbitals, it can be written as a sum of Pauli operators acting on qubits, often thousands or millions of terms. The lowest eigenvalue of that sum is the molecule's ground-state energy, which determines bond strengths and reaction energies.

Hamiltonians also describe the hardware. A superconducting qubit device is described by a Hamiltonian with qubit frequencies, couplings between neighbors, and drive terms from control pulses. Engineers design gates by shaping those pulses so that the evolution under the Hamiltonian implements the desired unitary. Errors in the Hamiltonian, such as unwanted couplings called crosstalk, are a main source of gate errors.

Simulating Hamiltonian dynamics is the problem that originally motivated quantum computers. Methods include Trotterization, which approximates evolution by alternating simple terms, linear combination of unitaries, and quantum signal processing, which reaches optimal complexity. Quantum annealers use a different idea: they start in the ground state of a simple Hamiltonian and slowly change it into a problem Hamiltonian whose ground state encodes the answer.

Technical Definition

A Hamiltonian H is a Hermitian operator whose eigenvalues are the allowed energies of the system. Time evolution of a closed system is given by the unitary operator e to the minus i H t over h-bar. The lowest eigenvalue is the ground-state energy, and the corresponding eigenstate is the ground state.

Visual Explanation: An Analogy

A Hamiltonian is like the rules of a board game. Once you know all the rules, you can predict how any position will unfold. Change a rule and the game plays out differently, and finding the best possible position corresponds to finding the ground state.

Key facts

ItemDetail
Mathematical typeHermitian operator; eigenvalues are energies
EvolutionTime evolution operator is the exponential of minus i H t over h-bar
Molecular HamiltoniansWritten as sums of Pauli strings after mapping electrons to qubits, with up to millions of terms
Ground stateLowest-energy eigenstate, the target of VQE and phase estimation
Named afterWilliam Rowan Hamilton, whose 19th-century reformulation of mechanics led to the quantum operator

Where the idea comes from

William Rowan Hamilton reformulated classical mechanics in the 1830s using a function of positions and momenta that equals the total energy. When quantum mechanics was developed in the 1920s, that function became an operator, and Schrödinger's equation says that the Hamiltonian generates time evolution.

Real-World Use Cases

  • Defining the molecular and materials problems that quantum chemistry algorithms solve.
  • Specifying optimization problems as Ising Hamiltonians for annealers and QAOA.
  • Modeling and calibrating the physical behavior of qubits and control pulses.
  • Simulating dynamics of spin systems, lattice models, and quantum fields.

How it differs from related ideas

  • The Hamiltonian is the generator of time evolution, while the unitary is the result of running it for a specific time.
  • A classical energy function gives a number for each configuration, and a quantum Hamiltonian is a matrix that can mix configurations.
  • A problem Hamiltonian encodes a computation, while a driver Hamiltonian in annealing supplies quantum fluctuations.

Common Misconceptions

  • The Hamiltonian is not a state. It is an operator whose eigenvectors are states.
  • Finding the ground state of a general Hamiltonian is hard even for quantum computers, since the problem is QMA-hard in the worst case.
  • The Hamiltonian does not include measurement, which is treated by a separate rule.

Frequently asked questions

What is a Hamiltonian in quantum computing?

An operator that represents total energy. It describes either the system you want to simulate, such as a molecule, or the physical device that implements the computation.

How does a Hamiltonian relate to a gate?

A gate is the unitary produced by running a Hamiltonian for a specific time. Control pulses create the Hamiltonian that generates the gate.

Why is the ground state of a Hamiltonian important?

It determines the stable structure and energy of molecules and materials, and many optimization problems are encoded as ground-state searches.

Related Terms

Keep exploring

← Back to the dictionary