From 7e1b6db1e822ab1424e65a4eb6772ffee815671b Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Fri, 19 Apr 2024 13:36:23 -0400 Subject: [PATCH] Prepare 0.7.0 release (#555) --- .github/workflows/docs.yml | 2 +- .mergify.yml | 2 +- pyproject.toml | 2 +- ...utomatic-cut-finding-696556915e347138.yaml | 0 ...-dependency-versions-d5dc3b10ba842f2d.yaml | 0 .../cutting-samplerv2-603b0c631a3330df.yaml | 0 .../deprecate-cutqc-7541c514bd96fb05.yaml | 2 +- .../0.7/prepare-0.7.0-48b344ae77523c34.yaml | 22 +++++++++++++++++++ .../qpd_py_gone-854d6fd5d070f844.yaml | 0 9 files changed, 26 insertions(+), 4 deletions(-) rename releasenotes/notes/{ => 0.7}/automatic-cut-finding-696556915e347138.yaml (100%) rename releasenotes/notes/{ => 0.7}/bump-dependency-versions-d5dc3b10ba842f2d.yaml (100%) rename releasenotes/notes/{ => 0.7}/cutting-samplerv2-603b0c631a3330df.yaml (100%) rename releasenotes/notes/{ => 0.7}/deprecate-cutqc-7541c514bd96fb05.yaml (79%) create mode 100644 releasenotes/notes/0.7/prepare-0.7.0-48b344ae77523c34.yaml rename releasenotes/notes/{ => 0.7}/qpd_py_gone-854d6fd5d070f844.yaml (100%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8cc45a309..64b37d12d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -50,7 +50,7 @@ jobs: name: ckt_html_docs path: ./artifact - name: Deploy docs - if: ${{ github.ref == 'refs/heads/stable/0.6' }} + if: ${{ github.ref == 'refs/heads/stable/0.7' }} uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mergify.yml b/.mergify.yml index 857b1c780..7eabeb009 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,4 +5,4 @@ pull_request_rules: actions: backport: branches: - - stable/0.6 + - stable/0.7 diff --git a/pyproject.toml b/pyproject.toml index 7e5a4b6a0..96e6039a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "circuit-knitting-toolbox" -version = "0.6.0" +version = "0.7.0" description = "A software prototype for a circuit knitting toolbox which connects user applications with runtime primitives" readme = "README.md" license = {file = "LICENSE.txt"} diff --git a/releasenotes/notes/automatic-cut-finding-696556915e347138.yaml b/releasenotes/notes/0.7/automatic-cut-finding-696556915e347138.yaml similarity index 100% rename from releasenotes/notes/automatic-cut-finding-696556915e347138.yaml rename to releasenotes/notes/0.7/automatic-cut-finding-696556915e347138.yaml diff --git a/releasenotes/notes/bump-dependency-versions-d5dc3b10ba842f2d.yaml b/releasenotes/notes/0.7/bump-dependency-versions-d5dc3b10ba842f2d.yaml similarity index 100% rename from releasenotes/notes/bump-dependency-versions-d5dc3b10ba842f2d.yaml rename to releasenotes/notes/0.7/bump-dependency-versions-d5dc3b10ba842f2d.yaml diff --git a/releasenotes/notes/cutting-samplerv2-603b0c631a3330df.yaml b/releasenotes/notes/0.7/cutting-samplerv2-603b0c631a3330df.yaml similarity index 100% rename from releasenotes/notes/cutting-samplerv2-603b0c631a3330df.yaml rename to releasenotes/notes/0.7/cutting-samplerv2-603b0c631a3330df.yaml diff --git a/releasenotes/notes/deprecate-cutqc-7541c514bd96fb05.yaml b/releasenotes/notes/0.7/deprecate-cutqc-7541c514bd96fb05.yaml similarity index 79% rename from releasenotes/notes/deprecate-cutqc-7541c514bd96fb05.yaml rename to releasenotes/notes/0.7/deprecate-cutqc-7541c514bd96fb05.yaml index 1f10d8468..83c66e21a 100644 --- a/releasenotes/notes/deprecate-cutqc-7541c514bd96fb05.yaml +++ b/releasenotes/notes/0.7/deprecate-cutqc-7541c514bd96fb05.yaml @@ -1,7 +1,7 @@ --- deprecations: - | - The ``circuit_cutting.cutqc`` package is deprecated and will be removed no sooner than Circuit Knitting Toolbox 0.8.0. + The ``circuit_knitting.cutting.cutqc`` package is deprecated and will be removed no sooner than Circuit Knitting Toolbox 0.8.0. The wire cutting functionality in the :mod:`circuit_knitting.cutting` package is what will be maintained going forward. Additionally, there is a new automated gate and wire cut-finding functionality in the :mod:`circuit_knitting.cutting.automated_cut_finding` module. A `tutorial `__ has been added to demonstrate automated cut-finding. diff --git a/releasenotes/notes/0.7/prepare-0.7.0-48b344ae77523c34.yaml b/releasenotes/notes/0.7/prepare-0.7.0-48b344ae77523c34.yaml new file mode 100644 index 000000000..116803814 --- /dev/null +++ b/releasenotes/notes/0.7/prepare-0.7.0-48b344ae77523c34.yaml @@ -0,0 +1,22 @@ +--- +prelude: + + The 0.7 release introduces an automated cut finding code for the new + circuit cutting workflow. With this milestone, the older cutting + workflow (CutQC) is now deprecated. Additionally, this is the first + CKT release to support version 2 of the Qiskit Runtime primitives. + User are encouraged to `migrate to v2 primitives + `__ + as soon as possible. + +other: + - | + The cutting tutorials have been rephrased with the goal of + reconstructing the expectation value of a single + :class:`~qiskit.quantum_info.SparsePauliOp` with many terms, + rather than multiple independent + :class:`~qiskit.quantum_info.Pauli` observables. + - | + The `circuit cutting explanation + <./circuit_cutting/explanation/index.rst>`__ document has been + expanded significantly. diff --git a/releasenotes/notes/qpd_py_gone-854d6fd5d070f844.yaml b/releasenotes/notes/0.7/qpd_py_gone-854d6fd5d070f844.yaml similarity index 100% rename from releasenotes/notes/qpd_py_gone-854d6fd5d070f844.yaml rename to releasenotes/notes/0.7/qpd_py_gone-854d6fd5d070f844.yaml