  A pulse shaping algorithm for a matter wave with the purpose of controlling a
binary reaction has been designed. The scheme is illustrated for an Eley-Rideal
reaction where an impinging matter-wave atom recombines with an adsorbed atom
on a metal surface. The wave function of the impinging atom is shaped such that
the desorbing molecule leaves the surface in a specific vibrational state.
