-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Deprecate QuantumEngineSampler #5371
Labels
Comments
dstrain115
added a commit
to dstrain115/Cirq-1
that referenced
this issue
Jun 2, 2022
- Deprecates this class in favor of ProcessorSampler - Moves get_engine_sampler into engine with the other utility functions - Change engine.get_sampler to only support a single processor and have it point to the processor's sampler. Fixes: quantumlib#5371
dstrain115
added a commit
that referenced
this issue
Jun 3, 2022
* Deprecate QuantumEngineSampler - Deprecates this class in favor of ProcessorSampler - Moves get_engine_sampler into engine with the other utility functions - Change engine.get_sampler to only support a single processor and have it point to the processor's sampler. - Fix calibration workflow to use ProcessorSampler Fixes: #5371
rht
pushed a commit
to rht/Cirq
that referenced
this issue
May 1, 2023
* Deprecate QuantumEngineSampler - Deprecates this class in favor of ProcessorSampler - Moves get_engine_sampler into engine with the other utility functions - Change engine.get_sampler to only support a single processor and have it point to the processor's sampler. - Fix calibration workflow to use ProcessorSampler Fixes: quantumlib#5371
This was referenced May 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After much hand-wringing on #5361, I think we all have always agreed that
QuantumEngineSampler
needs to go.ProcessorSampler
.Engine.run()
if you want to send to one of many processor idscg.get_engine_sampler()
andEngine.get_sampler()
to delegate toEngine.get_processor(processor_id).get_sampler()
cg.calibration
tools that dispatches onQuantumEngineSampler
to get an engine instance to call the run_calibrations method. Need to figure out what to do here. Likely: check ifProcessorSampler.processor.engine is not None
or get rid of this option all together.The text was updated successfully, but these errors were encountered: