Add functionality to generate confusion matrix on backend #2448
Labels
feature-request
A request for a feature, tool, or workflow in Mitiq.
needs/agreed-design
Needs a plan of action that is agreed upon to complete.
rem
Readout Error Mitigation technique
In REM, we have a handy function to generate a confusion matrix when the probabilities of bitflips are known: https://github.com/unitaryfund/mitiq/blob/7984127cb57042bdcd02462d18aee32aa6c84444/mitiq/rem/inverse_confusion_matrix.py#L74-L78
Adding a function that generates the inversion confusion matrix when the parameters$p_0$ and $p_1$ are not known would aid users in using REM when using real backends with limited knowledge.
Requirements
mitiq/rem/inverse_confusion_matrix.py
that allows a user to generate an inverse confusion matrix on a specified backend (using an executor). This function should optionally returnThis idea came out of discussion with @ecarlander and @ruheenirodi.
The text was updated successfully, but these errors were encountered: