From 54d798c9cf9d5deeeb009caf0e782fea36404d75 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Thu, 15 Aug 2024 20:06:13 -0400 Subject: [PATCH] Thu Aug 15 08:06:13 PM EDT 2024 --- src/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bytecode.c b/src/bytecode.c index 44186a1..bafa11f 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -769,7 +769,7 @@ void qansel_born(QAnselContext* ctx, cpx_mtx_t* stateVector, int PC, int qubitCo for (unsigned int j = 0; j < qubitCountPow2; j++) { //printf("%f >= %f\n", psisquared_sorted[j], r); - if (psisquared_sorted[j] >= (r - 0.00001)) + if (psisquared_sorted[j] >= (r - 0.0000001)) { stats[j]++; //printf("%i _/\n", j); -- 2.39.5