Simulator for atoms