Evolution of hybrid quantum-classical wavefunctions