Skip to content

Commit 1110d9e

Browse files
authored
update changelog and add provider check (#121)
1 parent faf2f11 commit 1110d9e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

_metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__extension_version__ = "0.40.0rc0"
1+
__extension_version__ = "0.40.0rc1"
22
__extension_name__ = "pytket-qiskit"

docs/changelog.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
~~~~~~~~~
33

4-
0.40.0rc0 (unreleased)
4+
0.40.0rc1 (unreleased)
55
----------------------
66

77
* IBM devices are now accessed using the `qiskit-ibm-provider <https://github.com/Qiskit/qiskit-ibm-provider>`_ instead of the deprecated :py:class:`IBMQ`. This allows the newest IBM devices and simulators to be accessed through the pytket-qiskit extension.

pytket/extensions/qiskit/backends/ibm.py

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def _save_ibmq_auth(qiskit_config: Optional[QiskitConfig]) -> None:
127127
try:
128128
if token is not None:
129129
IBMProvider.save_account(token, overwrite=True)
130+
IBMProvider()
130131
else:
131132
IBMProvider()
132133
except:

0 commit comments

Comments
 (0)