A theoretical investigation of the interaction between small Pd particles and 1-butyl-3-methyl imidazolium ionic liquids with Cl-, BF4(-) and PF6(-) anions.