Modularization Uniformity for ZNE, PEC, DDD, and LRE #2677
Closed
b-goldsmith
started this conversation in
General
Replies: 2 comments 2 replies
|
Agreed. In fact, that was the original intention I believe, but PRs started going up before anything was agreed upon. This is a good place to brainstorm. Circuit generation
Result combination
Of my limited brainstorm, |
2 replies
|
Closing the discussion as it is being addressed in #2692 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Looking at the different techniques that have been modularized, there are inconsistencies.
ZNE, PEC, and DDD have one function that generates the circuits and another that provides the final expectation value.
LRE has a function that generates the circuits and one that generates the coefficients used in generating the final expectation value.
ZNE:
scaled_circuitsandcombine_resultsPEC:
generate_sampled_circuitsandcombine_resultsDDD:
generate_circuits_with_dddandcombine_resultsLRE:
multivariate_layer_scalingandmultivariate_richardson_coefficientsI think it would be useful to have the function that generates the circuits to have the same naming convention. Also, I think adding a
combine_resultsto LRE makes sense for consistency.All reactions