From c2daff8774e498b68a8807cb9dc0f66c2a10595e Mon Sep 17 00:00:00 2001 From: Simon Humpohl Date: Tue, 28 Mar 2023 09:09:57 +0200 Subject: [PATCH 1/3] Fix formatting in newspieces --- changes.d/512.removal | 2 +- changes.d/696.fix | 2 +- changes.d/709.feature | 6 +++--- changes.d/710.feature | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changes.d/512.removal b/changes.d/512.removal index 83a9d441..78cafc9e 100644 --- a/changes.d/512.removal +++ b/changes.d/512.removal @@ -1 +1 @@ -Remove the `Parameter`, `MappedParameter` and `ConstantParameter` class that where deprecated in version 0.5. +Remove the ``Parameter``, ``MappedParameter`` and ``ConstantParameter`` classes that where deprecated in version 0.5. diff --git a/changes.d/696.fix b/changes.d/696.fix index 9df69bd0..b93008fd 100644 --- a/changes.d/696.fix +++ b/changes.d/696.fix @@ -1 +1 @@ -`ConstantPulseTemplate`s from all versions can now be deserialized. \ No newline at end of file +``ConstantPulseTemplate``s from all versions can now be deserialized. \ No newline at end of file diff --git a/changes.d/709.feature b/changes.d/709.feature index 9bdf45b1..e1975103 100644 --- a/changes.d/709.feature +++ b/changes.d/709.feature @@ -1,3 +1,3 @@ -Add support for time dependent expressions for arithmetics with atomic pulse templates i.e. ParallelChannelPT and -ArithmeticPT support time dependent expressions if used with atomic pulse templates. -Rename `ParallelConstantChannelPT` to `ParallelChannelPT` to reflect this change. +Add support for time dependent expressions for arithmetics with atomic pulse templates i.e. ``ParallelChannelPT`` and +``ArithmeticPT`` support time dependent expressions if used with atomic pulse templates. +Rename ``ParallelConstantChannelPT`` to ``ParallelChannelPT`` to reflect this change. diff --git a/changes.d/710.feature b/changes.d/710.feature index 650482cc..db4b9ea8 100644 --- a/changes.d/710.feature +++ b/changes.d/710.feature @@ -1,2 +1,2 @@ -Add `with_` family of helper methods to `PulseTemplate` to allow convinient and easily discoverable pulse template +Add ``with_`` family of helper methods to ``PulseTemplate`` to allow convinient and easily discoverable pulse template combination. From cc60572108ebe37b2afe037617bfac46d05951d9 Mon Sep 17 00:00:00 2001 From: Simon Humpohl Date: Tue, 28 Mar 2023 09:10:44 +0200 Subject: [PATCH 2/3] Push version to 0.8 --- qupulse/__init__.py | 2 +- setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qupulse/__init__.py b/qupulse/__init__.py index 6cae787b..d7b836bb 100644 --- a/qupulse/__init__.py +++ b/qupulse/__init__.py @@ -2,7 +2,7 @@ import lazy_loader as lazy -__version__ = '0.7' +__version__ = '0.8' __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__) diff --git a/setup.cfg b/setup.cfg index 68647e6f..fbec1614 100644 --- a/setup.cfg +++ b/setup.cfg @@ -88,8 +88,8 @@ filterwarnings = [build_sphinx] project = 'qupulse' -version = 0.5 -release = 0.5rc +version = 0.8 +release = 0.8 source-dir = ./doc/source build-dir = ./doc/build fresh-env = 1 From 48f4ece4c2270eb1660e16ac1e839847987a74a4 Mon Sep 17 00:00:00 2001 From: Simon Humpohl Date: Tue, 28 Mar 2023 12:07:31 +0200 Subject: [PATCH 3/3] Compile release notes --- RELEASE_NOTES.rst | 22 ++++++++++++++++++++++ changes.d/512.removal | 1 - changes.d/703.feature | 1 - changes.d/709.feature | 3 --- changes.d/710.feature | 2 -- changes.d/735.feature | 1 - changes.d/760.removal | 1 - 7 files changed, 22 insertions(+), 9 deletions(-) delete mode 100644 changes.d/512.removal delete mode 100644 changes.d/703.feature delete mode 100644 changes.d/709.feature delete mode 100644 changes.d/710.feature delete mode 100644 changes.d/735.feature delete mode 100644 changes.d/760.removal diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index c61c8b8c..51c5c0b0 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -2,6 +2,28 @@ .. towncrier release notes start +qupulse 0.8 (2023-03-28) +======================== + +Features +-------- + +- New two dimensional plotting function ``qupulse.pulses.plotting.plot_2d``. (`#703 `_) +- Add support for time dependent expressions for arithmetics with atomic pulse templates i.e. ``ParallelChannelPT`` and + ``ArithmeticPT`` support time dependent expressions if used with atomic pulse templates. + Rename ``ParallelConstantChannelPT`` to ``ParallelChannelPT`` to reflect this change. (`#709 `_) +- Add ``with_`` family of helper methods to ``PulseTemplate`` to allow convinient and easily discoverable pulse template + combination. (`#710 `_) +- The plotting module is now located at `qupulse.plotting`. There is a legacy alias at `qupulse.pulses.plotting`. (`#735 `_) + + +Deprecations and Removals +------------------------- + +- Remove the ``Parameter``, ``MappedParameter`` and ``ConstantParameter`` classes that where deprecated in version 0.5. (`#512 `_) +- Drop support for python version 3.7. (`#760 `_) + + qupulse 0.7 (2022-10-05) ======================== diff --git a/changes.d/512.removal b/changes.d/512.removal deleted file mode 100644 index 78cafc9e..00000000 --- a/changes.d/512.removal +++ /dev/null @@ -1 +0,0 @@ -Remove the ``Parameter``, ``MappedParameter`` and ``ConstantParameter`` classes that where deprecated in version 0.5. diff --git a/changes.d/703.feature b/changes.d/703.feature deleted file mode 100644 index af8aeb0b..00000000 --- a/changes.d/703.feature +++ /dev/null @@ -1 +0,0 @@ -New two dimensional plotting function ``qupulse.pulses.plotting.plot_2d``. diff --git a/changes.d/709.feature b/changes.d/709.feature deleted file mode 100644 index e1975103..00000000 --- a/changes.d/709.feature +++ /dev/null @@ -1,3 +0,0 @@ -Add support for time dependent expressions for arithmetics with atomic pulse templates i.e. ``ParallelChannelPT`` and -``ArithmeticPT`` support time dependent expressions if used with atomic pulse templates. -Rename ``ParallelConstantChannelPT`` to ``ParallelChannelPT`` to reflect this change. diff --git a/changes.d/710.feature b/changes.d/710.feature deleted file mode 100644 index db4b9ea8..00000000 --- a/changes.d/710.feature +++ /dev/null @@ -1,2 +0,0 @@ -Add ``with_`` family of helper methods to ``PulseTemplate`` to allow convinient and easily discoverable pulse template -combination. diff --git a/changes.d/735.feature b/changes.d/735.feature deleted file mode 100644 index 827aca30..00000000 --- a/changes.d/735.feature +++ /dev/null @@ -1 +0,0 @@ -The plotting module is now located at `qupulse.plotting`. There is a legacy alias at `qupulse.pulses.plotting`. diff --git a/changes.d/760.removal b/changes.d/760.removal deleted file mode 100644 index a59d6a29..00000000 --- a/changes.d/760.removal +++ /dev/null @@ -1 +0,0 @@ -Drop support for python version 3.7.