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

Add information on how to turn off error mitigation / suppression #1453

Closed
jyu00 opened this issue May 29, 2024 · 1 comment · Fixed by #1499 or #1723
Closed

Add information on how to turn off error mitigation / suppression #1453

jyu00 opened this issue May 29, 2024 · 1 comment · Fixed by #1499 or #1723
Assignees
Labels
content request request for new content to be added new ✨

Comments

@jyu00
Copy link
Collaborator

jyu00 commented May 29, 2024

URL, if applicable

https://docs.quantum.ibm.com/run/configure-error-mitigation

Describe the new content you are requesting.

Many researchers want total control over their experiments and don't want the primitives to transform their circuits. For EstimatorV2, one can just set resilience_level=0 and optimization_level=0. It is however not obvious how to do this for SamplerV2, since there is no resilience_level in SamplerV2.

We should have a few words in the docs on how to accomplish this. For SamplerV2, measurement twirling is enabled by default. So one needs to set options.twirling.enable_measure = False.

These defaults can change in the future, so we should decide whether to show code to turn them all off now, or update the docs if/when defaults change.

My first thought was to add this to the error mitigation page... but this applies to both error mitigation and suppression. Perhaps we can repurpose the compilation page to error suppression, since our compilation is just error suppression now (i.e. no layout and routing).

If this new content request is accepted, do you want to write the content?

I can help the team by providing enough information to write the material

@beckykd
Copy link
Collaborator

beckykd commented May 29, 2024

I like the idea of repurposing the compilation page for error mitigation, but we'll need signoff from @javabster on that. But as a temporary fix, I can add some words about disabling it.

github-merge-queue bot pushed a commit that referenced this issue Jun 4, 2024
partially address #1453

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
@javabster javabster linked a pull request Jun 6, 2024 that will close this issue
@beckykd beckykd moved this to In Review in Docs Planning Jul 11, 2024
github-merge-queue bot pushed a commit that referenced this issue Jul 16, 2024
Closes #1416 
Closes #1453 
Closes #1247
Closes #1529 

Comment from Blake: the discoverability of the detailed Sampler and
Estimator options is very poor. i.e. a user can only find these by
navigating the Qiskit Runtime IBM Client API docs. Can we add links to
[SamplerOptions](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.options.SamplerOptions)
and
[EstimatorOptions](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.options.EstimatorOptions)
to the [Get started with
primitives](https://docs.quantum.ibm.com/guides/get-started-with-primitives)
page?

---------

Co-authored-by: Arnau Casau <arnaucasau@gmail.com>
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
frankharkins pushed a commit to frankharkins/documentation that referenced this issue Jul 22, 2024
partially address Qiskit#1453

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
frankharkins pushed a commit to frankharkins/documentation that referenced this issue Jul 22, 2024
Closes Qiskit#1416 
Closes Qiskit#1453 
Closes Qiskit#1247
Closes Qiskit#1529 

Comment from Blake: the discoverability of the detailed Sampler and
Estimator options is very poor. i.e. a user can only find these by
navigating the Qiskit Runtime IBM Client API docs. Can we add links to
[SamplerOptions](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.options.SamplerOptions)
and
[EstimatorOptions](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.options.EstimatorOptions)
to the [Get started with
primitives](https://docs.quantum.ibm.com/guides/get-started-with-primitives)
page?

---------

Co-authored-by: Arnau Casau <arnaucasau@gmail.com>
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
github-merge-queue bot pushed a commit that referenced this issue Jul 31, 2024
Closes #1416
Closes #1453
Closes #1247
Closes #1529

This reverts commit 5f45f0f.

Accidentally closed #1499

---------

Co-authored-by: Arnau Casau <arnaucasau@gmail.com>
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Co-authored-by: Rebecca Dimock <beckyd@us.ibm.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: abbycross <across@us.ibm.com>
@github-project-automation github-project-automation bot moved this from In Review to Done in Docs Planning Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content request request for new content to be added new ✨
Projects
Archived in project
4 participants