Skip to content

Commit

Permalink
feat!: implement Python wrappers for the full Rust API (#230)
Browse files Browse the repository at this point in the history
* refactor(lib): remove unused module

* refactor(lib)!: use num::Complex instead of custom typedef

* chore(lib): remove newly removed lint

* refactor(lib)!: use Cow<str> instead of &str for execution

* style(lib): resolve clippy lints

* feat(python): start directly wrapping types from the Rust SDK

* refactor(lib)!: replace Box<str> -> String, &str -> Cow<str>

* feat(python): wrap more types for Python

* feat(python): add missing wrappers for remaining types

* refactor(python): change how Complex64ReadoutValues converts to/from Python

* chore(python): use rigetti-pyo3 from git, not local path

* feat(python): define default arguments to methods

* doc(lib): explain seeming type disagreement

* refactor(python): simplify code, remove TODO

* chore(python): remove unnecessary comments

* refactor(lib): avoid confusion by changing Complex32 -> Complex<f32>

* chore(python): bump minimum python version to 3.8

* chore(python): bump rigetti-pyo3

* chore(python): gitignore __pycache__

* chore(lib): update tokio, disable unused warp features

* test(python): fix failing test

* chore(python): run poetry update
  • Loading branch information
Shadow53 committed Jan 24, 2023
1 parent 2722a59 commit bb063c7
Show file tree
Hide file tree
Showing 32 changed files with 1,053 additions and 1,144 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ qcs-api/docs

# macOS
.DS_Store

# pytest artifacts
**/__pycache__

0 comments on commit bb063c7

Please sign in to comment.