Why does $ e^{i\pi} = -1 $ ?
I know that this form can be used to for instance act on a bloch's sphere (quantum mechanics) using it as $ e^{i\pi/4} $ will do a $ \frac{\pi}{4} $ rotation on the $x-y$ plane
But I found no answer on the internet.
[EDIT]: Moreover the greats answers, I recommend this really well made video for thoses who are not familiary of the Euler's identity.
[EDIT TO CLARIFY]:
Learning the basics of quantum information, I had to use this matrix: $ \begin{pmatrix} 1 && 0 \\\ 0 & e^{i\pi/4} \end{pmatrix} $ which is a gate named $ T(\psi) $ where $ \psi $ is a simple qubit as $ \begin{pmatrix} \alpha \\\ \beta \end{pmatrix} $.
$ \alpha $ and $ \beta $ are just chances to get the classical qubit's state there, for instance $ \psi = \begin{pmatrix} \alpha \\\ \beta \end{pmatrix} $ gets $ \alpha^2 $ chances to be (as classical state) $ \begin{pmatrix} 1 \\\ 0 \end{pmatrix} $ (denoted $ |0\rangle $) and $ \beta^2 $ to be $ \begin{pmatrix} 0 \\\ 1 \end{pmatrix} $ (denoted $ |1\rangle $) (both $ \alpha $ and $ \beta $ can be non null, this is known as superposition).
To visualize a qubit state we can use the Bloch Sphere
The Bloch sphere