From 6810e59dbfe2d30d43cd1b0728dadcbcb3cb323d Mon Sep 17 00:00:00 2001 From: pablolh Date: Fri, 6 Jan 2023 12:56:02 +0100 Subject: [PATCH] Release OpenQL 0.11.0 --- .github/workflows/assets.yml | 8 ++++---- .github/workflows/test.yml | 2 +- .readthedocs.yml | 2 +- CHANGELOG.md | 16 +++++++++++++++- docs/.conda.yml | 2 +- docs/developer/automation.rst | 2 +- include/ql/version.h | 2 +- setup.py | 5 +++-- 8 files changed, 27 insertions(+), 12 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index d8ee4d764..b3ec3ae7b 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -20,11 +20,11 @@ jobs: fail-fast: false matrix: python: - - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' + - '3.11' steps: - uses: actions/checkout@v2 with: @@ -76,11 +76,11 @@ jobs: - 2014 - _2_28 cpython_version: - - 'cp36-cp36m' - 'cp37-cp37m' - 'cp38-cp38' - 'cp39-cp39' - 'cp310-cp310' + - 'cp311-cp311' include: - manylinux: 2014 bison_version: 'bison-3.0.4-2.el7' @@ -138,11 +138,11 @@ jobs: fail-fast: false matrix: python: - - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' + - '3.11' steps: - uses: actions/checkout@v2 with: @@ -203,11 +203,11 @@ jobs: # - macos-latest # - windows-2016 # python-version: -# - '3.6' # - '3.7' # - '3.8' # - '3.9' # - '3.10' +# - '3.11' # steps: # - uses: actions/checkout@v2 # with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82439fe59..6c7f29966 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,11 +72,11 @@ jobs: - macos-latest - windows-latest python: - - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' + - '3.11' steps: - uses: actions/checkout@v2 with: diff --git a/.readthedocs.yml b/.readthedocs.yml index 4c29af9a6..65a39b288 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,7 +14,7 @@ formats: # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 + version: 3.11 install: - method: setuptools path: . diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bf4690fa..2ddd68dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,24 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [ next ] - [ TBD ] ### Added +- + +### Changed +- + +### Removed +- + + +## [ 0.11.0 ] - [ 2023-01-06 ] +### Added - CC backend: - support for cQASM 1.2 features through new IR - limitations - integer values must be non-negative - support for resource constrained scheduler - - creates .map file reporting measurement statements present in input, to allow retrieving measurements downstream + - creates .map file reporting measurement statements present in input, to allow retrieving measurements downstream +- support for Python up to 3.11 ### Changed - pass dec.Instructions: duration=0 in new-style decomposition rules now disables checking whether expansion fits, allowing automatic calculation of duration (and requiring scheduling after decomposition of such rules) @@ -22,12 +34,14 @@ This project adheres to [Semantic Versioning](http://semver.org/). - classification of gates as *real-time* measurement now based on signal definition ("signal/type" equals "measure" and "signal/value" empty) - absence of key "cc" now implies empty "signal", so `"cc": { "signal": [] }` is no longer necessary - passes and architectures self-register statically to their respective factories +- initial placer uses new IR and new MIP solver called HiGHS ### Removed - CC backend: - support for JSON key "pragma/break" for instruction definitions - macro expansion for JSON key instruction/signal/value (unused anyway) - support for sweep points in API and the WriteSweepPointsPass +- support for Python up to and including 3.6 ### Fixed - pass dec.Instructions diff --git a/docs/.conda.yml b/docs/.conda.yml index af04fd41d..cc71bffbd 100644 --- a/docs/.conda.yml +++ b/docs/.conda.yml @@ -1,5 +1,5 @@ dependencies: - - python=3.7 + - python=3.11 - setuptools - swig - cmake diff --git a/docs/developer/automation.rst b/docs/developer/automation.rst index e834f73c7..a7fdbce53 100644 --- a/docs/developer/automation.rst +++ b/docs/developer/automation.rst @@ -21,7 +21,7 @@ The suite runs the following things: - the standalone C++ test, built completely out of context. The former two are run on ``ubuntu-latest``, ``macos-latest``, and ``windows-latest`` for all active Python versions -(currently 3.6 through 3.9). The latter is only run on ``ubuntu-latest``, as it doesn't check much except inclusion +(currently 3.7 through 3.11). The latter is only run on ``ubuntu-latest``, as it doesn't check much except inclusion of the project via CMake. .. note:: diff --git a/include/ql/version.h b/include/ql/version.h index f7e81de6b..b0e363663 100644 --- a/include/ql/version.h +++ b/include/ql/version.h @@ -7,4 +7,4 @@ * * OPENQL_VERSION_STRING is also decoded by setup.py */ -#define OPENQL_VERSION_STRING "0.10.5" +#define OPENQL_VERSION_STRING "0.11.0" diff --git a/setup.py b/setup.py index 3a275f0a7..791a95122 100755 --- a/setup.py +++ b/setup.py @@ -265,10 +265,11 @@ def initialize_options(self): 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Scientific/Engineering' ],