What is a Hamiltonian in quantum algorithms?

In many quantum algorithms, what does a Hamiltonian represent?

A

The unitary that rotates every qubit into the computational basis

B

The parameterized circuit whose angles the optimizer tunes each round

C

The classical routine that minimizes the measured expectation value

D

The total energy operator of a quantum system or optimization problem