A two-dimensional ion trap comprises a first and second trapping plate located in a first and second terminals of the ion trap device, a set of four predetermined surface-shaped rods located in the center, a set of electrodes located between the set of four predetermined surface-shaped rods, and a control circuitry for applying a predetermined voltage to said first and second trapping plates.