Skip to content

Commit

Permalink
Increment version number to v0.17.0 (#523)
Browse files Browse the repository at this point in the history
* bump version and update changelog

* update about

* remove old current release

* minor tweaks
  • Loading branch information
thisac committed Jan 15, 2021
1 parent 7b0a45d commit 94334b6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
29 changes: 22 additions & 7 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Release 0.17.0 (development release)
# Release 0.17.0 (current release)

<h3>New features since last release</h3>

Expand All @@ -13,8 +13,8 @@
eng = sf.Engine('fock', backend_options={"cutoff_dim": 10})

with prog.context as q:
gamma = 2
Vgate(gamma) | q[0]
gamma = 2
Vgate(gamma) | q[0]

state = eng.run(prog).state

Expand Down Expand Up @@ -73,7 +73,10 @@
* `Connection` objects now send versioned requests to the platform API.
[(#512)](https://github.com/XanaduAI/strawberryfields/pull/512)

* The `copies` option when constructing a `TDMProgram` have been removed. Instead, the number of
* `TDMProgram` allows application of gates with more than one symbolic parameter.
[#492](https://github.com/XanaduAI/strawberryfields/pull/492)

* The `copies` option, when constructing a `TDMProgram`, has been removed. Instead, the number of
copies of a TDM algorithm can now be set by passing the `shots` keyword argument to
the `eng.run()` method.
[(#489)](https://github.com/XanaduAI/strawberryfields/pull/489)
Expand Down Expand Up @@ -101,6 +104,9 @@
potentially crop out the final shots containing these measurements.
[(#489)](https://github.com/XanaduAI/strawberryfields/pull/489)

* `pytest-randomly` is added to the SF tests.
[(#480)](https://github.com/XanaduAI/strawberryfields/pull/480)

* `TDMProgram` objects can now be serialized into Blackbird scripts, and vice versa.
[(#476)](https://github.com/XanaduAI/strawberryfields/pull/476)

Expand All @@ -116,7 +122,7 @@
if the tensor has an added dimension due to the existence of batching.
[(#507)](https://github.com/XanaduAI/strawberryfields/pull/507)

* Fixed issue with `reshape_samples` where the samples were sometimes
* Fixes an issue with `reshape_samples` where the samples were sometimes
reshaped in the wrong way.
[(#489)](https://github.com/XanaduAI/strawberryfields/pull/489)

Expand All @@ -125,10 +131,13 @@
[(#476)](https://github.com/XanaduAI/strawberryfields/pull/476)

* Fixes a bug where printing the `Result` object containing samples from a time-domain
experiment would result in an error. Printing the result object now correctly displays
job would result in an error. Printing the result object now correctly displays
information about the results.
[(#493)](https://github.com/XanaduAI/strawberryfields/pull/493)

* Removes the `antlr4` requirement due to version conflicts.
[(#494)](https://github.com/XanaduAI/strawberryfields/pull/494)

* `TDMProgram.run_options` is now correctly used when running a TDM program.
[(#500)](https://github.com/XanaduAI/strawberryfields/pull/500)

Expand All @@ -138,14 +147,20 @@

<h3>Documentation</h3>

* `TDMProgram` docstring is updated to make it clear that only Gaussian programs are allowed.
[(#519)](https://github.com/XanaduAI/strawberryfields/pull/519)

* Clarifies special cases for the `MZgate` in the docstring.
[(#479)](https://github.com/XanaduAI/strawberryfields/pull/479)

<h3>Contributors</h3>

This release contains contributions from (in alphabetical order):

Tom Bromley, Jack Brown, Theodor Isacsson, Josh Izaac, Fabian Laudenbach, Tim Leisti,
Nicolas Quesada, Antal Száva.

# Release 0.16.0 (current release)
# Release 0.16.0

<h3>New features since last release</h3>

Expand Down
20 changes: 10 additions & 10 deletions strawberryfields/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ def about():
Strawberry Fields: a Python library for continuous-variable quantum circuits.
Copyright 2018-2020 Xanadu Quantum Technologies Inc.
Python version: 3.6.8
Platform info: Linux-5.0.0-36-generic-x86_64-with-debian-buster-sid
Installation path: /home/josh/Dropbox/Work/Xanadu/sf_cloud/strawberryfields
Strawberry Fields version: 0.12.0-dev
Numpy version: 1.17.4
Scipy version: 1.3.0
Sympy version: 1.5
Python version: 3.6.10
Platform info: Linux-5.8.18-1-MANJARO-x86_64-with-arch-Manjaro-Linux
Installation path: /home/strawberryfields/
Strawberry Fields version: 0.17.0
Numpy version: 1.19.5
Scipy version: 1.4.1
SymPy version: 1.5.1
NetworkX version: 2.4
The Walrus version: 0.10.0
Blackbird version: 0.2.1
TensorFlow version: 2.0.0
The Walrus version: 0.14.0
Blackbird version: 0.3.0
TensorFlow version: 2.4.0
"""
# pylint: disable=import-outside-toplevel
import sys
Expand Down
2 changes: 1 addition & 1 deletion strawberryfields/_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.17.0-dev"
__version__ = "0.17.0"

0 comments on commit 94334b6

Please sign in to comment.