Skip to content

Commit

Permalink
update qiskit to 0.43.0 (#113)
Browse files Browse the repository at this point in the history
* update qiskit to 0.43.0

* Update setup.py

* Update changelog.rst

* Update docs/changelog.rst

* update qiskit, pytket and other packages

* update errormessage in testpackage

* update changelog

* add pytket update to changelog
  • Loading branch information
cqc-melf authored Jun 16, 2023
1 parent 3d966e2 commit d85aca4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _metadata.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__extension_version__ = "0.39.0"
__extension_version__ = "0.40.0rc0"
__extension_name__ = "pytket-qiskit"
8 changes: 6 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
Changelog
~~~~~~~~~

0.40.0 (unreleased)
-------------------
0.40.0rc0 (unreleased)
----------------------

* 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.
* Fix to the `tk_to_qiskit` converter to prevent cancellation of redundant gates when converting to qiskit.
* Handle qiskit circuits with :py:class:`Initialize` and :py:class:`StatePreparation` instructions in the :py:meth:`qiskit_to_tk` converter. The :py:meth:`tk_to_qiskit` converter now handles :py:class:`StatePreparationBox`.
* Fix handling of control state in `qiskit_to_tk`.
* Update qiskit version to 0.43.1
* Update qiskit-ibm-runtime version to 0.11.1
* Update qiskit-ibm-provider version to 0.6.1
* Update pytket version to 1.16

0.39.0 (May 2023)
-----------------
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
packages=find_namespace_packages(include=["pytket.*"]),
include_package_data=True,
install_requires=[
"pytket ~= 1.15",
"qiskit ~= 0.42.1",
"qiskit-ibm-runtime ~= 0.9.2",
"pytket ~= 1.16",
"qiskit ~= 0.43.1",
"qiskit-ibm-runtime ~= 0.11.1",
"qiskit-aer ~= 0.12.0",
"qiskit-ibm-provider ~= 0.5.0",
"qiskit-ibm-provider ~= 0.6.1",
"numpy",
],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion tests/qiskit_backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def is_good_state(bitstr: Any) -> bool:
# (tested with qiskit 0.39.1)
with pytest.raises(TranspilerError) as e:
result = grover.amplify(problem)
err_msg = "Unable to map"
err_msg = "Unable to translate"
assert err_msg in str(e.value)

# By providing an Unroller pass, the QuantumInstance will rebase the Grover op into
Expand Down

0 comments on commit d85aca4

Please sign in to comment.