We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ce9c4 commit de77ed2Copy full SHA for de77ed2
scripts/fc_tn_qiskit_validation.py
@@ -90,7 +90,7 @@ def calc_stats(ideal_probs, exp_probs, shots, depth):
90
n_pow = len(ideal_probs)
91
n = int(round(math.log2(n_pow)))
92
mean_guess = 1 / n_pow
93
- model = 1 / n
+ model = 1 / math.sqrt(n)
94
threshold = statistics.median(ideal_probs)
95
u_u = statistics.mean(ideal_probs)
96
numer = 0
0 commit comments