Removed deepcopy dependency for speed - replaced with built-in dict copy method for PauliTerms. Substituted real/imag zero-check for np.isclose zero-check, for speed. Overall PauliTerm/Sum time reduced 2x-10x
Removed deepcopy dependency for speed - replaced with built-in dict copy method for PauliTerms. Substituted real/imag zero-check for np.isclose zero-check, for speed. Overall PauliTerm/Sum time reduced 2x-10x

rigetticomputing/pyquil