diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 51c5c0b0..aea933a6 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -2,6 +2,28 @@ .. towncrier release notes start +qupulse 0.9 (2023-11-08) +======================== + +Features +-------- + +- Add `__pow__` as a repetition shortcut. This means you can do `my_pulse_template ** 5` or `my_pulse_template ** 'my_repetition_count'`. (`#692 `_) +- Promote ``qupulse.expression`` to a subpackage and create ``qupulse.expression.protocol`` with protocol classes that define the expression interface that is supposed to be used by qupulse. + The ```sympy`` based implementation is moved to ``qupulse.expressions.sympy`` and imported in ``qupulse.expressions``. + + The intended use is to be able to use less powerful but faster implementations of the ``Expression`` protocol where appropriate. + In this first iteration, qupulse still relies on internals of the ``sympy`` based implementation in many places which is to be removed in the future. (`#750 `_) +- Promote parts of the private subpackage `qupulse._program` to the public subpackage `qupulse.program`, i.e. `loop`, `volatile`, `transformation` and `waveforms`. This allows external packages/drivers to rely on stability of the `Loop` class. (`#779 `_) +- Add ``PulseTemplate.pad_to`` method to help padding to minimal lengths or multiples of given durations. (`#801 `_) + + +Misc +---- + +- `#771 `_ + + qupulse 0.8 (2023-03-28) ======================== diff --git a/changes.d/692.feature b/changes.d/692.feature deleted file mode 100644 index 7cbdb46c..00000000 --- a/changes.d/692.feature +++ /dev/null @@ -1 +0,0 @@ -Add `__pow__` as a repetition shortcut. This means you can do `my_pulse_template ** 5` or `my_pulse_template ** 'my_repetition_count'`. \ No newline at end of file diff --git a/changes.d/750.feature b/changes.d/750.feature deleted file mode 100644 index 9e745d69..00000000 --- a/changes.d/750.feature +++ /dev/null @@ -1,5 +0,0 @@ -Promote ``qupulse.expression`` to a subpackage and create ``qupulse.expression.protocol`` with protocol classes that define the expression interface that is supposed to be used by qupulse. -The ```sympy`` based implementation is moved to ``qupulse.expressions.sympy`` and imported in ``qupulse.expressions``. - -The intended use is to be able to use less powerful but faster implementations of the ``Expression`` protocol where appropriate. -In this first iteration, qupulse still relies on internals of the ``sympy`` based implementation in many places which is to be removed in the future. diff --git a/changes.d/771.misc b/changes.d/771.misc deleted file mode 100644 index 16846025..00000000 --- a/changes.d/771.misc +++ /dev/null @@ -1 +0,0 @@ -The `repr` implementation of `Loop` will now return an evaluable python expression. The old behaviour moved to the `str` implementation. diff --git a/changes.d/779.feature b/changes.d/779.feature deleted file mode 100644 index edae2b25..00000000 --- a/changes.d/779.feature +++ /dev/null @@ -1 +0,0 @@ -Promote parts of the private subpackage `qupulse._program` to the public subpackage `qupulse.program`, i.e. `loop`, `volatile`, `transformation` and `waveforms`. This allows external packages/drivers to rely on stability of the `Loop` class. diff --git a/changes.d/801.feature b/changes.d/801.feature deleted file mode 100644 index fa703198..00000000 --- a/changes.d/801.feature +++ /dev/null @@ -1,2 +0,0 @@ -Add ``PulseTemplate.pad_to`` method to help padding to minimal lengths or multiples of given durations. - \ No newline at end of file diff --git a/qupulse/__init__.py b/qupulse/__init__.py index d7b836bb..7a51cb38 100644 --- a/qupulse/__init__.py +++ b/qupulse/__init__.py @@ -2,7 +2,7 @@ import lazy_loader as lazy -__version__ = '0.8' +__version__ = '0.9' __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__) diff --git a/setup.cfg b/setup.cfg index 8b33e961..a53d823b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -82,8 +82,8 @@ filterwarnings = [build_sphinx] project = 'qupulse' -version = 0.8 -release = 0.8 +version = 0.9 +release = 0.9 source-dir = ./doc/source build-dir = ./doc/build fresh-env = 1