8000 n^2 for fc_tn · unitaryfoundation/qrack@56523b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56523b0

Browse files
n^2 for fc_tn
1 parent 9314d5f commit 56523b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fc_tn_qiskit_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def calc_stats(ideal_probs, exp_probs, adj_xeb, shots, depth):
101101
n = int(round(math.log2(n_pow)))
102102
threshold = statistics.median(ideal_probs)
103103
u_u = statistics.mean(ideal_probs)
104-
model = min(1.0, 1 / (adj_xeb * n))
104+
model = min(1.0, 1 / (adj_xeb * n * n))
105105
numer = 0
106106
denom = 0
107107
sum_hog_counts = 0

0 commit comments

Comments
 (0)
0