Usually three cost functions were used in QMC optimization energy, variance or a linear combination of them. The variance optimization method has the advantage that the exact wavefunction's variance is known.
In general, three cost functions are utilized in QMC optimization: energy, variance, or a weighted average of both. The variance optimization method possesses the advantage that the precise value of the wavefunction's variance can be determined.