(1-i)^{2i} = e^{2i \ln (1-i)} = e^{2i \ln \left(\sqrt{2}e^{i(\frac{-\pi}{4})}\right)}