Simulation of quantum dynamics via classical collective behavior