3
$\begingroup$

when I measure the shot = 1024

enter image description here

when I measure the shot = 8192

enter image description here

I want to derive result value 011(=3) However, I know if measure the more shots, increase the accuracy. why this result derive??? why increase inaccuracy??

Sorry to late reply your request. I attach my code in qiskit!! Thank you everybody!!

enter image description here

and I want to gain output 011(=3)

$\endgroup$
3
  • 1
    $\begingroup$ Could you please upload a circuit producing these results? What backend do you use? $\endgroup$ Commented Feb 9, 2020 at 10:54
  • 1
    $\begingroup$ What makes you think that the second result is a less accurate measurement? What are you exoecting? $\endgroup$
    – Helena
    Commented Feb 9, 2020 at 12:42
  • $\begingroup$ I want to gain value 110(=3). but increasing shots, value 110 is decreasing. Could you explain to me about this situation. and if I proceed wrong method, teach to me please. Thank you $\endgroup$
    – 유도경
    Commented Feb 11, 2020 at 3:24

1 Answer 1

9
$\begingroup$

In general, the number of shots does not increase the accuracy of an experiment. Rather it gives a more precise answer. Attached is a figure showing the distance (in terms of Hellinger distance) for a Bell state run on the IBM Quantum Boeblingen device from the theoretical answer as a function of the number of shots taken. For each value of the shots, the experiment is repeated 100 times.shots

We see that as the number of shots is increased, the spread of the distributions decreases, following a $1/\sqrt{\rm{shots}}$ scaling. Therefore our answers are becoming more precise. However, the mean of this distribution is fairly constant, and it is clear that it converges to a nonzero answer, $\sim 0.17$ in this case. Ideally this should converge to zero distance, and the difference is the accuracy of the experiment. No matter how many shots one takes, this accuracy does not improve. This is because of errors in the device such as gate errors, measurement errors, environmental noise, etc. In this particular case the dominate error is measurement error that can fortunately be mitigated.

$\endgroup$
1
  • $\begingroup$ Thank you so much!! because of you, I realize that difference of Precision and Accuracy. Have a nice day!! $\endgroup$
    – 유도경
    Commented Feb 11, 2020 at 3:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.