Module: openfermion.transforms.opconversions.remove_symmetry_qubits

Module to remove two qubits from the problem space using conservation

of electron number and conservation of electron spin. As described in arXiv:1701.08213 and Phys. Rev. X 6, 031007.


edit_hamiltonian_for_spin(...): Removes the Z terms acting on the orbital from the Hamiltonian.

symmetry_conserving_bravyi_kitaev(...): Returns the qubit Hamiltonian for the fermionic Hamiltonian