Skip to content

Commit

Permalink
Remove experimental warning and enable -W (#1468)
Browse files Browse the repository at this point in the history
* remove warning

* release note
  • Loading branch information
jyu00 committed Mar 5, 2024
1 parent e3fa6df commit d561483
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 0 additions & 2 deletions qiskit_ibm_runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,3 @@
"""The environment variable name that is used to set the level for the IBM Quantum logger."""
QISKIT_IBM_RUNTIME_LOG_FILE = "QISKIT_IBM_RUNTIME_LOG_FILE"
"""The environment variable name that is used to set the file for the IBM Quantum logger."""

warnings.warn("You are using the experimental-0.2 branch. Stability is not guaranteed.")
14 changes: 14 additions & 0 deletions releasenotes/notes/v2-primitives-ada671f4df7caa39.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
features:
- |
This release add a version 2 of the primitives -
:class:`~qiskit_ibm_runtime.SamplerV2` and
:class:`~qiskit_ibm_runtime.EstimatorV2`.
The emphasis of this new version is on performing vectorized calls to the
primitive ``run()`` methods, so that sweeps over parameter value sets and
observables can be efficiently specified. The sampler has also been
changed to return the outputs (e.g. bitstrings) from every shot,
rather than providing a counts-like return.
See the
`Migration Guide <https://docs.quantum.ibm.com/api/migration-guides/v2-primitives>`_
for more details on the changes and migration steps.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ envdir = .tox/docs
deps =
-r requirements-dev.txt
commands =
sphinx-build -j auto -b html {posargs} {toxinidir}/docs {toxinidir}/docs/_build/html
sphinx-build -j auto -W -b html {posargs} {toxinidir}/docs {toxinidir}/docs/_build/html

[testenv:docs-clean]
skip_install = true
Expand Down

0 comments on commit d561483

Please sign in to comment.