microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
alex/second-api-refactor

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/complex_arithmetic/complex_exponents/index.md

8lines · modepreview

**Input:** A complex number $x = a + bi$.

**Goal:** Return the complex number $e^x = e^{a + bi}$.

<details>
  <summary><b>Need a hint?</b></summary>
  Q# namespace <code>Microsoft.Quantum.Math</code> includes a function <code>E()</code> that returns the value of the constant $e$.
</details>