CNOT control reversal in the Hadamard basis

ID: cnot-control-reversal-in-the-hadamard-basis

Writing a CNOT gate as gives , where . In the Hadamard basis, flips the sign label and is diagonal. Thus the same gate matrix reverses its control and target roles under the two local basis changes.

New to topics? Read the docs here!