Extended Lipkin-Meshkov-Glick Hamiltonian