Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed coefficients in qubit kata explanation. #2225

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

DmitryVasilevsky
Copy link
Contributor

@DmitryVasilevsky DmitryVasilevsky commented Mar 12, 2025

Indeed, atan2(y, x) is present in many languages. We also have ArcTan2(y, x) in Q#, and it takes y as the first argument as expected. The text describes an example of a phase of a complex number $\frac{1 - i}{2}$. Here x=1/2 and y=-1/2. Previous text had these coefficients switched. Now it is fixed.
Also changed wording from "the phase of |0>" to "the phase of |0> amplitude", which seems to be a better wording as the paragraph talks about phases of complex numbers.

@DmitryVasilevsky DmitryVasilevsky added this pull request to the merge queue Mar 12, 2025
Merged via the queue into main with commit c9be0e8 Mar 12, 2025
18 checks passed
@DmitryVasilevsky DmitryVasilevsky deleted the dmitryv/qubit-kata branch March 12, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants