Skip to content

Commit

Permalink
Python interface backward compatability (#436)
Browse files Browse the repository at this point in the history
* Relaxed version requirements in serialisation and for Python interface

* Removed unnecessary default implementation

* Actual release

* cargo update

* Dependencies update
  • Loading branch information
nfwvogt authored Jan 9, 2023
1 parent ee809dd commit b2c3c82
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 33 deletions.
12 changes: 3 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@

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

## 1.2.0-alpha.3
## 1.2.0

* Activated circuitdag feature by default
* Modified serialization roqoqo version to use lowest compatible version
* Relaxed compatibility check for Python arguments to allow backward compatibility

## 1.2.0-alpha.2

* Relaxed compatability check for Python arguments to allow backward compatability
* Added CircuitDag documentation
* Added PhaseShiftedControlledPhase to qoqo
* Updated dependencies

## 1.2.0-alpha.1

* Preparing for 1.2.0 and updated nalgebra to 0.31
* Updated nalgebra to 0.31

## 1.1.0

Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions compatibility_test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compatibility_test"
version = "1.2.0-alpha.3"
version = "1.2.0"
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.2.0-alpha.3", path="../roqoqo", features=["serialize", "overrotate"]}
roqoqo = {version="1.2.0", path="../roqoqo", features=["serialize", "overrotate"]}
bincode = {version="1.3"}

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion qoqo-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qoqo-macros"
version = "1.2.0-alpha.3"
version = "1.2.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand Down
6 changes: 3 additions & 3 deletions qoqo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qoqo"
version = "1.2.0-alpha.3"
version = "1.2.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
homepage = "https://github.com/HQSquantumsimulations/qoqo"
Expand Down Expand Up @@ -32,8 +32,8 @@ num-complex = "0.4"
thiserror = "1.0"
qoqo_calculator = { version="1.1" }
qoqo_calculator_pyo3 = {version="1.1", default-features=false}
qoqo-macros = {version="1.2.0-alpha.3", path="../qoqo-macros"}
roqoqo = {version="1.2.0-alpha.3", path="../roqoqo", features=["serialize", "overrotate"]}
qoqo-macros = {version="1.2.0", path="../qoqo-macros"}
roqoqo = {version="1.2.0", path="../roqoqo", features=["serialize", "overrotate"]}
numpy = "0.17"
bincode = "1.3"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion qoqo/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "qoqo"
version = "1.2.0-alpha.3"
version = "1.2.0"
dependencies = [
'numpy',
'qoqo_calculator_pyo3>=1.1',
Expand Down
10 changes: 5 additions & 5 deletions qoqo/qoqo/DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -8773,7 +8773,7 @@ LICENSE:


====================================================
qoqo 1.2.0-alpha.3
qoqo 1.2.0
https://github.com/HQSquantumsimulations/qoqo
by HQS Quantum Simulations <[email protected]>
Quantum computing circuit toolkit. Python interface of roqoqo
Expand Down Expand Up @@ -8985,7 +8985,7 @@ LICENSE:


====================================================
qoqo-macros 1.2.0-alpha.3
qoqo-macros 1.2.0
by HQS Quantum Simulations <[email protected]>
Macros for the qoqo crate
License: Apache-2.0
Expand Down Expand Up @@ -11055,7 +11055,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


====================================================
roqoqo 1.2.0-alpha.3
roqoqo 1.2.0
https://github.com/HQSquantumsimulations/qoqo
by HQS Quantum Simulations <[email protected]>
Rust Quantum Computing Toolkit by HQS
Expand Down Expand Up @@ -11267,7 +11267,7 @@ LICENSE:


====================================================
roqoqo-derive 1.2.0-alpha.3
roqoqo-derive 1.2.0
by HQS Quantum Simulations <[email protected]>
Macros for the roqoqo crate
License: Apache-2.0
Expand Down Expand Up @@ -11478,7 +11478,7 @@ LICENSE:


====================================================
roqoqo-test 1.2.0-alpha.3
roqoqo-test 1.2.0
https://github.com/HQSquantumsimulations/qoqo
by HQS Quantum Simulations <[email protected]>
Testing helper functions for roqoqo toolkit
Expand Down
2 changes: 1 addition & 1 deletion roqoqo-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roqoqo-derive"
version = "1.2.0-alpha.3"
version = "1.2.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions roqoqo-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roqoqo-test"
version = "1.2.0-alpha.3"
version = "1.2.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand All @@ -19,7 +19,7 @@ crate-type = ["rlib"]

[dependencies]
qoqo_calculator = { version="1.1" }
roqoqo = {version="1.2.0-alpha.3", path="../roqoqo", features=["serialize"]}
roqoqo = {version="1.2.0", path="../roqoqo", features=["serialize"]}
rand = "0.8"
nalgebra = "0.31"
ndarray = { version = "0.15" }
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roqoqo"
version = "1.2.0-alpha.3"
version = "1.2.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
Expand Down Expand Up @@ -28,7 +28,7 @@ num-complex = { version = "0.4"}
thiserror = "1.0"
dyn-clone = {version="1.0", optional=true}
qoqo_calculator = { version="1.1"}
roqoqo-derive = {version="1.2.0-alpha.3", path="../roqoqo-derive"}
roqoqo-derive = {version="1.2.0", path="../roqoqo-derive"}
typetag = {version="0.2", optional=true}
nalgebra = "0.31"
# schemars = { version="0.8", features = ["num-complex", "ndarray"], optional=true }
Expand Down

0 comments on commit b2c3c82

Please sign in to comment.