Diagonal Hamiltonian Created 2026-09-28 Updated 2026-11-05
A diagonal Hamiltonian is diagonal in a specified product basis, usually the computational basis. Every basis state is therefore an energy eigenstate, and optimization of its diagonal entries becomes minimization of the corresponding classical cost function.
Since and , the diagonal Hamiltonian iswith the identity on every unlisted qubit. Each computational-basis state is an eigenstate, and its eigenvalue is minus the cost of the corresponding cut. Part i supplies cost four, while the assumed bound rules out a lower energy. Thus the ground-state energy is . For the assignment , one ground state isIts bitwise complement is another ground state, as are the basis states corresponding to the other maximum cuts.