  Spin cat states are promising candidates for achieving Heisenberg-limited
quantum metrology. It is suggested that spin cat states can be generated by
adiabatic evolution. However, due to the limited coherence time, the adiabatic
process may be too slow to be practical. To speed up the state generation, we
propose to use machine optimization to generate desired spin cat states. Our
proposed scheme relies only on experimentally demonstrated one-axis twisting
interactions with piecewise time-modulation of rotations designed via machine
optimization. The required evolution time is much shorter than the one with
adiabatic evolution and it does not make large modification to the existing
experimental setups. Our protocol with machine optimization is efficient and
easy to be implemented in state-of-the-art experiments.
