Quantum Computing, Quantum Algorithms.
cos(two pi phi) + i sin(two pi phi). Using Euler’s formula, some common special cases become apparent: Even multiples of pi, including 0.0. cos(0) + i sin(0) == 1.0. Odd multiples of pi, including pi. cos(pi) + i sin(pi) == -1.0. Even multiples of pi plus pi over two. cos(pi over two) + i sin(pi