Skip to content

Commit

Permalink
Prepare 0.3.0 release (#358)
Browse files Browse the repository at this point in the history
* Prepare 0.3.0 release

* Prelude note and revise a few others

* Move all release notes to `0.3` directory

* Update desired stable branch in docs workflow

* Update releasenotes/notes/0.3/prepare-0.3-d9049766293a3be7.yaml

Co-authored-by: Caleb Johnson <[email protected]>

* Add a sentence to prelude release note about significant new cutting features

#358 (comment)

---------

Co-authored-by: Caleb Johnson <[email protected]>
  • Loading branch information
garrison and caleb-johnson authored Aug 19, 2023
1 parent dbd778c commit a2b36f5
Show file tree
Hide file tree
Showing 23 changed files with 29 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: html_docs
path: ./docs/_build/html
- name: Deploy docs
if: ${{ github.ref == 'refs/heads/stable/0.2' }}
if: ${{ github.ref == 'refs/heads/stable/0.3' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/circuit_cutting/explanation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Key terms

Current limitations
-------------------
* ``PauliList`` is the only supported observable format until no sooner than CKT v0.3.0.
* ``PauliList`` is the only supported observable format until no sooner than CKT v0.4.0.

References
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,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.3.0."
"Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.4.0."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,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.3.0."
"Currently, only `Pauli` observables with phase equal to 1 are supported. Full support for `SparsePauliOp` is expected in CKT v0.4.0."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "circuit-knitting-toolbox"
version = "0.2.0"
version = "0.3.0"
description = "A software prototype for a circuit knitting toolbox which connects user applications with runtime primitives"
readme = "README.md"
license = {file = "LICENSE.txt"}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
deprecations:
- |
:func:`.decompose_gates` is deprecated and will be removed no sooner than v0.4.0. Users should migrate to the identical :func:`.cut_gates` function.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
fixes:
- |
Fixed a bug in :class:`~circuit_knitting.forging.EntanglementForgingGroundStateSolver` which was causing
``AttributeError``\ s when instantiating the `~circuit_knitting.forging.EntanglementForgingResult` in certain
``AttributeError``\ s when instantiating the :class:`~circuit_knitting.forging.EntanglementForgingResult` in certain
conditions, such as when reducing the orbitals over which to solve.
11 changes: 11 additions & 0 deletions releasenotes/notes/0.3/prepare-0.3-d9049766293a3be7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
prelude: |
The 0.3.0 release introduces significant new features while maintaining
backwards compatibility with the 0.2.0 release. The most striking
change in this release is the shortened module names:
``circuit_knitting_toolbox`` has been renamed to
``circuit_knitting``, ``entanglement_forging`` has been renamed to
``forging``, and ``circuit_cutting`` has been renamed to
``cutting``. The new circuit cutting module contains significant
enhancements, including support for wire cutting and for the cutting
of arbitrary two-qubit gates.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
upgrade:
- |
:class:`.BaseQPDGate` instances in subcircuits
returned from :func:`.partition_circuit_qubits`
and :func:`.partition_problem` will now have
labels prefixed with "cut", rather than "qpd".

This file was deleted.

This file was deleted.

0 comments on commit a2b36f5

Please sign in to comment.