Skip to content

Commit

Permalink
update 0.4.2 release note && apply Qiskit 0.45.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
minwook-shin committed Nov 13, 2023
1 parent 2af9098 commit ce71939
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# CHANGELOG.md

## 0.4.2 (2023-11-13)

This is Qiskit patch release, updating the qiskit and qiskit-aer Package.

Qiskit Dependencies:

- Bump qiskit from 0.44.2 to 0.45.0
- all unparametrized gates in the Qiskit standard circuit library are now singletons.
- qiskit.extensions will be fully deprecated in a future release, moved to the circuit library.
- Bump qiskit-aer from 0.12.2 to 0.13.0

Other Dependencies:

- Bump ipython from 8.16.1 to 8.17.2
- Bump notebook from 7.0.4 to 7.0.6
- Bump numpy from 1.26.0 to 1.26.1
- Bump pylint from 3.0.1 to 3.0.2


## 0.4.1 (2023-10-12)

This is small patch release, updating only the Qiskit Package.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude = ['qiskit_class_converter*tests']

[project]
name = "qiskit-classroom-converter"
version = "0.4.1"
version = "0.4.2"
authors = [
{ name = "KMU-quantum-classroom" },
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def actual_convert_action(self):
self.logger.debug("matrix to quantum circuit")
# type validate
if isinstance(self.input_value, (List, np.ndarray)):
gate = self.qiskit.extensions.UnitaryGate(self.input_value)
gate = self.qiskit.circuit.library.UnitaryGate(self.input_value).to_mutable()
else:
raise TypeError("List or np.ndarray is required.")
# parse by unitary circuit. can't describe what circuit is.
Expand Down

0 comments on commit ce71939

Please sign in to comment.