One of the main reasons that Quaternions are used in games is because you can smoothly interpolate between them in a pretty sensible way. Have a look at https://docs.unity3d.com/ScriptReference/Quaternion.Slerp.html for how to Slerp, all you need to do is linearly vary your interpolation value and you'll get a smooth transition between two rotations.