qiskit-experiments icon indicating copy to clipboard operation
qiskit-experiments copied to clipboard

Qiskit is going to deprecate `qiskit.result.mitigation`

Open 1ucian0 opened this issue 1 year ago • 3 comments

See https://github.com/Qiskit/qiskit/issues/12838

qiskit-experiments uses this module in https://github.com/Qiskit-Extensions/qiskit-experiments/blob/main/qiskit_experiments/library/characterization/analysis/local_readout_error_analysis.py

Consider vendor it here if you still needed it.

1ucian0 avatar Jul 29 '24 13:07 1ucian0

@dcmckayibm FYI

eliarbel avatar Jul 29 '24 13:07 eliarbel

Mitigated QPT experiment depends on the local readout error experiment. This experiment is used to reconstruct channel on the noisy POVMs. This effectively reduces statistical error in the outcome (of course we can just run QPT analysis on error mitigated counts if we don't care the error).

nkanazawa1989 avatar Jul 29 '24 13:07 nkanazawa1989

We can still park if here if people like the code

dcmckayibm avatar Jul 30 '24 00:07 dcmckayibm

The mitigators were moved in Experiments in https://github.com/qiskit-community/qiskit-experiments/pull/1484. The deprecation warning in Qiskit suggests switching to mthree. Using the classes here would be a smoother transition, but mthree is more dedicated to readout mitigation than Qiskit Experiments is and is in the main Qiskit organization, so maybe it still makes more sense. Based on the deprecation warning message, I looked at switching the Qiskit Experiments usage to mthree but the API was very different from the mitigators and I didn't see an easy way to make the switch.

wshanks avatar Nov 15 '24 21:11 wshanks