Quantum simulation of the wavefunction to probe frustrated Heisenberg spin systems