Skip to content

Commit

Permalink
Add info about APIVariant.V1/V2 to user guide (#146)
Browse files Browse the repository at this point in the history
* Add info about APIVariant.V1/V2 to user guide
  • Loading branch information
freetonik authored Feb 20, 2025
1 parent 2f578fe commit 37c91df
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

Version 17.1
============

* Small note about IQM Client's API deprecation warning added to the user guide.
`#146 <https://github.com/iqm-finland/qiskit-on-iqm/pull/146>`_

Version 17.0
============

Expand Down
8 changes: 8 additions & 0 deletions docs/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ circuit(s) are sampled:
`Inspecting circuits before submitting them for execution`_ for inspecting the actual run request sent for
execution.

.. note::

IQM Client is transitioning from server-side API ``APIVariant.V1`` to a new ``APIVariant.V2``.
You may see a deprecation warning in the terminal. You can ignore it; when ``V2`` becomes the default,
Qiskit-on-IQM will transparently start using it. Alternatively, you can set an environment variable
``IQM_CLIENT_API_VARIANT`` to value ``APIVariant.V2``. The choice of the API version does not affect the use
of Qiskit-on-IQM.

You can optionally provide IQMBackend specific options as additional keyword arguments to
:meth:`.IQMBackend.run`, documented at :meth:`.IQMBackend.create_run_request`.
For example, you can enable heralding measurements using ``circuit_compilation_options`` as follows:
Expand Down

0 comments on commit 37c91df

Please sign in to comment.