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

Add interop docs and optimizers #2884

Merged
merged 3 commits into from
Apr 15, 2020

Conversation

dstrain115
Copy link
Collaborator

  • Move QASM from circuits doc to a new interop page
  • Add JSON and quirk functionality to interop page
  • Add a section on optimizers to circuits page.

- Move QASM from circuits doc to a new interop page
- Add JSON and quirk functionality to interop page
- Add a section on optimizers to circuits page.
@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Apr 2, 2020
@dstrain115 dstrain115 requested a review from viathor April 6, 2020 21:23
@dstrain115
Copy link
Collaborator Author

Ping. Would it be possible to get a review on this PR?

{
"cell_type": "markdown",
"metadata": {
"id": "77zB_UqkAwCR",
"colab_type": "text"
},
"source": [
"![Circuits and Moments](https://cirq.readthedocs.io/en/latest/_static/CircuitMomentOperation.png)"
"![Circuits and Moments](https://cirq.readthedocs.io/en/stable/_images/CircuitMomentOperation.png)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this image not in latest? I thought we store all these things in static. Why the change in this link?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. I think this was a merge issue of some sorts, since I changed this in an early PR.
I will also go and double-check other changes to make sure I am not squashing anything once I update the branch.

},
"source": [
"The following call will create a circuit defined by the input QASM string:"
"Optimizers will have a function `optimize_circuit()` that can be used to perform this optimization. Here is a simple example that removes moments that are empty:"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: change moments that are empty to empty moments

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@dstrain115 dstrain115 merged commit 110dd4a into quantumlib:master Apr 15, 2020
tanujkhattar pushed a commit to tanujkhattar/Cirq that referenced this pull request Apr 20, 2020
* Add interop docs and optimizers

- Move QASM from circuits doc to a new interop page
- Add JSON and quirk functionality to interop page
- Add a section on optimizers to circuits page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants