In quantum mechanics, if a family of unitary operators $\{U(\alpha)\}$ depending on a bunch of continuous parameters $\{\alpha\}$, commute with the Hamiltonian of a system, we say that the system has a continuous symmetry. I think that we define symmetry in this manner because we want the Schrodinger equation to remain unchanged after the symmetry transformation. I think this is true but I don't have any source to validate my impression. Please tell me if my reasoning below is correct.
Under the symmetry, $|\psi\rangle\to |\psi'\rangle=U|\psi\rangle$ and $H\to H'= UHU^{-1}=H$, then $$i\hbar\frac{\partial|\psi\rangle}{\partial t}=H|\psi\rangle\to i\hbar\frac{\partial|\psi'\rangle}{\partial t}=H|\psi'\rangle$$