Skip to content

Commit

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

* Fix release notes

* Fix release notes
  • Loading branch information
caleb-johnson authored Sep 24, 2024
1 parent 41febb6 commit 799346f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

deploy:
name: Deploy docs
if: ${{ github.ref == 'refs/heads/stable/0.5' }}
if: ${{ github.ref == 'refs/heads/stable/0.6' }}
needs: build
permissions:
pages: write
Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pull_request_rules:
actions:
backport:
branches:
- stable/0.5
- stable/0.6
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 = "qiskit-addon-sqd"
version = "0.5.0"
version = "0.6.0"
readme = "README.md"
description = "Classically postprocess noisy quantum samples to yield more accurate energy estimations"
license = {file = "LICENSE.txt"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ deprecations:
.. code-block:: python
from qiskit_addon_sqd.fermion.bitstring_matrix_to_sorted_addresses
from qiskit_addon_sqd.fermion.bitstring_matrix_to_ci_strs
from qiskit_addon_sqd.fermion import (
bitstring_matrix_to_sorted_addresses,
bitstring_matrix_to_ci_strs,
)
# DEPRECATED CODE
bs_matrix = ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ upgrade:
To upgrade, change this code
.. code-block:: python
from qiskit_addon_sqd.fermion import bitstring_matrix_to_sorted_addresses
from qiskit_addon_sqd.fermion import solve_fermion, optimize_orbitals
# DEPRECATED CODE
from qiskit_addon_sqd.fermion import (
bitstring_matrix_to_sorted_addresses,
solve_fermion,
optimize_orbitals,
)
bitstring_matrix = ...
addresses = bitstring_matrix_to_sorted_addresses(bitstring_matrix, open_shell=open_shell)
Expand All @@ -27,10 +31,9 @@ upgrade:
eri=eri,
)
...to this code
.. code-block:: python
### SHOULD BECOME ###
# NEW CODE
from qiskit_addon_sqd.fermion import solve_fermion, optimize_orbitals
bitstring_matrix = ...
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/0.6/divzero-a6090f6555d1c716.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Fixed a bug in :func:`qiskit_addon_sqd.configuration_recovery.recover_configurations` which would sometimes cause a divide-by-zero error when calculating individual bit-flip probability.
4 changes: 0 additions & 4 deletions releasenotes/notes/divzero-a6090f6555d1c716.yaml

This file was deleted.

0 comments on commit 799346f

Please sign in to comment.