v0.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 #56
- Allow externs with no arguments and no return value by @anuragm in #58
- fix dependabot issues by @jcjaskula-aws in #57
- Add oqpy.gate for gate definitions by @rmshaffer in #60
- drop Python 3.7 by @jcjaskula-aws in #65
- Add .include method by @braised-babbage in #66
- Qubit and BitVar supports get item by @yitchen-tim in #67
- update qubit array test by @jcjaskula-aws in #68
- Add CachedExpressionConvertible by @braised-babbage in #72
- support output assignment for function calls by @yitchen-tim in #70
- Simplified implementation of gate modifiers by @jcjaskula-aws in #64
- Convert python slice into AST node by @jcjaskula-aws in #73
- Improve test coverage by @jcjaskula-aws in #74
- Keep the arg names in OQFunctionCall by @jcjaskula-aws in #75
- Bump version to 0.3.2 by @jcjaskula-aws in #76
New Contributors
- @rmshaffer made their first contribution in #60
- @braised-babbage made their first contribution in #66
- @yitchen-tim made their first contribution in #67
Full Changelog: v0.3.1...v0.3.2