question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`get_qcs_objects_for_notebook` needs cleanup and bugfixes

See original GitHub issue

Description of the issue get_qcs_objects_for_notebook was added in #4286 and is super useful to abstract out the authentication logic for accessing QCS. However, I think there are a few rough edges – from a user perspective, I haven’t dug into the technical details yet.

  1. In the getting started with QCS tutorial, the object is used for authentication and verification that the authentication went through (device_sampler.is_signed_in) but after that, there’s no usage of the device_sampler object. This doesn’t look like the intended usage of an object specifically has a device and sampler objects ?
  2. It looks like sqrt_iswap gateset string is hardcoded deep inside the get_qcs_objects_for_notebook method. This also looks like a bug and something that shouldn’t be intended? https://github.com/quantumlib/Cirq/blob/6562a0521ffda79c8f140774ce292cace346301b/cirq-google/cirq_google/engine/qcs_notebook.py#L119

Cirq version 0.13.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dstrain115commented, Jul 14, 2022

I’m taking this on in #5759

1reaction
maffoocommented, Apr 12, 2022

I think we can address some of the shortcomings of get_qcs_objects_for_notebook in #5240. @verult, should I assign this issue to you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wasm jiterpreter cleanup and bug fixes pt. 4 #79324 - GitHub
Wasm jiterpreter cleanup and bug fixes pt. 4 #79324. Draft. kg wants to merge 1 commit into dotnet:main. base: main. Choose a base...
Read more >
When and why to clean up your code: now, later, never
Miscellaneous Cleanups of anything else, from coding standard violations to awkward idioms. ... You need to get a bug fix to users ASAP....
Read more >
NEWS
CLEANUP : Removed some internal functions from the help index. Version 0.7.3 (2011-06-25). Miscellaneous. ROBUSTNESS: Updated package dependencies. Bug Fixes.
Read more >
Clean Up Your Bug Tracker and Keep Numbers Manageable
A good team likely is trained to consistently report defects as accurately and promptly as possible. This means that over time the bug ......
Read more >
LightBurn 0.9.19 patch release - A couple bug fixes, mostly ...
... 0.9.19 patch release - A couple bug fixes, mostly small cleanup. by LightBurn Software November 21, 2020. The first changes in this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found