Skip to content

Commit

Permalink
Update twirling docstring (#1722)
Browse files Browse the repository at this point in the history
* update doc

* add release note
  • Loading branch information
jyu00 committed Jun 3, 2024
1 parent a0ddf9b commit 9927e29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qiskit_ibm_runtime/options/twirling_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class TwirlingOptions:
enable_gates: Whether to apply 2-qubit gate twirling. Default: False.
enable_measure: Whether to enable twirling of measurements. Twirling will only be applied to
those measurement registers not involved within a conditional logic. Default: True.
those measurement registers not involved within a conditional logic.
Default: True for Estimator, false for Sampler.
num_randomizations: The number of random samples to use when twirling or
peforming sampled mitigation. If "auto", the value will be chosen automatically
Expand Down
1 change: 1 addition & 0 deletions release-notes/unreleased/1722.bug.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed measurement twirling docstring which incorrectly indicated it's enabled by default for Sampler.

0 comments on commit 9927e29

Please sign in to comment.