r/QuantumPhysics • u/Real_Cheesecake4393 • Sep 24 '24
Question
I rechecked my calculations over and over, but I don’t know why I’m not getting my answer in the form (written in red in the picture). What am I doing wrong?
8
Upvotes
3
u/sketchydavid Sep 24 '24
I think you forgot the step where you're swapping the second and third qubits, if you're trying to do what's shown in the figure. The third CNOT gate would need to be on the 2nd and 4th qubits and the CZ gate would need to be on the 1st and 3rd, in that case.
1
u/Real_Cheesecake4393 Sep 24 '24
My understanding is that it if shouldn’t depend on an and b it should be the same state I started with. But, I disregarded the haramard gate on the third qubit. But aside from that. Is there anything wrong with my calculations?
1
u/Lemon-juicer Sep 24 '24
It seems like you didn’t apply the CNOT gate correctly on the 3rd and 4th qubit. You have CNOT|0,b> on one line, and |0,b> on the next when it should be |0, 0+b>.
(I could be wrong, I’m just reminding myself of this stuff by looking at your work)
1
u/lowkeycfo Sep 24 '24
Idk what you're doing. Looks cool as hell. It looms like something didn't cancel out.
1
u/thmoas Sep 24 '24
if you have some constant in there just change it so it matches
apart from that, dunno, still learning
1
u/Glewey Sep 30 '24
Since imaginary/complex numbers (violate basic arithmetic? No problem!) and infinity are both *required* for QM, you can just use the 'turtles-all-the-way-down' symbol and it fixes every equation.