I have this quaternion equation:
$$qaq^{-1}=b,$$
where values of $a$ and $b$ are known. I want to know if there is a unique solution for $q$, and in that case how to obtain it.
Thanks in advance.
EDIT: I forgot to mention that I'm using this for rotations, so i think $a$, $b$ and $q$ are unit quaternions. Sorry I'm new to quaternions.
Certainly not unique, as if $q$ is a solution so is $t q$ for any real $t$. A necessary condition for existence is that $a$ and $b$ have the same norm.