I'm learning about operations on qubits, and I came across this statement:
Suppose $|w\rangle = U |v\rangle$, and we want $U$ to preserve state norms. Then $\langle w|=\langle v|\bar U^{\operatorname{T}}$. What can we say about $\langle w | w \rangle$? It ought to equal $1$ (norms are preserved). Note that we have
$$\langle w | w \rangle = \langle v | \bar U^{\operatorname{T}} U | v \rangle$$ but since $\langle v | v \rangle = 1$, we must have that $\bar U^{\operatorname{T}} U=I$ and we call $U$ satisfying this criterion unitary.
What's unclear to me is how we were able to "take out" $\langle v | v \rangle$ in order to simplify the multiplication. Is there some notion of commutativity that allows us to draw this conclusion?