From 03998743d7bbea92cc74317f9b47aeb66c4ad985 Mon Sep 17 00:00:00 2001 From: Romain Date: Wed, 11 Aug 2021 12:31:15 -0400 Subject: [PATCH] Version bump to `0.17.0` (#73) * Version bump * Typo. * Typo. * Deprecated method * Remove abc * Typo --- .github/CHANGELOG.md | 12 +++--------- pennylane_pq/_version.py | 2 +- pennylane_pq/devices.py | 9 ++++----- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 02d819c..b909bdc 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,19 +1,13 @@ -# Release 0.16.0-dev0 - -### New features since last release +# Release 0.17.0 ### Breaking changes * Remove Python 3.5 / 3.6 and add the compatibility tag for Python 3.8 / 3.9. [(#72)](https://github.com/XanaduAI/pennylane-pq/pull/72) - -### Improvements - -### Documentation - + ### Bug fixes -* Remove `SparseHamiltonian` from possible observables in tests. +* Remove `SparseHamiltonian` from authorized observables in tests. [(#72)](https://github.com/XanaduAI/pennylane-pq/pull/72) ### Contributors diff --git a/pennylane_pq/_version.py b/pennylane_pq/_version.py index 627a3a1..34c5f59 100644 --- a/pennylane_pq/_version.py +++ b/pennylane_pq/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.16.0-dev" +__version__ = "0.17.0" diff --git a/pennylane_pq/devices.py b/pennylane_pq/devices.py index 42dc40b..cb844ac 100644 --- a/pennylane_pq/devices.py +++ b/pennylane_pq/devices.py @@ -47,7 +47,6 @@ """ -import abc import numpy as np import projectq as pq from projectq.setups.ibm import get_engine_list @@ -140,7 +139,7 @@ class _ProjectQDevice(Device): # pylint: disable=abstract-method name = "ProjectQ PennyLane plugin" short_name = "projectq" - pennylane_requires = ">=0.11.0" + pennylane_requires = ">=0.15.0" version = "0.4.2" plugin_version = __version__ author = "Christian Gogolin and Xanadu" @@ -149,15 +148,15 @@ class _ProjectQDevice(Device): # pylint: disable=abstract-method "model": "qubit", } - @abc.abstractproperty + @property def _operation_map(self): raise NotImplementedError - @abc.abstractproperty + @property def _observable_map(self): raise NotImplementedError - @abc.abstractproperty + @property def _backend_kwargs(self): raise NotImplementedError