From d5b35d26f231f2a23fe46a0e919f52d512303e9d Mon Sep 17 00:00:00 2001 From: cqc-melf <70640934+cqc-melf@users.noreply.github.com> Date: Fri, 7 Jul 2023 11:40:50 +0100 Subject: [PATCH 1/2] add section about values in variables (#145) * add section about values in variables * fix typo * update sentence * Update intro.txt --- docs/intro.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/intro.txt b/docs/intro.txt index e0c70596..b256d0f5 100644 --- a/docs/intro.txt +++ b/docs/intro.txt @@ -24,6 +24,7 @@ An example using the shots-based :py:class:`AerBackend` simulator is shown below :: from pytket.extensions.qiskit import AerBackend + from pytket import Circuit backend = AerBackend() circ = Circuit(2).H(0).CX(0, 1).measure_all() @@ -54,7 +55,17 @@ With the exception of the Aer simulators, accessing devices and simulators throu Once you have created an account you can obtain an API token which you can use to configure your credentials locally. -.. note:: The documentation below is correct as of pytket-qiskit version 0.40.0. In the 0.40.0 release pytket-qiskit moved to using the `qiskit-ibm-provider `_. In pytket-qiskit versions 0.39.0 and older the parameters ``hub``, ``group`` and ``project`` were handled separately instead of a single ``instance`` string as in 0.40.0 and newer. +In this section we are assuming that you have set the following variables with the corresponding values: + +:: + + # Replace the placeholders with your actual values + ibm_token = '' + hub = '' + group = '' + project = '' + +.. note:: The documentation below is correct as of pytket-qiskit version 0.40.0 and newer. In the 0.40.0 release pytket-qiskit moved to using the `qiskit-ibm-provider `_. In pytket-qiskit versions 0.39.0 and older the parameters ``hub``, ``group`` and ``project`` were handled separately instead of a single ``instance`` string as in 0.40.0 and newer. :: From b8422542ee491743f1072cd3ec3e490484c57b2d Mon Sep 17 00:00:00 2001 From: Melf Date: Tue, 8 Aug 2023 14:48:40 +0100 Subject: [PATCH 2/2] update version, changelog and pytket --- _metadata.py | 2 +- docs/changelog.rst | 5 +++++ setup.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_metadata.py b/_metadata.py index 752db6dc..b221545a 100644 --- a/_metadata.py +++ b/_metadata.py @@ -1,2 +1,2 @@ -__extension_version__ = "0.41.0" +__extension_version__ = "0.42.0" __extension_name__ = "pytket-qiskit" diff --git a/docs/changelog.rst b/docs/changelog.rst index 2c5f5e6c..3310889c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,11 @@ Changelog ~~~~~~~~~ +0.42.0 (August 2023) +-------------------- + +* Update pytket version requirement to 1.18. + 0.41.0 (July 2023) ------------------ diff --git a/setup.py b/setup.py index 18bd84fa..beadb078 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ packages=find_namespace_packages(include=["pytket.*"]), include_package_data=True, install_requires=[ - "pytket ~= 1.17", + "pytket ~= 1.18", "qiskit ~= 0.43.1", "qiskit-ibm-runtime ~= 0.11.1", "qiskit-aer ~= 0.12.0",