-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use Py<PyAny> instead of Bound in from_pyany (#291)
* From_pyany use Py<PyAny> instead of Bound for compatibility * version
- Loading branch information
1 parent
9cfe47d
commit 43ca393
Showing
8 changed files
with
40 additions
and
22 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 = "qoqo_calculator" | ||
version = "1.2.0" | ||
version = "1.2.1" | ||
authors = ["HQS Quantum Simulations <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
|
@@ -15,10 +15,10 @@ name = "qoqo_calculator" | |
crate-type = ["rlib"] | ||
|
||
[dependencies] | ||
num-complex = {version= "0.4", features=['serde']} | ||
num-complex = { version = "0.4", features = ['serde'] } | ||
serde = { version = '1.0', features = ["derive"] } | ||
thiserror = "1.0" | ||
schemars = { version = "0.8", optional=true } | ||
schemars = { version = "0.8", optional = true } | ||
|
||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
[package] | ||
name = "qoqo_calculator_pyo3" | ||
version = "1.2.0" | ||
version = "1.2.1" | ||
authors = ["HQS Quantum Simulations <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
readme = "README.md" | ||
repository = "https://github.com/HQSquantumsimulations/qoqo_calculator_pyo3" | ||
description = "Python interface to qoqo calculator, the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations" | ||
include = ["src*", "qoqo_calculator_pyo3", "LICENSE", "pyproject.toml", "README.md"] | ||
include = [ | ||
"src*", | ||
"qoqo_calculator_pyo3", | ||
"LICENSE", | ||
"pyproject.toml", | ||
"README.md", | ||
] | ||
|
||
[lib] | ||
name = "qoqo_calculator_pyo3" | ||
|
@@ -16,8 +22,8 @@ crate-type = ["cdylib", "rlib"] | |
|
||
[dependencies] | ||
num-complex = "0.4" | ||
qoqo_calculator = {version="1.2", path="../qoqo_calculator"} | ||
serde = "1.0" | ||
qoqo_calculator = { version = "1.2", path = "../qoqo_calculator" } | ||
serde = "1.0" | ||
thiserror = "1.0" | ||
|
||
[dependencies.pyo3] | ||
|
@@ -29,4 +35,4 @@ pyo3-build-config = "0.21" | |
|
||
[features] | ||
extension-module = ["pyo3/extension-module"] | ||
default = ["extension-module"] | ||
default = ["extension-module"] |
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,8 +1,10 @@ | ||
[project] | ||
name = "qoqo_calculator_pyo3" | ||
version = "1.2.0" | ||
license = {text="Apache-2.0 AND Apache-2.0 with LLVM-exception AND MIT AND Unicode-DFS-2016"} | ||
maintainers = [{name = "HQS Quantum Simulations GmbH", email = "[email protected]"}] | ||
version = "1.2.1" | ||
license = { text = "Apache-2.0 AND Apache-2.0 with LLVM-exception AND MIT AND Unicode-DFS-2016" } | ||
maintainers = [ | ||
{ name = "HQS Quantum Simulations GmbH", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
|
||
[build-system] | ||
|
@@ -25,5 +27,5 @@ docs = [ | |
"myst_parser", | ||
"sphinx_rtd_theme", | ||
"tomli", | ||
"numpy" | ||
"numpy", | ||
] |
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 |
---|---|---|
|
@@ -4660,7 +4660,7 @@ LICENSE-APACHE: | |
|
||
|
||
==================================================== | ||
qoqo_calculator 1.2.0 | ||
qoqo_calculator 1.2.1 | ||
https://github.com/HQSquantumsimulations/qoqo_calculator | ||
by HQS Quantum Simulations <[email protected]> | ||
qoqo-calculator is the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations | ||
|
@@ -4872,7 +4872,7 @@ LICENSE: | |
|
||
|
||
==================================================== | ||
qoqo_calculator_pyo3 1.2.0 | ||
qoqo_calculator_pyo3 1.2.1 | ||
https://github.com/HQSquantumsimulations/qoqo_calculator_pyo3 | ||
by HQS Quantum Simulations <[email protected]> | ||
Python interface to qoqo calculator, the calculator backend of the qoqo quantum computing toolkit by HQS Quantum Simulations | ||
|
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