Let {$|a_n\rangle$} and {$|b_n\rangle$} be two basis related by: $|b_n\rangle = \hat{U}|a_n\rangle \forall n$.
From my understanding then the unitary operator $\hat{U}$ only transforms the basis {$|a_n\rangle$} into {$|b_n\rangle$} (just like in 2D geometry having a rotation operator which changes the basis $\hat{x},\hat{y}$ to $\hat{r},\hat{\theta}$).
If there is an operator $\hat{\Omega}$, then its representation in basis {$|b_n\rangle$}: $$ \langle b_n|\Omega|b_m\rangle = \langle a_n| \hat{U}^\dagger\Omega\hat{U}|a_m\rangle $$ $$\Omega \to \hat{U}^\dagger\Omega\hat{U}$$
On the other hand, consider the following unitary transformation: $$|\psi\rangle = \Omega|\phi\rangle$$ $$\hat{U}|\psi\rangle = \hat{U}\Omega\hat{U}^\dagger\hat{U}|\phi\rangle$$ $$\Omega \to \hat{U}\Omega\hat{U}^\dagger$$
1)I am getting very confused by the difference between these, shouldn't the operator $\Omega$ transform in the same way?What is the difference between the two things I am doing?