A library for quantum machine learning following the scikit-learnstandard.
Project description
sQUlearn 0.4.0
sQUlearn is a novel Python package introducing Quantum Machine Learning (QML) capabilities to traditional machine learning pipelines via a high-level / low-level design approach. The package features an array of algorithms including Quantum Support Vector Machines, Quantum Gaussian Processes, Quantum Kernel Ridge Regression and Quantum Neural Networks (QNN), all designed to seamlessly integrate with scikit-learn. The QNN engine facilitates efficient gradient computation and automated training with non-linear parametrized circuits. Users can further customize their QNN models, enhancing flexibility and potential outcomes. sQUlearn's kernel engines are designed to meet various needs, with fidelity kernels and projected quantum kernels, the latter leveraging the QNN engine for optimization. A encoding circuit tool allows for efficient layer-wise design based on strings, encouraging innovation beyond standard implementations. Lastly, backend integration with IBM quantum computers is handled with a custom execution engine that optimizes session management on quantum backends and simulators, ensuring optimal use of quantum resources and creating an accessible environment for QML experimentation.
Prerequisites
The package requires at least Python 3.9.
Installation
Stable Release
To install the stable release version of sQUlearn, run the following command:
pip install squlearn
Alternatively, you can install sQUlearn directly from GitHub via
pip install git+ssh://git@github.com:sQUlearn/squlearn.git
Examples
There are several more elaborate examples available in the folder ./examples
which display the features of this package.
Tutorials for beginners can be found at ./examples/tutorials
.
To install the required packages, run
pip install .[examples]
Contribution
Thanks for considering to contribute to sQUlearn! Please read our contribution guidelines before you submit a pull request.
License
Imprint
This project is maintained by the quantum computing group at the Fraunhofer Institute for Manufacturing Engineering and Automation IPA. It started as a collection of implementations of quantum machine learning methods.
http://www.ipa.fraunhofer.de/quantum
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file squlearn-0.4.0.tar.gz
.
File metadata
- Download URL: squlearn-0.4.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69e6da9d092f638cc779130890803a8165a942ed6b4a5b0fff49b44271e5c39f |
|
MD5 | b9c58b620b8973bd670fab6df746b485 |
|
BLAKE2b-256 | 3b2db47e5608cd043e097f434ba270882a514cd7594a9a1504df7de7a8b85895 |
File details
Details for the file squlearn-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: squlearn-0.4.0-py3-none-any.whl
- Upload date:
- Size: 162.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d02c27e241bc0bd726cba19f9afdb2721883882a76d8ee57db2cceb94607cf |
|
MD5 | 2898f4e0eab5c6efd6eb2682eaef28c9 |
|
BLAKE2b-256 | d558a93b4a8cbcf17e33999688723b72755caa6ef7eae5ec3d6258c1279da317 |