Readout error mitigation#
QCut comes with an optional readout error mitigation flag for run_experiments()
.
To use readout error mitigation one only needs to set mitgate=True
.
Now the mitigated circuit knitting sequence can be executed with:
backend = AerSimulator()
observables = [0,1,2, [0,2]]
estimated_expectation_values = ck.run(cut_circuit, observables, backend, mitigate=True)
Note that using readout error mitigation comes at the cost of increased runtime. It is not recommended to be used with more than a few cuts.