Update hamiltonnian_operator_defs.py

Adding extra terms to the definition to allow operators to be used for expectation values or for building the Hamiltonian