Add string operator expectation value calculation to mps_uniform.