Apply a Hadamard gate to the first qubit, then a controlled-NOT gate from the first to the second. This maps a computational-basis state to the Bell state with phase bit and parity bit . Its inverse uses the same gates in reverse order because each gate is self-inverse but they do not commute. Applying the forward sequence twice is not generally a decoding operation.
Controlled-Z gate 2026-09-29
The controlled-Z gate is . Conjugating the target of a controlled-NOT gate by Hadamard gates turns controlled-NOT into controlled-Z.
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.
Inverse quantum circuit Created 2026-09-24 Updated 2026-09-24
The inverse of a quantum circuit applies the adjoints of its gates in reverse temporal order. The Hadamard gate, Pauli Z gate, and controlled-NOT gate are each self-inverse.
Apply a Hadamard gate to qubit , followed by a controlled-NOT gate with controlling . The resulting Bell-basis conversion circuit is and gives
Thus map respectively to . The first input bit becomes the phase bit and the second becomes the parity bit.
Both gates are self-inverse, but inversion of their product reverses the order:
So the same two gates convert the Bell basis back to the computational basis when applied in reverse order: first the controlled-NOT, then the Hadamard. Using the forward order twice does not generally work, since these gates do not commute. For example, , which is not a computational-basis state.
Use GHZ preparation with Hadamard and controlled-Z gates for . Apply a Hadamard gate to the first qubit, then a controlled-NOT gate from that qubit to each of the other qubits. Every controlled-NOT can be written in the allowed gate set as
Indeed conjugating the target by makes the controlled phase into a controlled . The rightmost gate acts first. Consequently the Clifford circuit uses allowed gates and gives
For every chosen qubit , tracing out the other qubits yields . Equivalently, across that qubit versus the rest, the displayed state is a Schmidt decomposition with two nonzero coefficients . It is therefore entangled across every such bipartition.
Entanglement does not prevent the polynomial single-output simulation from part (iii). The simulation follows the measured observable rather than claiming that the intermediate states remain product states. When , there is no remaining subsystem and the requested entanglement is impossible; the construction and claim require .
For , the Controlled-NOT gate gives
A cloned product would instead be
Equality up to a physically irrelevant global phase requires . Thus
For a genuine superposition it creates quantum entanglement instead of two independent copies.