Skip to content

Commit 3e446fd

Browse files
OkuyanBogaedoaltamuraoscar-wallismergify[bot]smens
authored
[Stable] Pre-release Preparation for 0.8.1 (#874)
* Fix StackOverflow formatting typo in `README.md` (#847) * Fix StackOverflow formatting typo * Bump numpy version to 2 * Post release 0.8 (#844) * Change version and activate stable tutorial tests * Bump VERSION.txt * Cleanup and bugfix to support different primitives. (#55) (#855) * Cleanup and bugfix for different primitives support (#55) * Quick fix and lint for unit tests. * Fixed a bug in ComputeUncompute and lint corrections. * Fix formatting for algorithm tests * Reformatting some variables to make lint compliant. * Refactor: Cleanup code, preserve existing formatting, apply minor bug fixes, and update missing documentation * Removing unsupported classes. * Fix for lint * Fix lint errors uncovered during workflow checks * Adjust a unit test to accomodate noise-related variations * Docs 0p8 clean (#857) * Reducing numpy version for deploy-docs.yml to fix numpy 2.0 bug (#851) * Update deploy-docs.yml (#853) - Updated Python version from 3.9 to 3.10. - Removed version constraint on torchvision. - Removed Numpy version constraint. * Update deploy-docs.yml to '3.10' (#854) --------- Co-authored-by: M. Emre Sahin <[email protected]> Co-authored-by: Oscar <[email protected]> * Remove `fastdtw` (#861) * ci(mergify): upgrade configuration to current format (#860) Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com> * [Docs] Fix TOCs and update QNN derived primitives (#862) * Fix docs and update QNN derived primitives * Fix LearningRate in TOCs * Fix string formatting * Fix spelling * Fix spelling * Fix spelling * Fix copyright * Pin Qiskit to `<1.3` (#865) * Added callback function support for adam-amsgrad optimizer. (#869) * Added callback functionality to ADAM optimiser * Added unittest for callback function * Cumulative update to extend the V2 support for algorithms, updated tutorials, and partial multiclass support for VQC. (#870) * Added migration guide for 0.8 * Added V2 support for algorithms * V2 support added for unit tests of the algorithms and tutorials are updated for V2 * Spell check and lint * Update 02_migration_guide_0.8.rst * Update 02_migration_guide_0.8.rst adding optimisation level * Bugfix for V2 primitives without transpilation * Fix tutorials and release notes * Update 04_torch_qgan.ipynb * Bugfix for Qiskit 1.x register name ambiguity * Restored docs * Typo fix in gradients --------- Co-authored-by: smens <[email protected]> Co-authored-by: Oscar <[email protected]> * Add predict_proba Support to PegasosQSVC and NeuralNetworkClassifier (#871) * Adding a predict_proba function to classifiers. (#57) * Update README.md * Predict proba for NNC and PegQSVC * Rewriting predict proba features and docstring It was very inefficient before and didn't have the validation checks needed. The code is now more clear and docstring has been added. * Tweak documentation for NNC and PegasosQSVC, silence lint E1101 on torch connector * Update test with `QNN.predict_proba` * Update test with `PegasosESVC.predict_proba` * Added a release note and solved conflicts with main --------- Co-authored-by: FrancescaSchiav <[email protected]> Co-authored-by: oscar-wallis <[email protected]> Co-authored-by: Edoardo Altamura <[email protected]> Co-authored-by: smens <[email protected]> * Reformatted docs * Fix usage of sklearn --------- Co-authored-by: FrancescaSchiav <[email protected]> Co-authored-by: oscar-wallis <[email protected]> Co-authored-by: Edoardo Altamura <[email protected]> Co-authored-by: smens <[email protected]> * Bump version to 0.8.1 Update version for bug-fix release --------- Co-authored-by: Edoardo Altamura <[email protected]> Co-authored-by: Oscar <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: smens <[email protected]> Co-authored-by: FrancescaSchiav <[email protected]>
1 parent 746ca3d commit 3e446fd

File tree

58 files changed

+1363
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1363
-369
lines changed

.github/workflows/main.yml

+30-30
Original file line numberDiff line numberDiff line change
@@ -225,36 +225,36 @@ jobs:
225225
with:
226226
name: tutorials${{ matrix.python-version }}
227227
path: docs/_build/html/artifacts/tutorials.tar.gz
228-
# - name: Run stable tutorials
229-
# env:
230-
# QISKIT_PARALLEL: False
231-
# QISKIT_DOCS_BUILD_TUTORIALS: 'always'
232-
# run: |
233-
# # clean last sphinx output
234-
# make clean_sphinx
235-
# # get current version
236-
# version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
237-
# # download stable version
238-
# wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
239-
# unzip /tmp/repo.zip -d /tmp/
240-
# # copy stable tutorials to main tutorials
241-
# cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
242-
# # run tutorials and zip results
243-
# echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
244-
# # ignore unreleased/untagged notes
245-
# tools/ignore_untagged_notes.sh
246-
# make html
247-
# cd docs/_build/html
248-
# mkdir artifacts
249-
# tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
250-
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
251-
# shell: bash
252-
# - name: Run upload stable tutorials
253-
# uses: actions/upload-artifact@v4
254-
# with:
255-
# name: tutorials-stable${{ matrix.python-version }}
256-
# path: docs/_build/html/artifacts/tutorials.tar.gz
257-
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
228+
- name: Run stable tutorials
229+
env:
230+
QISKIT_PARALLEL: False
231+
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
232+
run: |
233+
# clean last sphinx output
234+
make clean_sphinx
235+
# get current version
236+
version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
237+
# download stable version
238+
wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
239+
unzip /tmp/repo.zip -d /tmp/
240+
# copy stable tutorials to main tutorials
241+
cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
242+
# run tutorials and zip results
243+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
244+
# ignore unreleased/untagged notes
245+
tools/ignore_untagged_notes.sh
246+
make html
247+
cd docs/_build/html
248+
mkdir artifacts
249+
tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
250+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
251+
shell: bash
252+
- name: Run upload stable tutorials
253+
uses: actions/upload-artifact@v4
254+
with:
255+
name: tutorials-stable${{ matrix.python-version }}
256+
path: docs/_build/html/artifacts/tutorials.tar.gz
257+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
258258
Deprecation_Messages_and_Coverage:
259259
needs: [Checks, MachineLearning, Tutorials]
260260
runs-on: ubuntu-latest

.mergify.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
queue_rules:
22
- name: automerge
3-
conditions:
4-
- check-success=Deprecation_Messages_and_Coverage (3.9)
5-
6-
pull_request_rules:
7-
- name: automatic merge on CI success and review
8-
conditions:
3+
queue_conditions:
94
- check-success=Deprecation_Messages_and_Coverage (3.9)
105
- "#approved-reviews-by>=1"
116
- label=automerge
127
- label!=on hold
13-
actions:
14-
queue:
15-
name: automerge
16-
method: squash
8+
merge_conditions:
9+
- check-success=Deprecation_Messages_and_Coverage (3.9)
10+
merge_method: squash
11+
12+
pull_request_rules:
1713
- name: backport
1814
conditions:
1915
- label=stable backport potential
2016
actions:
2117
backport:
2218
branches:
23-
- stable/0.7
19+
- stable/0.8
20+
- name: automatic merge on CI success and review
21+
conditions: []
22+
actions:
23+
queue:

.pylintdict

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ dp
123123
dt
124124
125125
eda
126+
edaspy
126127
egger
127128
eigen
128129
eigenphase
@@ -576,6 +577,7 @@ vatan
576577
vec
577578
vectorized
578579
veeravalli
580+
vicente
579581
vicentini
580582
vigo
581583
ville
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-gradients:
2+
3+
.. automodule:: qiskit_machine_learning.gradients
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-optimizers:
2+
3+
.. automodule:: qiskit_machine_learning.optimizers
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-state_fidelities:
2+
3+
.. automodule:: qiskit_machine_learning.state_fidelities
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:

0 commit comments

Comments
 (0)