For every density operator on ,
with equality if and only if , that is, is supported on the ground space. In particular , and for any family of trial states the number is an upper bound on , attained only if the family reaches the ground space.
This is the principle behind the variational quantum eigensolver of Peruzzo et al.: every exactly evaluated energy of a prepared state is a certified upper bound on the ground energy. The certificate is lost once the energy is only estimated from finitely many samples, or the prepared state differs from the intended one because of noise.