Skip to content

Commit

Permalink
Incrementing the version number to 0.2.0 (#124)
Browse files Browse the repository at this point in the history
* update changelog

* bump python version

* Trigger CI
  • Loading branch information
thisac authored Mar 24, 2022
1 parent d736d85 commit ddef9ad
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 10 deletions.
39 changes: 33 additions & 6 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,49 @@
# Release 0.2.0 (development release)
# Release 0.2.0 (current release)

### New features since last release

* Fidelity can be calculated between two mixed states. [(#115)](https://github.com/XanaduAI/MrMustard/pull/115)
### Improvements since last release
* Fidelity can now be calculated between two mixed states.
[(#115)](https://github.com/XanaduAI/MrMustard/pull/115)

* A configurable logger module is added.
[(#107)](https://github.com/XanaduAI/MrMustard/pull/107)

```python
from mrmustard.logger import create_logger

logger = create_logger(__name__)
logger.warning("Warning message")
```

### Improvements

* The tensorflow and torch backend adhere to `MathInterface`.
[(#103)](https://github.com/XanaduAI/MrMustard/pull/103)

### Bug fixes

* Setting the modes on which detectors and state acts using `modes` kwarg or __getitem__ give consistent results. [(#114)](https://github.com/XanaduAI/MrMustard/pull/114)
* Setting the modes on which detectors and state acts using `modes` kwarg or `__getitem__` give consistent results.
[(#114)](https://github.com/XanaduAI/MrMustard/pull/114)

* Lists are used instead of generators for indices in fidelity calculations.
[(#117)](https://github.com/XanaduAI/MrMustard/pull/117)

* A raised `KeyboardInterrupt` while on a optimization loop now stops the execution of the program.
[#105](https://github.com/XanaduAI/MrMustard/pull/105)

### Documentation

* [Basic API reference](https://mrmustard.readthedocs.io/en/latest/introduction/basic_reference.html) is updated to use the latest Mr Mustard API. [(#119)](https://github.com/XanaduAI/MrMustard/pull/119)
* [Basic API reference](https://mrmustard.readthedocs.io/en/latest/introduction/basic_reference.html)
is updated to use the latest Mr Mustard API.
[(#119)](https://github.com/XanaduAI/MrMustard/pull/119)
### Contributors

This release contains contributions from (in alphabetical order):

[Sebastián Duque](https://github.com/sduquemesa), [Theodor Isacsson](https://github.com/thisac/), [Filippo Miatto](https://github.com/ziofil)


# Release 0.1.1 (current release)
# Release 0.1.1

### New features since last release

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[![Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue)](https://opensource.org/licenses/Apache-2.0)
[![Actions Status](https://github.com/XanaduAI/MrMustard/workflows/Tests/badge.svg)](https://github.com/XanaduAI/MrMustard/actions)
[![Python version](<https://img.shields.io/badge/python-3.8 | 3.9-blue>)](https://pypi.org/project/MrMustard/)
[![Python version](https://img.shields.io/pypi/pyversions/mrmustard.svg?style=popout-square)](https://pypi.org/project/MrMustard/)

Alpha release (v0.1.0 - expect some bumps).

Expand All @@ -19,7 +19,7 @@ Mr Mustard supports:
- squeezing, displacement, phase rotation, attenuator, amplifier, additive noise
- two-mode gates:
- beam splitter, Mach-Zehnder interferometer, two-mode squeezing, CX, CZ, CPHASE
- N-mode gates (with dedicated Rimannian optimization):
- N-mode gates (with dedicated Riemannian optimization):
- interferometer (orthogonal), Gaussian transformation (symplectic)
- single-mode states (parallelizable):
- vacuum, coherent, squeezed, displaced-squeezed, thermal
Expand Down Expand Up @@ -216,7 +216,7 @@ The physics module contains a growing number of functions that we can apply to s


# The math module
The math module is the backbone of Mr Mustard, which consists in the [`Math`](https://github.com/XanaduAI/MrMustard/blob/main/mrmustard/math/math_interface.py) inferface
The math module is the backbone of Mr Mustard, which consists in the [`Math`](https://github.com/XanaduAI/MrMustard/blob/main/mrmustard/math/math_interface.py) interface
Mr Mustard comes with a plug-and-play backends through a math interface. You can use it as a drop-in replacement for tensorflow or pytorch and your code will be plug-and-play too!
```python
from mrmustard import settings
Expand Down
2 changes: 1 addition & 1 deletion mrmustard/_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.2.0-dev"
__version__ = "0.2.0"
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
]
Expand Down

0 comments on commit ddef9ad

Please sign in to comment.