Learn how to use IonQ’s error mitigation techniques with Qiskit
ErrorMitigation
from qiskit_ionq
error_mitigation=ErrorMitigation.DEBIASING
or error_mitigation=ErrorMitigation.NO_DEBIASING
when calling backend.run()
backend.retrieve_job(job_id)
), just get the counts.
job.result().get_counts()
and job.result(sharpen=False).get_counts()
are equivalent.
Sharpening via plurality voting is a different aggregation strategy which takes the highest-probability result from each variant. For circuits where you’re trying to identify one or a few high-probability states, debiasing and sharpening can greatly improve the result quality.
10
and 01
states, which can only occur due to error. These were included when the results were aggregated by averaging. However, when sharpening was used, we counted only the highest-probability state from each circuit variant that was run, and these states were always either 00
or 11
.