Skip to content

Add missing import cirq #4387

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

Merged
merged 3 commits into from
Aug 6, 2021
Merged

Add missing import cirq #4387

merged 3 commits into from
Aug 6, 2021

Conversation

MarkDaoust
Copy link
Contributor

@MarkDaoust MarkDaoust commented Aug 6, 2021

Fix notebook, this is failing in the site import pipeline.

@MarkDaoust MarkDaoust requested review from cduck, vtomole and a team as code owners August 6, 2021 11:43
@MarkDaoust MarkDaoust requested a review from tanujkhattar August 6, 2021 11:43
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Aug 6, 2021
vtomole
vtomole previously requested changes Aug 6, 2021
Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

Hey @MarkDaoust, you've added import cirq under an ImportError exception; which means the exception will be raised again except this time it won't be caught.

Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

Opps, I now see that it is installed after the import error.

@vtomole vtomole dismissed their stale review August 6, 2021 14:33

Cirq is being imported

Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

One nit: could you move the second import statement down in order to be more consistent with other notebooks like https://github.com/quantumlib/Cirq/blob/master/docs/circuits.ipynb

@MarkDaoust
Copy link
Contributor Author

Done.

@vtomole
Copy link
Collaborator

vtomole commented Aug 6, 2021

Thanks!

@vtomole vtomole added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Aug 6, 2021
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Aug 6, 2021
@CirqBot CirqBot merged commit 78db102 into quantumlib:master Aug 6, 2021
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Aug 6, 2021
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Fix notebook, this is failing in the site import pipeline.
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.

3 participants