I am probably just stuck on something very simple, but I'm having trouble understanding a premise of Exercise 10.40 in Nielsen & Chuang. The full details of the exercise are not important for my question. The relevant part is this:
Suppose $U$ is an $n+1$ qubit gate in $N(G_{n+1})$ such that $U Z_1 U^\dagger = X_1 \otimes g$ and $U X_1 U^\dagger = Z_1 \otimes g^\prime$ for some $g, g^\prime \in G_n$. [Here, $G_n$ is the Pauli group on $n$ qubits and $N(G_n)$ is the normalizer of this group.] Define $U^\prime$ on $n$ qubits by $U^\prime |\psi\rangle := \sqrt{2}\langle 0 | U(| 0 \rangle \otimes | \psi \rangle )$.
Now, presumably this $U^\prime$ operator is unitary, but I can't figure out why this is necessarily true.