Atomic-to-molecular transition