Let $p$ be a polynomial with rational coefficients and $\alpha = \sqrt[n]{q}e^{i2k\pi/m}$ for some natural numbers $n,m,k$ and a rational number $q > 0$. Is there an effective algorithm for deciding if $p(\alpha) = 0$?
I assume there should be one, as computer algebra systems can be used for this task. If so, is there a polynomial-time algorithm (in terms of $\max\{n,m\}$)?
Could someone either explain the idea of what has to be done, or give me some references? Thank you in advance.