Energy weapon

Ray guns were a name sometimes used for energy weapons, usually of the hand-held type.