openfermion.transforms.opconversions.edit_hamiltonian_for_spin

{ }

Removes the Z terms acting on the orbital from the Hamiltonian.