Skip to content

Commit

Permalink
Using both struqture 1.0 and 2.0 in noise models (#551)
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

---------

Co-authored-by: Matteo Lodi <[email protected]>
  • Loading branch information
kbarkhqs and mlodi-hqs authored Jul 24, 2024
1 parent 1dbc66c commit f695295
Show file tree
Hide file tree
Showing 13 changed files with 5,309 additions and 4,528 deletions.
2 changes: 1 addition & 1 deletion .compatibility_tests/compatibility_test_1_11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ roqoqo = { version = "~1.15", path = "../../roqoqo", features = [
"serialize",
"overrotate",
] }
struqture = { version = "~1.8" }
struqture = { version = "~1.9" }
bincode = { version = "1.3" }
ndarray = "0.15"

Expand Down
2 changes: 1 addition & 1 deletion .compatibility_tests/compatibility_test_1_12/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ roqoqo = { version = "~1.15", path = "../../roqoqo", features = [
"serialize",
"overrotate",
] }
struqture = { version = "~1.8" }
struqture = { version = "~1.9" }
bincode = { version = "1.3" }
ndarray = "0.15"

Expand Down
2 changes: 1 addition & 1 deletion .compatibility_tests/compatibility_test_1_13/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ roqoqo = { version = "~1.15", path = "../../roqoqo", features = [
"serialize",
"overrotate",
] }
struqture = { version = "~1.8" }
struqture = { version = "~1.9" }
bincode = { version = "1.3" }
ndarray = "0.15"

Expand Down
3 changes: 2 additions & 1 deletion .compatibility_tests/compatibility_test_1_14/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ publish = false
[dependencies]
test_roqoqo_1_14 = { package = "roqoqo", version = "=1.14.0" }
test_roqoqo_derive_1_14 = { package = "roqoqo-derive", version = "=1.14.0" }
test_struqture_1_14 = { package = "struqture", version = "=1.7.1" }
qoqo_calculator = { version = "~1.2" }
roqoqo = { version = "~1.15", path = "../../roqoqo", features = [
"serialize",
"overrotate",
] }
struqture = { version = "~1.8" }
struqture = { version = "1.9" }
bincode = { version = "1.3" }
ndarray = "0.15"

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/compatibility_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,21 @@ jobs:
cd ./.compatibility_tests/compatibility_test_1_13/
cargo test
# unittests_check_compatibility_1_14:
# name: unittests_check-compatibility-1-14
# runs-on: "ubuntu-latest"
# steps:
# - uses: actions/checkout@v3
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# default: true
# - uses: Swatinem/rust-cache@v2
# - run: |
# cd ./.compatibility_tests/compatibility_test_1_14/
# cargo test

unittests_check_circuit_decompositions:
name: unittests_check_circuit_decompositions
runs-on: "ubuntu-latest"
Expand Down
125 changes: 80 additions & 45 deletions Cargo.lock

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

Loading

0 comments on commit f695295

Please sign in to comment.