What’s new in the package¶
v0.7.0¶
Add
RiemannianAdamOptimizerinpyriemann_qiskit.optimization.riemannian_adam: Adam optimizer with manifold-aware retraction (periodic wrap / bound clipping) for variational quantum circuit parameters, complementingAndersonAccelerationOptimizer.
v0.6.0¶
Move
docplex,distance,mean, andanderson_optimizermodules frompyriemann_qiskit.utilsto the newpyriemann_qiskit.optimizationsubpackage. All imports must be updated accordingly (e.g.from pyriemann_qiskit.optimization.docplex import ClassicalOptimizer).Migrate to Qiskit 2.x (qiskit==2.4.1) — major breaking changes resolved:
BackendSamplerremoved; replaced withBackendSamplerV2(keyword-onlybackendargument,default_shotsoption)RawFeatureVectorclass removed; replaced withraw_feature_vector()functionProviderV1removed fromqiskit.providersCircuits must be pre-transpiled (ISA) before passing to
BackendSamplerV2;generate_preset_pass_manageradded indocplex.pyandwrappers.pyVQCnow receives apass_managerto handleSamplerQNNtranspilationSampler V2
run()API:run([(circuit, params)])replacesrun(circuit, params); results useBitArrayinstead ofquasi_dists
Bump qiskit-machine-learning to 0.9.0, qiskit-algorithms to 0.4.0, qiskit-ibm-runtime to 0.46.1, qiskit-aer to 0.17.2, qiskit-symb to 0.6.0
Fix
SymbFidelityStatevectorKernelcache key collision:num_qubitsis now included in the cache filenameAdd
regenerate_symb_cache.pyutility script to rebuild the symb_statevectors cache
v0.5.0¶
Improve sphinx documentation and readme
Improve automation with pytest/tesmon
Bump qiskit-machine-learning, qiskit-optimization
Bump mne, mne-bids, sklearn, moabb and pyriemann
Add QIOCE algorithm, Anderson optimization and Quantum state discriminator for EEG
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.5.0
v0.4.2¶
Deprecate FirebaseConnector
Remove deprecated function cov_to_corr_matrix
Drop support for Python 3.9 and add support for Python 3.12
QuanticMDM: Separate wrapper from algorithm
Remove global optimizer: this change is transparent for MDM and NCH
Bump mne, cvxpy, docplex and qiskit-aer to latest version
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.4.2
v0.4.1¶
Bump qiskit-algorithm, imbalanced-learn, cvxpy, qiskit-ibm-runtime, moabb
Add random seed generator to NCH
Fix log product formula for NCH
Add ablation studies for NCH
Add “full” strategy to NCH
Expose QAOA initial points
Break the classification module into algorithms and wrappers
Fix incorrect number of channels and selection condition inside ChannelSelection
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.4.1
v0.4.0¶
Bump mne and numpy, qiskit-ibm-runtime, cvxpy and docplex, qiskit-aer, scikit-learn and imbalanced-learn
Add implementation and support for QAOA-CV
Improve doc rendering
Separate import from docplex and quantum_provider
Integrate with qiskit-symb
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.4.0
v0.3.0¶
Migrate to Qiskit 1.0
Update to Moabb 1.1.0, scipy 1.13.1 and pyRiemann 0.6
Plot training curve for VQC and QAOA
- Quantum Autoencoder:
A transformer implemented as a quantum circuit. It can be used for quantum denoising for example. (experimental)
- Example with distance visualization:
An example on how to visualize the distance between two classes using MDM and NCH estimator.
- Added a new benchmark over many datasets:
It allows pipelines to be evaluated on a fixed number of datasets for P300 and Motor Imagery. It also provides statisitcal plots using standardized mean differences (SMD) from MOABB for performance comparison of pipelines (or algorithms).
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.3.0
v0.2.0¶
Bump dependencies
Correct implementation of logeuclid distance
Refactor MDM implementation
Change default parameters for QuantumMDM
Introduce Nearest Convex Hull classifier (NCH)
Change the default feature map for quantum SVC
Improve documentation
Add pyRiemann-qiskit to the Qiskit ecosystem
Improve Ci with automated benchmarks
Deprecate cov_to_corr_matrix
Create preprocessing.py
Add visualization method
Add an example with BI Illiteracy
Add an example with financial data
Fix issue with real quantum computer
Add Judge Classifier
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.2.0
v0.1.0¶
Remove support for python 3.7
Bump dependencies
Move QuantumClassifierWithDefaultRiemanianPipeline to the pipelines module
Example using Quantum MDM on real data
Example with quantum SVM on the titanic dataset
Example with Motor Imagery
Multiclass classification
Add visualization module
Example with quantum art visualization
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.1.0
v0.0.4¶
Improve documentation, power point presentation, wiki and Readme
Bump dependencies
Fix firebase admin could not load because of google cloud
Update docker image, and publish them on release
Add support functions and example for MOABB with firebase connector
Add a module to regroup quantum provider util functions
Change quantum simulator to Aer - compatible with CUDA acceleration on Linux.
Implement convex distance for Quantic MDM (Experimental)
Improve workflow for Ci/Cd (cache results, automate linting)
Add regularization of convex mean
Fix examples not running on Ci/Cd
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.0.4
v0.0.3¶
Enable python 3.10
Bump cvxpy and qiskit-ibmq-provider
Expose C and max_iter parameters for QSVC, SVC and Pegasos QSVC
Add support for Firebase
Improve Docker support
Fix deprecated api method in sphinx
Improve documentation:
display of sphinx documentation
Readme
Draft paper of the software
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.0.3
v0.0.2¶
Migrate from qiskit-aqua to qiskit-ml
Better support for docplex convex optimization model
Add support for docker, making possible to use a containerized environment with this project
Support for Pegasos implementation of quantum support-vector machines
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.0.2-dev
v0.0.1¶
Repository base architecture
Qiskit wrapper
Example with toys dataset and ERP
Exposure of hyperparameters (Shots, feature map, gamma, optimizer and variational form)
Support for pytest class and parametrization
Naive dimension reduction technics
Default pipeline with Riemann geometry and Qiskit
Support for docplex model for convex optimization
Example with scikit-learn GridSearchCV
Example with MOABB
Details:
https://github.com/pyRiemann/pyRiemann-qiskit/releases/tag/v0.0.1-dev