qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Better workflows for sampler with readout error mitigation

Open nonhermitian opened this issue 2 years ago • 0 comments

What is the expected feature or enhancement? When readout error mitigation is turned on, a calibration job is executed, the results stored, and the sampler returns a quasi-distribution from the counts returned by the system. There are currently a couple of issues with this workflow.

~~1) Qiskit has no way of computing expectation values from sampled distributions (https://github.com/Qiskit/qiskit-terra/issues/8465). This should be fixed in Terra in the next release.~~ Resolved

  1. If doing multiple calls to the Sampler, e.g. within a Session, I typically do not need to do this calibration over and over. Instead, it should be possible to cache this value, at the Session level (or higher?) and use over and over again, and thus reduce the overall overhead.

Acceptance criteria I can reuse measurement calibration data for multiple calls to the Sampler within a Session

nonhermitian avatar Aug 17 '22 16:08 nonhermitian