Skip to content

Commit

Permalink
Pyo3 0.22 (#607)
Browse files Browse the repository at this point in the history
* Using both struqture 1.0 and 2.0 in noise models

* Removed struqture two dep

* 1.11 Dependencies Bugfix (#559)

* clippy

* new cargos

* pyproject corr

* clippy

* lock + dependencies

* compat test cargos

* CHANGELOG

* test correction

* dead_code

* rand better pin

* roq dep compatibility tests

* CHANGELOG

* fmt (#560)

* Updated path

* Fixing issues

* Removed non-pipeline test

* Updated cimpatibility test struqture dep to 1.9

* Added compatibility test for 1.14

* trying to fix new compatibility test

* Fixing struqture import for test

* Fixing typo

* Commenting out test for now

* Increased version

* Updated deps and changelog

* Updated version of compatibility tests

* Added overwritten compatibility test file

* Increased version due to typo

* Updated version and pinned clap version

* Removed clap dependency

* Fixing tests and pyo3 0.22

* Fix clippy warning

* compatibility tests

* Re-ran doc_generator and fixed it

* Fixing unstable_chain_with_environment features

* Fixed unstable_analog_operations feature

* Fixing unstable_operation_definition feature

* Added overrotate feature to cargo.toml (already existed, oversight)

* Uncommented feature

* Changed where the reference is made

* Ran black to reformat .pyi files

---------

Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Dimitri Berthault <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 885bdcd commit 132098b
Show file tree
Hide file tree
Showing 60 changed files with 9,495 additions and 10,248 deletions.
4 changes: 4 additions & 0 deletions .compatibility_tests/compatibility_test_1_14/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
bincode = { version = "1.3" }
ndarray = "0.15"
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[patch.crates-io]
struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[dev-dependencies]
test-case = "3.0"
4 changes: 4 additions & 0 deletions .compatibility_tests/compatibility_test_1_15/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
bincode = { version = "1.3" }
ndarray = "0.15"
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[patch.crates-io]
struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[dev-dependencies]
test-case = "3.0"
4 changes: 4 additions & 0 deletions .compatibility_tests/compatibility_test_1_16/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
bincode = { version = "1.3" }
ndarray = "0.15"
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[patch.crates-io]
struqture = { git = "https://github.com/HQSquantumsimulations/struqture" }
struqture_1_7 = { git = "https://github.com/HQSquantumsimulations/struqture", package = "struqture", tag = "v1.7.1" }
qoqo_calculator = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator" }
qoqo_calculator_1_2 = { git = "https://github.com/HQSquantumsimulations/qoqo_calculator", package = "qoqo_calculator", tag = "v1.2.4" }

[dev-dependencies]
test-case = "3.0"
2 changes: 1 addition & 1 deletion .compatibility_tests/compatibility_test_sim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ publish = false
test_roqoqo_1_2 = { package = "roqoqo", features = [
"serialize",
], version = "=1.2.5" }
qoqo_calculator = { version = "~1.2" }
qoqo_calculator = { version = "~1.3" }
roqoqo = { version = "~1.17", path = "../../roqoqo", features = [
"serialize",
"overrotate",
Expand Down
Loading

0 comments on commit 132098b

Please sign in to comment.