From: miha-q <> Date: Fri, 16 Aug 2024 00:06:13 +0000 (-0400) Subject: Thu Aug 15 08:06:13 PM EDT 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=54d798c9cf9d5deeeb009caf0e782fea36404d75;p=QAnsel.git Thu Aug 15 08:06:13 PM EDT 2024 --- 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);