Skip to main content

A library for quantum machine learning following the scikit-learnstandard.

Project description

sQUlearn 0.3.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 feature map 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

Apache License 2.0

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

squlearn-0.3.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

squlearn-0.3.0-py3-none-any.whl (148.2 kB view details)

Uploaded Python 3

File details

Details for the file squlearn-0.3.0.tar.gz.

File metadata

  • Download URL: squlearn-0.3.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.5

File hashes

Hashes for squlearn-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b3420579096a056d7b0be6c3859c8f75dd89675bb3bd96bfe729f40b5921dc7f
MD5 e4c42080a586d36d8647f9560eef3394
BLAKE2b-256 55da47c177667aace4d5df8262f983525927952e807c7f16dee78c724fc83402

See more details on using hashes here.

File details

Details for the file squlearn-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: squlearn-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 148.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for squlearn-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a758be1621f45de717956569c779b6a754cf19d549c61524ef3d12c809e0b15
MD5 ca1eb52f832751653e9853a93944a55c
BLAKE2b-256 369819df918640fe49537f6e650acf3cf49e4ce8f479edb7f833408dff7d9015

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page