Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.3.0 release #358

Merged
merged 7 commits into from
Aug 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: |
garrison marked this conversation as resolved.
Show resolved Hide resolved
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.