r/QuantumComputing • • Oct 31 '23

Can anyone explain this please ?

Post image
52 Upvotes

5 comments sorted by

56

u/Replevin4ACow Oct 31 '23

Qubit 1 is flipped when Qubit 0 is in the |1> state. That is pretty much the definition of the CX gate.

-38

u/CancelOk608 Oct 31 '23

So is the first option correct?

82

u/Replevin4ACow Oct 31 '23

You tell me.

If my previous response is not enough to make you confident in an answer, you need to review the material. I'm not here to do homework.

10

u/Satjs Oct 31 '23

The wording is sad sometimes, I think. My only problem here is that I am not sure what qubit0 and qubit1 are. Assuming qubit0 is leftmost ... What did you get when you tried to apply these gates as written to the original state?

8

u/Electrical-Ground880 Oct 31 '23

As you can see when you take the superposition of the two qubit states in the gate, the second bit is flipped when the first one is |1>, thus you can say that it is a controlled not(CX) gate with control qubit as qubit zero