Skip to content

Commit

Permalink
Increment version to v0.4.0 (#48)
Browse files Browse the repository at this point in the history
* version bump

* bump breathe

* pin sphinxcontrib-bibtex

* fix
  • Loading branch information
thisac authored Sep 16, 2021
1 parent 700af3b commit ea38409
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
21 changes: 9 additions & 12 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Release 0.3.1 (development release)

<h3>New features since last release</h3>
# Release 0.4.0

<h3>Improvements</h3>

* Remove support for Python 3.5.
[(#38)](https://github.com/XanaduAI/blackbird/pull/38)

* Add support for Python 3.8 and 3.9.
[(#39)](https://github.com/XanaduAI/blackbird/pull/39)
[(#40)](https://github.com/XanaduAI/blackbird/pull/39)

* Add public method to retrieve Blackbird program variables via `prog.variables`.
[(#47)](https://github.com/XanaduAI/blackbird/pull/47)
Expand All @@ -17,24 +15,23 @@
rather than their array names (p0, p1, etc.)
[(#47)](https://github.com/XanaduAI/blackbird/pull/47)

<h3>Breaking changes</h3>
* Remove p-type parameters from `prog.parameters` since they're only needed there internally and
are otherwise stored in `prog.variables`. This also changes TDM programs to not be templates
(`prog.is_template` now returns `False`).
[(#47)](https://github.com/XanaduAI/blackbird/pull/47)

<h3>Bug fixes</h3>

* Fix bool or string objects in for-loop iterators not working correctly.
[(#41)](https://github.com/XanaduAI/blackbird/pull/41)

* Update the NumPy scalar types in the Blackbird listener due to being deprecated in NumPy 1.20.
[(#43)](https://github.com/XanaduAI/blackbird/pull/43)

* Add access to the symbolic expression used when creating a `RegRefTransform`,
as a class attribute.
[(#46)](https://github.com/XanaduAI/blackbird/pull/46)

* Remove p-type parameters from `prog.parameters` since they're only needed there internally and
are otherwise stored in `prog.variables`. This also changes TDM programs to not be templates
(`prog.is_template` now returns `False`).
[(#47)](https://github.com/XanaduAI/blackbird/pull/47)

<h3>Documentation</h3>

<h3>Contributors</h3>

This release contains contributions from (in alphabetical order):
Expand Down
2 changes: 1 addition & 1 deletion blackbird_python/blackbird/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = '0.3.1-dev'
__version__ = '0.4.0'
3 changes: 2 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Blackbird Quantum Assembly Language
:Release: |release|
:Date: |today|

Blackbird is a quantum assembly language for continuous-variable quantum computation, that can be used to program Xanadu's quantum photonics hardware and Strawberry Fields simulator.
Blackbird is a quantum assembly language for continuous-variable quantum computation, that can be
used to program Xanadu's quantum photonics hardware and Strawberry Fields simulator.


Features
Expand Down
4 changes: 2 additions & 2 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
antlr4-python3-runtime>=4.7.1
numpy
sphinxcontrib-bibtex
breathe==4.12.0
sphinxcontrib-bibtex<2.0.0
breathe~=4.29.0
exhale

0 comments on commit ea38409

Please sign in to comment.