added the missing 1/sqrt(N) for std deviation of averages
This commit is contained in:
parent
cb0edce102
commit
90b3b1e145
|
@ -25,6 +25,6 @@ def execution_statistics(circuits, state, scale=1, **kwargs):
|
|||
results /= scale
|
||||
N = len(results)
|
||||
avg = np.average(results)
|
||||
std_dev = np.std(results)
|
||||
std_dev = np.std(results) / np.sqrt(N)
|
||||
|
||||
return N, avg, std_dev
|
||||
|
|
Loading…
Reference in New Issue
Block a user