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

[Stable] Pre-release Preparation for 0.8.1 #874

Merged
merged 13 commits into from
Dec 9, 2024
Merged

Conversation

OkuyanBoga
Copy link
Collaborator

@OkuyanBoga OkuyanBoga commented Dec 9, 2024

  • Merged important changes from the main.
  • Bump the version to 0.8.1

edoaltamura and others added 12 commits November 12, 2024 15:18
* Fix StackOverflow formatting typo

* Bump numpy version to 2
* Change version and activate stable tutorial tests

* Bump VERSION.txt
* 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
* 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]>
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
* Fix docs and update QNN derived primitives

* Fix LearningRate in TOCs

* Fix string formatting

* Fix spelling

* Fix spelling

* Fix spelling

* Fix copyright
* Added callback functionality to ADAM optimiser

* Added unittest for callback function
…torials, 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]>
…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]>
Update version for bug-fix release
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12234527761

Details

  • 67 of 78 (85.9%) changed or added relevant lines in 13 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 90.709%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit_machine_learning/algorithms/classifiers/pegasos_qsvc.py 11 12 91.67%
qiskit_machine_learning/algorithms/classifiers/vqc.py 11 12 91.67%
qiskit_machine_learning/algorithms/inference/qbayesian.py 14 15 93.33%
qiskit_machine_learning/neural_networks/estimator_qnn.py 1 2 50.0%
qiskit_machine_learning/optimizers/spsa.py 2 3 66.67%
qiskit_machine_learning/state_fidelities/compute_uncompute.py 2 3 66.67%
qiskit_machine_learning/neural_networks/sampler_qnn.py 3 5 60.0%
qiskit_machine_learning/gradients/param_shift/param_shift_sampler_gradient.py 0 3 0.0%
Totals Coverage Status
Change from base Build 12163330244: 0.2%
Covered Lines: 4364
Relevant Lines: 4811

💛 - Coveralls

@OkuyanBoga OkuyanBoga merged commit 3e446fd into stable/0.8 Dec 9, 2024
17 checks passed
@OkuyanBoga OkuyanBoga deleted the pre-release-0.8.1 branch December 9, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants