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.
A CNOT gate can correlate either the original control's computational label with a computational pointer, or the original target's sign-basis label with a sign-basis pointer. For the second interpretation prepare the original control in and read it in the Hadamard basis. Its two pointer states become and , measuring on the original target. An apparatus role therefore depends on the ready state and readout as well as the measurement interaction.
For , apply a Hadamard gate to one qubit, then controlled-NOTs from it to all others. Replacing each controlled-NOT gate by a target Hadamard, a Controlled-Z gate, and another target Hadamard uses allowed gates. Each one-qubit reduced state is , proving entanglement across each qubit-versus-rest bipartition.
For , a Bell measurement on and the first leg of a GHZ state leaves the other two legs in , after applying to both legs for the two outcomes.
Starting from , apply a Hadamard gate to the first qubit and then controlled-NOT gates from the first qubit to each of the other two qubits.