-
Notifications
You must be signed in to change notification settings - Fork 990
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
Adding Quantum Chess tutorial #3162
Adding Quantum Chess tutorial #3162
Conversation
This tutorial will use quantum chess as a vehicle to show how to: - Create circuits in cirq - Use post-selection - Add noise models - Do simple mitigation to mitigate noise - Decompose circuits - Map qubits This PR also adds the supporting images into _static.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
" mapping: Dict[cirq.Qid, cirq.GridQubit],\n", | ||
" available_qubits: Set[cirq.GridQubit],\n", | ||
" graph: Dict[cirq.Qid, Iterable[cirq.Qid]]) -> bool:\n", | ||
" \"\"\"Helper function to construct mapping.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional nit: Per google python style guide, add one more new-line to leave a blank line between the first line of the docstring and the rest of it; same applies before Args: and before Returns: below.
Automerge cancelled: A status check is failing. |
Because Github Actions is currently unavailable, I ran all the checks on Win/Mac/Linux and they all passed. |
This tutorial will use quantum chess as a vehicle to show how to: Create circuits in cirq Use post-selection Add noise models Do simple mitigation to mitigate noise Decompose circuits Map qubits This PR also adds the supporting images into _static.
This tutorial will use quantum chess as a vehicle to
show how to:
This PR also adds the supporting images into _static.