Tuesday, August 20, 2024

EvenOdd

 Manged to produce a sequence that accepts a number, converts it to binary,

draws a circuit of the binary, and outputs whether it is even or odd. Below!

My initial ambition what to use but one qubit to determine parity - on the

model of the Deutch circuit - but that is not possible. The Deutsch circuit

works because that last measure on one actually encompasses everything

on the circuit. This is not the case for a plain even/odd, which only needs

to use one qubit...

                                                       










No comments: