We find solutions for a universal set of quantum gates on a Heisenberg XXZ spin chain.A universal set of quantum gates are constructed by a combination of dynamical and geometrical phases,because geometrical phase gates have fault-tolerant features,which will contribute to improve the ability of quantum information processing.