Trapped-ion quantum computation and simulation