]> foleosoft.com Git - QAnsel.git/commitdiff
Sat Mar 2 10:29:57 PM EST 2024
authormiha-q <>
Sun, 3 Mar 2024 03:29:57 +0000 (22:29 -0500)
committermiha-q <>
Sun, 3 Mar 2024 03:29:57 +0000 (22:29 -0500)
src/QAnsel.c

index d0748da94741f0ad25cc1b307c113b8042c1cc46..4f418a2abed745c9e727fd969c8c1c63f2bb4f1d 100644 (file)
@@ -255,9 +255,12 @@ void qansel_instruction(cpx_mtx_t* stateVector, uint8_t qubitCount, QInstr* inst
                stateVector->rows * 2, filter.cols * 2, stateVector->cols * 2
        );
        #endif
+       printf("a\n");
        free(stateVector->ptr);
+       printf("b\n");
        stateVector->ptr = tmp.ptr;
        free(filter.ptr);
+       printf("c\n");
        if (instr->n[0] == 'u') free(gate_ptr);
 }