Releases: openqasm/oqpy
Releases · openqasm/oqpy
v0.3.7
What's Changed
- Allow expr_matches to better handle presence of extra data by @PhilReinhold in #93
- fix regression with cache by @jcjaskula-aws in #95
- Bump version to 0.3.7 by @jcjaskula-aws in #97
Full Changelog: v0.3.6...v0.3.7
v0.3.6
What's Changed
- Construct machine-sized typed clasical variables by @jcjaskula-aws in #90
- Add README badges by @speller26 in #84
- update packages for dependabot by @jcjaskula-aws in #88
- Consider cases when ExpressionConvertible returns float, int, duration by @jcjaskula-aws in #89
- Bump urllib3 from 2.1.0 to 2.2.2 by @dependabot in #92
- Bump version to 0.3.6 by @jcjaskula-aws in #91
New Contributors
- @speller26 made their first contribution in #84
Full Changelog: v0.3.5...v0.3.6
v0.3.5
What's Changed
- Allow custom ExternArgument in extern declaration by @anuragm in #83
- Raise an exception for delays or boxes with known negative duration by @braised-babbage in #85
- Convert ExpressionConvertible to duration by @jcjaskula-aws in #86
- Bump version to 0.3.5 by @jcjaskula-aws in #87
Full Changelog: v0.3.4...v0.3.5
v0.3.4
What's Changed
- Specify cache key via protocol by @PhilReinhold in #80
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- Fix subroutines with array arguments by @jcjaskula-aws in #77
- Update CITATION.cff to include v0.3.2 authors by @karalekas in #79
- Bump version to 0.3.3 by @jcjaskula-aws in #78
Full Changelog: v0.3.2...v0.3.3
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
v0.3.1
What's Changed
- Fix for nested subroutines and if statements in subroutines by @PhilReinhold in #53
- keep track of the subroutine definition order by @jcjaskula-aws in #52
- fix mutating programs by @jcjaskula-aws in #54
- Bump version to 0.3.1 by @jcjaskula-aws in #55
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Fix expressions with duration literals by @anuragm in #38
- Fix initiating duration arrays with numpy array by @anuragm in #39
- Detect and convert constants by @PhilReinhold in #44
- Promote floats to durations during arithmetic ops by @anuragm in #42
- Add new authors to CITATION.cff by @karalekas in #45
- Create oqpy.Range to allow ForIn ranges with expressions. by @PhilReinhold in #47
- Check that generated ast respects type hints by @PhilReinhold in #48
- Initialize variables as input/output by @PhilReinhold in #51
- Convert durations to float and vice versa where appropriate by @PhilReinhold in #43
- Bump version to 0.3.0 by @PhilReinhold in #50
Full Changelog: v0.2.1...v0.3.0
v0.2.1
v0.2.0
What's Changed
- Add Zenodo DOI to CITATION.cff by @karalekas in #23
- Add support for returning values from defcal statements by @Swordcat in #24
- Allow for loops with arbitrary variable type by @anuragm in #26
- Fix code of conduct link by @anuragm in #27
- Add support for arrays by @anuragm in #28
- Bump setuptools from 65.4.1 to 65.5.1 by @dependabot in #30
- Bump cryptography from 37.0.4 to 39.0.1 by @dependabot in #29
- Add shift and bitwise operations by @jmdewart in #31
- Add capability to annotate statements by @PhilReinhold in #34
- Add pragma by @jcjaskula-aws in #35
- Bump version to 0.2.0 by @jcjaskula-aws in #36
New Contributors
- @Swordcat made their first contribution in #24
- @anuragm made their first contribution in #26
- @jmdewart made their first contribution in #31
Full Changelog: v0.1.2...v0.2.0