Skip to content

Commit

Permalink
Version bump to v0.11.2 (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh146 authored Nov 18, 2019
1 parent 8656f7e commit 1a4465e
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 1,098 deletions.
19 changes: 8 additions & 11 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# Release 0.12.0-dev
# Release 0.11.2

### New features

* Adds in first version of an applications layer aimed at solving problems using
Gaussian boson sampling. This layer focuses on graph-based problems and
currently has algorithms for the densest ``k``-subgraph problem.
[#164](https://github.com/XanaduAI/strawberryfields/pull/164)

* Adds the MZgate to ops.py, representing a Mach-Zehnder interferometer. This is
not a primitive of the existing simulator backends; rather, `_decompose()` is
defined, decomposing it into an external phase shift, two 50-50 beamsplitters,
Expand All @@ -26,7 +21,9 @@
and provided implementation of this operation in the Gaussian backend.
[#152](https://github.com/XanaduAI/strawberryfields/pull/152)

* Adds new integration tests for the Gaussian gates that are not primitive, i.e., P, CX, CZ, and S2. Addresses issue [#171](https://github.com/XanaduAI/strawberryfields/issues/171)
* Added new integration tests for the Gaussian gates that are not primitive,
i.e., P, CX, CZ, and S2.
[#173](https://github.com/XanaduAI/strawberryfields/pull/173)

### API Changes

Expand Down Expand Up @@ -67,7 +64,7 @@

* Photon-counting measurements can now be done in the Gaussian backend for states with nonzero displacement.
[#154](https://github.com/XanaduAI/strawberryfields/pull/154)

* Added a new test for the cubic phase gate
[#160](https://github.com/XanaduAI/strawberryfields/pull/160)

Expand All @@ -85,12 +82,12 @@
* Fixed typo in the Gaussian Boson Sampling example notebook.
[#133](https://github.com/XanaduAI/strawberryfields/pull/133)

* Fixed a bug in the function `smeanxp` of the Gaussian Backend simulator.
* Fixed a bug in the function `smeanxp` of the Gaussian Backend simulator.
[#154](https://github.com/XanaduAI/strawberryfields/pull/154)

* Clarified description of matrices that are accepted by graph embed operation.
[#147](https://github.com/XanaduAI/strawberryfields/pull/147)

* Fixed typos in the documentation of the CX gate and BSgate
[#166](https://github.com/XanaduAI/strawberryfields/pull/166)
[#167](https://github.com/XanaduAI/strawberryfields/pull/167)
Expand Down
48 changes: 24 additions & 24 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'edit_on_github',
'sphinx_autodoc_typehints',
'nbsphinx',
'sphinx_gallery.gen_gallery'
# 'sphinx_gallery.gen_gallery'
]

from glob import glob
Expand All @@ -62,22 +62,22 @@
.. note:: :download:`Click here <../../{{env.docname}}.ipynb>` to download this gallery page as an interactive Jupyter notebook.
"""

sphinx_gallery_conf = {
# path to your example scripts
'examples_dirs': '../examples_gbs',
# path where to save gallery generated examples
'gallery_dirs': 'tutorials_gbs',
# execute files that match the following filename pattern,
# and skip those that don't. If the following option is not provided,
# all example scripts in the 'examples_dirs' folder will be skiped.
'filename_pattern': r'run',
# first notebook cell in generated Jupyter notebooks
'first_notebook_cell': ("# This cell is added by sphinx-gallery\n"
"# It can be customized to whatever you like\n"
"%matplotlib inline"),
# thumbnail size
'thumbnail_size': (400, 400),
}
# sphinx_gallery_conf = {
# # path to your example scripts
# 'examples_dirs': '../examples_gbs',
# # path where to save gallery generated examples
# 'gallery_dirs': 'tutorials_gbs',
# # execute files that match the following filename pattern,
# # and skip those that don't. If the following option is not provided,
# # all example scripts in the 'examples_dirs' folder will be skiped.
# 'filename_pattern': r'run',
# # first notebook cell in generated Jupyter notebooks
# 'first_notebook_cell': ("# This cell is added by sphinx-gallery\n"
# "# It can be customized to whatever you like\n"
# "%matplotlib inline"),
# # thumbnail size
# 'thumbnail_size': (400, 400),
# }

# Remove warnings that occur when generating the the tutorials
warnings.filterwarnings("ignore", category=UserWarning, message=r"Matplotlib is currently using agg")
Expand Down Expand Up @@ -307,8 +307,8 @@
"download_button": "#b13a59",

# gallery options
"github_repo": "XanaduAI/strawberryfields",
"gallery_dirs": sphinx_gallery_conf['gallery_dirs']
# "github_repo": "XanaduAI/strawberryfields",
# "gallery_dirs": sphinx_gallery_conf['gallery_dirs']
}

edit_on_github_project = 'XanaduAI/strawberryfields'
Expand All @@ -324,8 +324,8 @@

from custom_directives import IncludeDirective, GalleryItemDirective, CustomGalleryItemDirective

def setup(app):
app.add_directive('includenodoc', IncludeDirective)
app.add_directive('galleryitem', GalleryItemDirective)
app.add_directive('customgalleryitem', CustomGalleryItemDirective)
app.add_stylesheet('xanadu_gallery.css')
# def setup(app):
# app.add_directive('includenodoc', IncludeDirective)
# app.add_directive('galleryitem', GalleryItemDirective)
# app.add_directive('customgalleryitem', CustomGalleryItemDirective)
# app.add_stylesheet('xanadu_gallery.css')
18 changes: 0 additions & 18 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,3 @@ Strawberry Fields is **free** and **open source**, released under the Apache Lic
code/backend.gaussian
code/backend.fock
code/backend.tf


.. toctree::
:maxdepth: 2
:caption: Applications Layer
:hidden:

gbs_intro
gbs_tutorials
code/gbs/sample
code/gbs/subgraph
code/gbs/clique
code/gbs/similarity
code/gbs/plot
code/gbs/points
code/gbs/data
code/gbs/vibronic

4 changes: 0 additions & 4 deletions examples_gbs/README.txt

This file was deleted.

113 changes: 0 additions & 113 deletions examples_gbs/run_tutorial_dense.py

This file was deleted.

Loading

0 comments on commit 1a4465e

Please sign in to comment.