Estimating exact energies in quantum simulation without Toffoli gates