Skip to content

Commit

Permalink
Applied bugfix and update to pyo3 0.19 (#518)
Browse files Browse the repository at this point in the history
* Applied bugfix and update to pyo3 0.19

* new tests

* additional supported version check

* missing test case

---------

Co-authored-by: mlodi-hqs <[email protected]>
  • Loading branch information
nfwvogt and mlodi-hqs authored Jul 11, 2023
1 parent 7fa9519 commit b27a90e
Show file tree
Hide file tree
Showing 22 changed files with 212 additions and 170 deletions.
4 changes: 2 additions & 2 deletions .compatibility_tests/compatibility_test_1_0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compatibility_test_1_0"
version ="1.5.0"
version ="1.5.1"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand All @@ -22,7 +22,7 @@ publish = false
test_roqoqo_1_0 = {package = "roqoqo", version="=1.0.0"}
test_roqoqo_derive_1_0 = {package = "roqoqo-derive", version="=1.0.0"}
qoqo_calculator = { version="1.1" }
roqoqo = {version="1.5.0", path="../../roqoqo", features=["serialize", "overrotate"]}
roqoqo = {version="1.5.1", path="../../roqoqo", features=["serialize", "overrotate"]}
bincode = {version="1.3"}
ndarray = "0.15"

Expand Down
4 changes: 2 additions & 2 deletions .compatibility_tests/compatibility_test_1_2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compatibility_test_1_2"
version ="1.5.0"
version ="1.5.1"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand All @@ -22,7 +22,7 @@ publish = false
test_roqoqo_1_2 = {package = "roqoqo", version="=1.2.5"}
test_roqoqo_derive_1_2 = {package = "roqoqo-derive", version="=1.2.5"}
qoqo_calculator = { version="1.1" }
roqoqo = {version="1.5.0", path="../../roqoqo", features=["serialize", "overrotate"]}
roqoqo = {version="1.5.1", path="../../roqoqo", features=["serialize", "overrotate"]}
bincode = {version="1.3"}
ndarray = "0.15"

Expand Down
4 changes: 2 additions & 2 deletions .compatibility_tests/compatibility_test_1_3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compatibility_test_1_3"
version ="1.5.0"
version ="1.5.1"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand All @@ -22,7 +22,7 @@ publish = false
test_roqoqo_1_3 = {package = "roqoqo", version="=1.3.2"}
test_roqoqo_derive_1_3 = {package = "roqoqo-derive", version="=1.3.2"}
qoqo_calculator = { version="1.1" }
roqoqo = {version="1.5.0", path="../../roqoqo", features=["serialize", "overrotate"]}
roqoqo = {version="1.5.1", path="../../roqoqo", features=["serialize", "overrotate"]}
bincode = {version="1.3"}
ndarray = "0.15"

Expand Down
4 changes: 2 additions & 2 deletions .compatibility_tests/compatibility_test_1_4/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compatibility_test_1_4"
version ="1.5.0"
version ="1.5.1"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand All @@ -22,7 +22,7 @@ publish = false
test_roqoqo_1_4 = {package = "roqoqo", version="=1.4.0"}
test_roqoqo_derive_1_4 = {package = "roqoqo-derive", version="=1.4.0"}
qoqo_calculator = { version="1.1" }
roqoqo = {version="1.5.0", path="../../roqoqo", features=["serialize", "overrotate"]}
roqoqo = {version="1.5.1", path="../../roqoqo", features=["serialize", "overrotate"]}
bincode = {version="1.3"}
ndarray = "0.15"

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This changelog track changes to the qoqo project starting at version v0.5.0

## 1.5.1

### Fixed in 1.5.1

* Fixed wrong minimum required roqoqo version when serializing circuits with some operations from versions 1.3, 1.4. and 1.5.

### Updated in 1.5.1

* pyo3 updated to 0.19

## 1.5.0

### Added in 1.5.0
Expand Down
Loading

0 comments on commit b27a90e

Please sign in to comment.