In quantum mechanics, the Hamiltonian is a fundamental operator that represents the total energy of a quantum system. It is typically denoted by the symbol \( \hat{H} \). The Hamiltonian plays a central role in the formulation of quantum mechanics and can be thought of as the quantum analog of the classical Hamiltonian function, which is used in Hamiltonian mechanics.