Rare earth ions that can act as quantum bits