  We study the Ising Hamiltonian with a transverse field term to simulate the
quantum annealing. Using shortcuts to adiabaticity, we design the time
dependence of the Hamiltonian. The dynamical invariant is obtained by the
mean-field ansatz, and the Hamiltonian is designed by the inverse engineering.
We show that the time dependence of physical quantities such as the
magnetization is independent of the speed of the Hamiltonian variation in the
infinite-range model. We also show that rotating transverse magnetic fields are
useful to achieve the ideal time evolution.
