It can be shown that any line or circle can be written in the general form
$$ Az\bar{z}+\bar{B}z+B\bar{z}+D=0 $$
where $A, D$ are real and $B, z$ are complex.
However, it can also be shown that for this equation to be a circle, it needs to satisfy $B\bar{B}-AD>0$. I'm not sure how to derive this condition, but my guess is that it has something to do with the complex discriminant. The above equation can probably be solved for $| z |$, and the generalized formula is probably something like
$|z|=\frac{-(?)\pm \sqrt{|B|^2-4AD}}{2A}$
Would appreciate your insight.