-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * almost there * save before mass replace * save before mass replace * it compiles * Update qoqo to pyo3 0.21 * format test like the others * version, dependencies and changelog * toml patch * git patch * clippy * compatibility test patch * remove useless binds * from_bound_pyany * cargo clippy * use bound * toml * unstable features fix * cargo clippy * remove patches * remove useless lines * remove empty line * PR review * pr review * rm unused import * cargo update * compatibility
- Loading branch information
1 parent
ecfe6ac
commit 75641f5
Showing
84 changed files
with
6,486 additions
and
6,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "compatibility_test_1_0" | ||
version ="1.11.0" | ||
version = "1.12.0" | ||
authors = ["HQS Quantum Simulations <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
|
@@ -19,12 +19,15 @@ publish = false | |
[workspace] | ||
|
||
[dependencies] | ||
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.11.0", path="../../roqoqo", features=["serialize", "overrotate"]} | ||
bincode = {version="1.3"} | ||
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.2" } | ||
roqoqo = { version = "1.12.0", path = "../../roqoqo", features = [ | ||
"serialize", | ||
"overrotate", | ||
] } | ||
bincode = { version = "1.3" } | ||
ndarray = "0.15" | ||
|
||
[dev-dependencies] | ||
test-case = "3.0" | ||
test-case = "3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "compatibility_test_1_10" | ||
version ="1.11.0" | ||
version = "1.12.0" | ||
authors = ["HQS Quantum Simulations <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
|
@@ -19,11 +19,14 @@ publish = false | |
[workspace] | ||
|
||
[dependencies] | ||
test_roqoqo_1_10 = {package = "roqoqo", version="=1.10.0"} | ||
test_roqoqo_derive_1_10 = {package = "roqoqo-derive", version="=1.10.0"} | ||
qoqo_calculator = { version="1.1" } | ||
roqoqo = {version="1.11.0", path="../../roqoqo", features=["serialize", "overrotate"]} | ||
bincode = {version="1.3"} | ||
test_roqoqo_1_10 = { package = "roqoqo", version = "=1.10.0" } | ||
test_roqoqo_derive_1_10 = { package = "roqoqo-derive", version = "=1.10.0" } | ||
qoqo_calculator = { version = "1.2" } | ||
roqoqo = { version = "1.12.0", path = "../../roqoqo", features = [ | ||
"serialize", | ||
"overrotate", | ||
] } | ||
bincode = { version = "1.3" } | ||
ndarray = "0.15" | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[package] | ||
name = "compatibility_test_1_11" | ||
version = "1.12.0" | ||
authors = ["HQS Quantum Simulations <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
rust-version = "1.56" | ||
categories = ["science", "simulation"] | ||
homepage = "https://github.com/HQSquantumsimulations/qoqo" | ||
repository = "https://github.com/HQSquantumsimulations/qoqo" | ||
documentation = "https://docs.rs/roqoqo/" | ||
readme = "../README.md" | ||
description = "Compatibility tests for roqoqo" | ||
include = ["src*", "build.rs", "LICENSE", "README.md"] | ||
publish = false | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[workspace] | ||
|
||
[dependencies] | ||
test_roqoqo_1_11 = { package = "roqoqo", version = "=1.11.0" } | ||
test_roqoqo_derive_1_11 = { package = "roqoqo-derive", version = "=1.11.0" } | ||
qoqo_calculator = { version = "1.2" } | ||
roqoqo = { version = "1.12.0", path = "../../roqoqo", features = [ | ||
"serialize", | ||
"overrotate", | ||
] } | ||
struqture = { version = "1.7" } | ||
bincode = { version = "1.3" } | ||
ndarray = "0.15" | ||
|
||
[dev-dependencies] | ||
test-case = "3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pub fn add(left: usize, right: usize) -> usize { | ||
left + right | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
|
||
#[test] | ||
fn it_works() { | ||
let result = add(2, 2); | ||
assert_eq!(result, 4); | ||
} | ||
} |
Oops, something went wrong.