Update QVM demo notebooks to use willow_pink#7428
Update QVM demo notebooks to use willow_pink#7428pavoljuhas merged 12 commits intoquantumlib:mainfrom
Conversation
And pick a qubit that is in all defined processors.
- drop demo for invalid cirq.H gate on Weber (H is accepted) - address deprecation of `importlib.resources.read_text`
|
NB: can be also reviewed per-commit. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7428 +/- ##
==========================================
- Coverage 98.69% 98.69% -0.01%
==========================================
Files 1112 1112
Lines 97993 97993
==========================================
- Hits 96714 96711 -3
- Misses 1279 1282 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| "\n", | ||
| "processor_id = \"rainbow\" # or \"weber\"\n", | ||
| "# See cirq_google.engine.list_virtual_processors() for available processor names\n", | ||
| "processor_id = \"rainbow\" # or \"weber\" or \"willow_pink\"\n", |
There was a problem hiding this comment.
Let's make "willow_pink" the default and maybe not even mention the others since they are very old and don't represent current performance.
There was a problem hiding this comment.
Done in 832175f.
I have reviewed other notebooks for their processor choice. The ones that run QVM simulations now all default to "willow_pink". I have left the old default processors in qubit_picking.ipynb where the low noise performance is not critical for the demonstrated function and the heatmap plots would become too dense for willow. I have also left the old default "weber" processor in virtual_engine_interface.ipynb which primarily demos interaction with Quantum Engine (processor choice, time reservation) and uses noise-free simulated processors.
I feel removing old processors might degrade some of the notebooks, for example, the virtual_engine_interface would end up having a choice of one processor instead of three.
eliottrosenberg
left a comment
There was a problem hiding this comment.
Slight preference to remove all of the references to Rainbow and Weber but it's okay if you don't want to.
The following quantum virtual machine notebooks were updated to use the new `willow_pink` processor by default: - quantum_virtual_machine.ipynb - qvm_basic_example.ipynb - qvm_builder_code.ipynb - qvm_stabilizer_example.ipynb Small fixups in other reviewed notebooks. Related to b/395705720
The following quantum virtual machine notebooks were updated to use
the new
willow_pinkprocessor by default:Small fixups in other reviewed notebooks.
Related to b/395705720