To get the complex conjugate of a complex number, you multiply the imaginary part of that complex number by $-1$:
$$\overline{x} = a - bi$$
@[solution]({"id": "complex_arithmetic__complex_conjugate_solution", "codePath": "Solution.qs"})microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
katas/content/complex_arithmetic/complex_conjugate/solution.md
5lines · modepreview