Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Single qubits #184

Merged
merged 24 commits into from
Oct 31, 2019
Merged

Single qubits #184

merged 24 commits into from
Oct 31, 2019

Conversation

flockofonions
Copy link
Contributor

Added a tutorial explaining Qubits.

Copy link
Contributor

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the first batch of comments, covering the notation part. I'll finish the review of Q# part of the tutorial later today.

Copy link
Contributor

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've finished the review pass. Looks good overall, and seems to be just the right length and content - most comments are wording suggestions.

Please let me know when you've addressed all the comments and the PR is ready for the final round of review.

Thank you!

"\n",
"$\\alpha|0\\rangle + \\beta|1\\rangle$ is equivalent to $e^{i\\theta}\\big(\\alpha|0\\rangle + \\beta|1\\rangle\\big)$.\n",
"\n",
"In a situation like that, $\\theta$ is known as the quantum system's **global phase**, **unobservable phase**, or **hidden phase**."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be neat to tie this to Q# with a small demo similar to the previous one. Two things come to mind:

  1. Explanations of the phase and the direction columns in DumpMachine output.
  2. Some notes on DumpMachine showing the state up to some global phase factor, and with the qubit acquiring -1 phase - usually this can be done by applying some gates and then some more gates that should undo the first ones. This is also one of the frequently asked questions about DumpMachine, so it it a good thing to call out.

@tcNickolas
Copy link
Contributor

Please let me know when this PR is ready for the final review.

Copy link
Contributor

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a final pass and added the tutorial to all lists where it should be. Let's leave the phase demo/explanations for the next iteration.

Thank you!

@tcNickolas tcNickolas merged commit 05c6556 into microsoft:master Oct 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants