Open doichanj opened 3 weeks ago
This PR adds (enables) save_expvaland save_expval_var to extended_stabilizer requested by #2121
save_expval
save_expval_var
extended_stabilizer
save_expvaland save_expval_var in extended_stabilizer were disabled because there were bug in expectation values calculation. I found 3 issues:
State::check_measurement_opt
Runner::norm_estimation
Now it works for cliffords cases, but it still does not work for non-cliffords cases
Summary
This PR adds (enables)
save_expval
andsave_expval_var
toextended_stabilizer
requested by #2121Details and comments
save_expval
andsave_expval_var
in extended_stabilizer were disabled because there were bug in expectation values calculation. I found 3 issues:save_expval_var
was not included inState::check_measurement_opt
Runner::norm_estimation
Now it works for cliffords cases, but it still does not work for non-cliffords cases