Skip to content

Commit

Permalink
Parametric Gates Support (#92)
Browse files Browse the repository at this point in the history
* regex

* util functions

* testing on rotatez

* comments on backend

* calculator parser in lib

* with test example working

* working solution (see tests)

* new stripped solution + tests corrections

* qoqo call operation addition

* moved to new file, implemented in call_operation

* notation test correction

* better newlines in backend

* ccps correction

* changed parse return type

* variable gatherer tests

* fmt

* more tests

* versioning

* regex

* util functions

* testing on rotatez

* comments on backend

* calculator parser in lib

* with test example working

* working solution (see tests)

* new stripped solution + tests corrections

* qoqo call operation addition

* moved to new file, implemented in call_operation

* notation test correction

* better newlines in backend

* ccps correction

* changed parse return type

* variable gatherer tests

* fmt

* more tests

* versioning

* lock

* DEPENDENCIES

* reverted

* windows unittests

* test commit

* reverted for error solving

* DEPENDENCIES
  • Loading branch information
mlodi-hqs authored Aug 17, 2023
1 parent 93b6390 commit 723b0ff
Show file tree
Hide file tree
Showing 18 changed files with 2,617 additions and 1,461 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hqs-ci-test-rust-pyo3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_unittests_rust_pyo3.yml@main
with:
# Run tests also on windows runners
windows: false
windows: true
# Run tests also on macos runners
macos: true
# Test code coverage of rust core is over 90 percent
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This changelog track changes to the qoqo qasm project starting at version 0.5.0

### 0.9.0

* Added support for parametric gates using OpenQASM 3.0

### 0.8.3

* Bugfix for PragmaLoop in 3.0Braket and 2.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions qoqo_qasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "qoqo_qasm"
version = "0.8.3"
version = "0.9.0"
authors = ["HQS Quantum Simulations <info@quantumsimulations.de>"]
license = "Apache-2.0"
edition = "2018"
categories = ["science", "simulation"]
readme = "README.md"
homepage = "https://github.com/HQSquantumsimulations/qoqo_qasm"
repository = "https://github.com/HQSquantumsimulations/qoqo_qasm"
description = "Python interface of roqoqo mocked backend"
description = "Python interface of roqoqo_qasm by HQS Quantum Simulations"
include = [
"src*",
"build.rs",
Expand All @@ -29,7 +29,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
qoqo = { version = "1.5.1", default-features = false }
roqoqo = { version = "1.5.1", features = ["serialize"] }
roqoqo-qasm = { version = "0.8.3", path = "../roqoqo-qasm" }
roqoqo-qasm = { version = "0.9", path = "../roqoqo-qasm" }

[dependencies.pyo3]
version = "0.19"
Expand Down
2 changes: 1 addition & 1 deletion qoqo_qasm/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "qoqo_qasm"
version = "0.8.3"
version = "0.9.0"
dependencies = [
'qoqo>=1.5',
'qoqo_calculator_pyo3>=1.1',
Expand Down
Loading

0 comments on commit 723b0ff

Please sign in to comment.