Local spin operators for fermion simulations