Talk:Swap test

Latest comment: 1 month ago by 193.204.36.171 in topic Missing NOT gate in the explanation

Another picture with the second Hadamard gate is needed

The article does not explain why condition qubit changes. The link to quantum Fredkin gate says that condition remains unchanged, C in -> C out, so how could SWAP test work? There is some mathematical explanation, but for classical computer logic inclined people, this is not clear. One of the two articles should be extended. — Preceding unsigned comment added by 2620:0:1040:2012:8CDF:4299:1ECE:606F (talk) 11:24, 7 November 2019 (UTC)Reply

Missing NOT gate in the explanation

edit

The formal description and the detailed calculation disagree by a minus sign because after the second Hadamard gate the formal definition assumes a NOT gate is applied to the control qubit but this is not present in the detailed calculation. 2.37.61.253 (talk) 21:10, 8 October 2024 (UTC)Reply

Should I go ahead and fix this myself? 193.204.36.171 (talk) 14:06, 17 October 2024 (UTC)Reply