Oqpy

Latest version: v0.3.5

Safety actively analyzes 622918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.5

What's Changed
* Allow custom ExternArgument in extern declaration by anuragm in https://github.com/openqasm/oqpy/pull/83
* Raise an exception for delays or boxes with known negative duration by braised-babbage in https://github.com/openqasm/oqpy/pull/85
* Convert ExpressionConvertible to duration by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/86
* Bump version to 0.3.5 by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/87


**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.3.4...v0.3.5

0.3.4

What's Changed
* Specify cache key via protocol by PhilReinhold in https://github.com/openqasm/oqpy/pull/80


**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.3.3...v0.3.4

0.3.3

What's Changed
* Fix subroutines with array arguments by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/77
* Update CITATION.cff to include v0.3.2 authors by karalekas in https://github.com/openqasm/oqpy/pull/79
* Bump version to 0.3.3 by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/78


**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.3.2...v0.3.3

0.3.2

Highlights
* Allow use of Python slice objects to index oqpy array types
* Add `CachedExpressionConvertible` protocol to allow foreign types to cache their conversion methods
* Allow `Program.function_call` to specify an output variable
* Add support for gate definitions and gate modifiers
* Allow externs without arguments or return values

What's Changed
* update mypy by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/56
* Allow externs with no arguments and no return value by anuragm in https://github.com/openqasm/oqpy/pull/58
* fix dependabot issues by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/57
* Add oqpy.gate for gate definitions by rmshaffer in https://github.com/openqasm/oqpy/pull/60
* drop Python 3.7 by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/65
* Add .include method by braised-babbage in https://github.com/openqasm/oqpy/pull/66
* Qubit and BitVar supports get item by yitchen-tim in https://github.com/openqasm/oqpy/pull/67
* update qubit array test by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/68
* Add CachedExpressionConvertible by braised-babbage in https://github.com/openqasm/oqpy/pull/72
* support output assignment for function calls by yitchen-tim in https://github.com/openqasm/oqpy/pull/70
* Simplified implementation of gate modifiers by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/64
* Convert python slice into AST node by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/73
* Improve test coverage by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/74
* Keep the arg names in OQFunctionCall by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/75
* Bump version to 0.3.2 by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/76

New Contributors
* rmshaffer made their first contribution in https://github.com/openqasm/oqpy/pull/60
* braised-babbage made their first contribution in https://github.com/openqasm/oqpy/pull/66
* yitchen-tim made their first contribution in https://github.com/openqasm/oqpy/pull/67

**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.3.1...v0.3.2

0.3.1

What's Changed
* Fix for nested subroutines and if statements in subroutines by PhilReinhold in https://github.com/openqasm/oqpy/pull/53
* keep track of the subroutine definition order by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/52
* fix mutating programs by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/54
* Bump version to 0.3.1 by jcjaskula-aws in https://github.com/openqasm/oqpy/pull/55


**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.3.0...v0.3.1

0.3.0

What's Changed
* Fix expressions with duration literals by anuragm in https://github.com/openqasm/oqpy/pull/38
* Fix initiating duration arrays with numpy array by anuragm in https://github.com/openqasm/oqpy/pull/39
* Detect and convert constants by PhilReinhold in https://github.com/openqasm/oqpy/pull/44
* Promote floats to durations during arithmetic ops by anuragm in https://github.com/openqasm/oqpy/pull/42
* Add new authors to CITATION.cff by karalekas in https://github.com/openqasm/oqpy/pull/45
* Create oqpy.Range to allow ForIn ranges with expressions. by PhilReinhold in https://github.com/openqasm/oqpy/pull/47
* Check that generated ast respects type hints by PhilReinhold in https://github.com/openqasm/oqpy/pull/48
* Initialize variables as input/output by PhilReinhold in https://github.com/openqasm/oqpy/pull/51
* Convert durations to float and vice versa where appropriate by PhilReinhold in https://github.com/openqasm/oqpy/pull/43
* Bump version to 0.3.0 by PhilReinhold in https://github.com/openqasm/oqpy/pull/50


**Full Changelog**: https://github.com/openqasm/oqpy/compare/v0.2.1...v0.3.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.