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

Remove workarounds for passing run options to sampler (backport #1498) #1500

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 10, 2024

This runtime patching code was added along with the initial support for sampler execution because the path through
qiskit_ibm_runtime.SamplerV2 through to BackendSamplerV2 did not carry through options for level 1 measurements or noise models. This path is used in the tests (while execution on physical backends with SamplerV2 does not use this path). Now with Qiskit 1.3 and qiskit-ibm-runtime 0.34, this patching is no longer needed. Remaining warnings filtering was moved to the calibrations tutorial where it was needed.


This is an automatic backport of pull request #1498 done by Mergify.

This runtime patching code was added along with the initial support for
sampler execution because the path through
`qiskit_ibm_runtime.SamplerV2` through to `BackendSamplerV2` did not
carry through options for level 1 measurements or noise models. This
path is used in the tests (while execution on physical backends with
`SamplerV2` does not use this path). Now with Qiskit 1.3 and
qiskit-ibm-runtime 0.34, this patching is no longer needed. Remaining
warnings filtering was moved to the calibrations tutorial where it was
needed.

---------

Co-authored-by: Yael Ben-Haim <[email protected]>
(cherry picked from commit 9bf2848)
@wshanks wshanks merged commit 4f32245 into stable/0.8 Dec 10, 2024
11 checks passed
@wshanks wshanks deleted the mergify/bp/stable/0.8/pr-1498 branch December 10, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant