Variational method (source code)

= Variational method
{wiki}

The Rayleigh quotient of any normalized trial state is at least the ground-state energy.