]> foleosoft.com Git - QAnsel.git/commitdiff
Thu Aug 15 08:03:15 PM EDT 2024
authormiha-q <>
Fri, 16 Aug 2024 00:03:15 +0000 (20:03 -0400)
committermiha-q <>
Fri, 16 Aug 2024 00:03:15 +0000 (20:03 -0400)
src/bytecode.c

index 6ab91e992dfb47a7b522df983bedce92b7d67e95..e9b95522aefc580ca079b2b09513922a28113db5 100644 (file)
@@ -778,7 +778,6 @@ void qansel_born(QAnselContext* ctx, cpx_mtx_t* stateVector, int PC, int qubitCo
                                r -= psisquared_sorted[j];
                                if (j == qubitCountPow2 - 1)
                                {
-                                       while (psisquared_sorted[j] == 0) j--;
                                        stats[j]++;
                                        //printf("%i _/\n", j);
                                }