From e8920ad381ec539dbfc942ac3d19d62753c32202 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 31 Oct 2023 11:06:13 -0400 Subject: [PATCH] Prepare 0.5.0 release (#438) * Prepare 0.5.0 release * Move release notes to `0.5` directory --- .github/workflows/docs.yml | 2 +- .mergify.yml | 2 +- docs/circuit_cutting/explanation/index.rst | 2 +- .../01_gate_cutting_to_reduce_circuit_width.ipynb | 2 +- .../02_gate_cutting_to_reduce_circuit_depth.ipynb | 2 +- pyproject.toml | 2 +- .../deprecate-execute_experiments-b96e39653546dcc1.yaml | 0 releasenotes/notes/0.5/prepare-0.5-1057fa4d83bf26dc.yaml | 8 ++++++++ .../{ => 0.5}/qiskit-algorithms-ec3fe782619bab45.yaml | 0 .../{ => 0.5}/qiskit-nature-pinned-c359e3933bfef993.yaml | 0 .../register_order_swapped-5b07fb661c6250f9.yaml | 0 .../{ => 0.5}/remove-wire-cutting-ad0e7ab8af699561.yaml | 0 12 files changed, 14 insertions(+), 6 deletions(-) rename releasenotes/notes/{ => 0.5}/deprecate-execute_experiments-b96e39653546dcc1.yaml (100%) create mode 100644 releasenotes/notes/0.5/prepare-0.5-1057fa4d83bf26dc.yaml rename releasenotes/notes/{ => 0.5}/qiskit-algorithms-ec3fe782619bab45.yaml (100%) rename releasenotes/notes/{ => 0.5}/qiskit-nature-pinned-c359e3933bfef993.yaml (100%) rename releasenotes/notes/{ => 0.5}/register_order_swapped-5b07fb661c6250f9.yaml (100%) rename releasenotes/notes/{ => 0.5}/remove-wire-cutting-ad0e7ab8af699561.yaml (100%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c20bf302a..9dae9cdd1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -44,7 +44,7 @@ jobs: name: html_docs path: ./docs/_build/html - name: Deploy docs - if: ${{ github.ref == 'refs/heads/stable/0.4' }} + if: ${{ github.ref == 'refs/heads/stable/0.5' }} uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mergify.yml b/.mergify.yml index 0c4f2e613..aebea99e7 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,4 +5,4 @@ pull_request_rules: actions: backport: branches: - - stable/0.4 + - stable/0.5 diff --git a/docs/circuit_cutting/explanation/index.rst b/docs/circuit_cutting/explanation/index.rst index 5a40579f8..c8b6cc60d 100644 --- a/docs/circuit_cutting/explanation/index.rst +++ b/docs/circuit_cutting/explanation/index.rst @@ -42,7 +42,7 @@ Much of the circuit cutting literature describes a process where we sample from Current limitations ------------------- -* ``PauliList`` is the only supported observable format until no sooner than CKT v0.5.0. +* ``PauliList`` is the only supported observable format until no sooner than CKT v0.6.0. References ---------- diff --git a/docs/circuit_cutting/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb b/docs/circuit_cutting/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb index 778b32a6b..a65497c39 100644 --- a/docs/circuit_cutting/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb +++ b/docs/circuit_cutting/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb @@ -58,7 +58,7 @@ "source": [ "### Specify some observables\n", "\n", - "Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.5.0." + "Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.6.0." ] }, { diff --git a/docs/circuit_cutting/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb b/docs/circuit_cutting/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb index 7539f4605..e3d035331 100644 --- a/docs/circuit_cutting/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb +++ b/docs/circuit_cutting/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb @@ -57,7 +57,7 @@ "source": [ "### Specify some observables\n", "\n", - "Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.5.0." + "Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.6.0." ] }, { diff --git a/pyproject.toml b/pyproject.toml index 4867a9a73..4416c444d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "circuit-knitting-toolbox" -version = "0.4.0" +version = "0.5.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/deprecate-execute_experiments-b96e39653546dcc1.yaml b/releasenotes/notes/0.5/deprecate-execute_experiments-b96e39653546dcc1.yaml similarity index 100% rename from releasenotes/notes/deprecate-execute_experiments-b96e39653546dcc1.yaml rename to releasenotes/notes/0.5/deprecate-execute_experiments-b96e39653546dcc1.yaml diff --git a/releasenotes/notes/0.5/prepare-0.5-1057fa4d83bf26dc.yaml b/releasenotes/notes/0.5/prepare-0.5-1057fa4d83bf26dc.yaml new file mode 100644 index 000000000..17f94a9f9 --- /dev/null +++ b/releasenotes/notes/0.5/prepare-0.5-1057fa4d83bf26dc.yaml @@ -0,0 +1,8 @@ +--- +prelude: | + The primary purpose of this release is to swap the order of the + classical registers in the circuits generated the + :mod:`circuit_knitting.cutting` module. With this change, + ``"observable_measurements"`` now comes before + ``"qpd_measurements"``, and there is no longer a need to insert + ``num_qpd_bits`` into the result metadata by hand. diff --git a/releasenotes/notes/qiskit-algorithms-ec3fe782619bab45.yaml b/releasenotes/notes/0.5/qiskit-algorithms-ec3fe782619bab45.yaml similarity index 100% rename from releasenotes/notes/qiskit-algorithms-ec3fe782619bab45.yaml rename to releasenotes/notes/0.5/qiskit-algorithms-ec3fe782619bab45.yaml diff --git a/releasenotes/notes/qiskit-nature-pinned-c359e3933bfef993.yaml b/releasenotes/notes/0.5/qiskit-nature-pinned-c359e3933bfef993.yaml similarity index 100% rename from releasenotes/notes/qiskit-nature-pinned-c359e3933bfef993.yaml rename to releasenotes/notes/0.5/qiskit-nature-pinned-c359e3933bfef993.yaml diff --git a/releasenotes/notes/register_order_swapped-5b07fb661c6250f9.yaml b/releasenotes/notes/0.5/register_order_swapped-5b07fb661c6250f9.yaml similarity index 100% rename from releasenotes/notes/register_order_swapped-5b07fb661c6250f9.yaml rename to releasenotes/notes/0.5/register_order_swapped-5b07fb661c6250f9.yaml diff --git a/releasenotes/notes/remove-wire-cutting-ad0e7ab8af699561.yaml b/releasenotes/notes/0.5/remove-wire-cutting-ad0e7ab8af699561.yaml similarity index 100% rename from releasenotes/notes/remove-wire-cutting-ad0e7ab8af699561.yaml rename to releasenotes/notes/0.5/remove-wire-cutting-ad0e7ab8af699561.yaml