Skip to content

Commit

Permalink
Update defaults for max overhead and layers to learn (#1535)
Browse files Browse the repository at this point in the history
* update defaults

* fix docstring
  • Loading branch information
jyu00 authored Mar 19, 2024
1 parent dc294e2 commit 5625e98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/options/layer_noise_learning_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class LayerNoiseLearningOptions:
If there are more unique layers present, then some layers will not be learned or
mitigated. The learned layers are prioritized based on the number of times they
occur in a set of run estimator PUBs, and for equally occurring layers are
further sorted by the number of two-qubit gates in the layer.
further sorted by the number of two-qubit gates in the layer. Default: 4.
shots_per_randomization: The total number of shots to use per random learning circuit.
A learning circuit is a random circuit at a specific learning depth with a specific
Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/options/pec_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PecOptions:
Args:
max_overhead: The maximum circuit sampling overhead allowed, or
``None`` for no maximum.
``None`` for no maximum. Default: 100.
noise_gain: The amount by which to scale the noise, where:
Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
raise NotImplementedError("SamplerV2 is not supported with q-ctrl channel strategy.")

def run(self, pubs: Iterable[SamplerPubLike], *, shots: int | None = None) -> RuntimeJobV2:
"""Submit a request to the estimator primitive.
"""Submit a request to the sampler primitive.
Args:
pubs: An iterable of pub-like objects. For example, a list of circuits
Expand Down

0 comments on commit 5625e98

Please sign in to comment.