Metadata-Version: 2.4
Name: squlearn
Version: 0.11.0
Summary: A library for quantum machine learning following the scikit-learn standard.
Keywords: quantum,machine learning,qml
Author-email: David Kreplin <david.kreplin@ipa.fraunhofer.de>, Moritz Willmann <moritz.willmann@ipa.fraunhofer.de>, Jan Schnabel <jan.schnabel@ipa.fraunhofer.de>, Frederic Rapp <frederic.rapp@ipa.fraunhofer.de>, Manuel Hagelüken <manuel.hagelueken@ipa.fraunhofer.de>, Marco Roth <marco.roth@ipa.fraunhofer.de>
Maintainer-email: David Kreplin <david.kreplin@ipa.fraunhofer.de>, Moritz Willmann <moritz.willmann@ipa.fraunhofer.de>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
License-File: LICENSE.txt
Requires-Dist: bayesian-optimization>=1.4.3,<2
Requires-Dist: dill>=0.3.5
Requires-Dist: mapomatic>=0.12.0
Requires-Dist: networkx>=3.0
Requires-Dist: numpy>=1.22
Requires-Dist: pennylane>=0.34.0
Requires-Dist: qiskit>=1.0.0,<3.0.0
Requires-Dist: qiskit-aer>=0.14.0.1
Requires-Dist: qiskit-algorithms>=0.3.0
Requires-Dist: qiskit-ibm-runtime>=0.19.0
Requires-Dist: qiskit-machine-learning>=0.7.0
Requires-Dist: scipy>=1.8.0
Requires-Dist: scikit-learn>=1.2.0
Requires-Dist: sympy>=1.8
Requires-Dist: tqdm>=4.1.0
Requires-Dist: qulacs>=0.6.0
Requires-Dist: black[jupyter] ; extra == "dev"
Requires-Dist: flit ; extra == "dev"
Requires-Dist: nbmake ; extra == "dev"
Requires-Dist: pylint ; extra == "dev"
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: ipykernel ; extra == "docs"
Requires-Dist: jupyter-sphinx ; extra == "docs"
Requires-Dist: matplotlib>=3.4.1 ; extra == "docs"
Requires-Dist: myst-parser ; extra == "docs"
Requires-Dist: nbsphinx ; extra == "docs"
Requires-Dist: nbsphinx_link ; extra == "docs"
Requires-Dist: pylatexenc>=2.10 ; extra == "docs"
Requires-Dist: sphinx ; extra == "docs"
Requires-Dist: sphinxcontrib-spelling ; extra == "docs"
Requires-Dist: sphinx-rtd-theme<3.0.0 ; extra == "docs"
Requires-Dist: sphinx-sitemap ; extra == "docs"
Requires-Dist: scikit-learn!=1.7.1 ; extra == "docs"
Requires-Dist: jupyter ; extra == "examples"
Requires-Dist: matplotlib>=3.4.1 ; extra == "examples"
Requires-Dist: mlflow ; extra == "examples"
Requires-Dist: numpy>=1.24.1 ; extra == "examples"
Requires-Dist: pandas ; extra == "examples"
Requires-Dist: pylatexenc>=2.10 ; extra == "examples"
Requires-Dist: seaborn ; extra == "examples"
Requires-Dist: scikit-optimize ; extra == "examples"
Project-URL: documentation, https://squlearn.github.io
Project-URL: github, https://github.com/sQUlearn/squlearn
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: examples

<p align="center">
  <img alt="sQUlearn" src="https://raw.githubusercontent.com/sQUlearn/squlearn/main/docs/_static/logo.png" />
</p>

sQUlearn is a user-friendly, NISQ-ready Python library for quantum machine learning (QML), designed for seamless integration with classical machine learning tools like scikit-learn. The library's dual-layer architecture serves both QML researchers and practitioners, enabling efficient prototyping, experimentation, and pipelining. sQUlearn provides a comprehensive tool set that includes both quantum kernel methods and quantum neural networks, along with features like customizable data encoding strategies, automated execution handling, and specialized kernel regularization techniques. By focusing on NISQ-compatibility and end-to-end automation, sQUlearn aims to bridge the gap between current quantum computing capabilities and practical machine learning applications.

sQUlearn offers scikit-learn compatible high-level interfaces for various kernel methods, QNNs and quantum reservoir computing. They build on top of the low-level interfaces of the QNN engine and the quantum kernel engine. The executor is used to run experiments on simulated and real backends of the PennyLane, Qiskit and Qulacs frameworks.

<p align="center">
  <img width=600px alt="sQUlearn schematic" src="https://raw.githubusercontent.com/sQUlearn/squlearn/main/docs/_static/schematic.png" />
</p>

---

## Prerequisites

The package requires **at least Python 3.10**.
## Install sQUlearn

### Stable Release

To install the stable release version of sQUlearn, run the following command:
```bash
pip install squlearn
```

Alternatively, you can install sQUlearn directly from GitHub via
```bash
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
```bash
pip install .[examples]
```

## Contribute to sQUlearn
Thanks for considering contributing to sQUlearn! Please read our [contribution guidelines](https://github.com/sQUlearn/squlearn/blob/main/.github/CONTRIBUTING.md) before you submit a pull request.

---
## License

sQUlearn is released under the [Apache License 2.0](https://github.com/sQUlearn/squlearn/blob/main/LICENSE.txt)

## Cite sQUlearn
If you use sQUlearn in your work, please cite our paper:

> Kreplin, D. A., Willmann, M., Schnabel, J., Rapp, F., Hagelüken, M., & Roth, M. (2025). sQUlearn: A Python Library for Quantum Machine Learning. *IEEE Software, 42*(5), 65–72. [https://doi.org/10.1109/MS.2025.3527736](https://doi.org/10.1109/MS.2025.3527736)

## Contact
This project is maintained by the quantum computing group at the Fraunhofer Institute for Manufacturing Engineering and Automation IPA.

[http://www.ipa.fraunhofer.de/quantum](http://www.ipa.fraunhofer.de/quantum)

For general questions regarding sQUlearn, use the [GitHub Discussions](https://github.com/sQUlearn/squlearn/discussions) or feel free to contact [sQUlearn@gmail.com](mailto:sQUlearn@gmail.com).

---
## Acknowledgements

This project was supported by the German Federal Ministry of Economic Affairs and Climate Action through the projects AutoQML (grant no. 01MQ22002A) and AQUAS (grant no. 01MQ22003D), as well as the German Federal Ministry of Education and Research through the project H2Giga Degrad-EL3 (grant no. 03HY110D).

## Disclaimer

This software is provided strictly for **research and experimental purposes**. It represents early-stage exploratory work and has not been validated, verified, or tested for any operational, commercial, or production use.

**Technology Readiness Level: TRL 1–3** (Basic principles observed through proof-of-concept)

- No claims are made regarding reliability, accuracy, or fitness for any particular purpose
- The codebase may be incomplete, unstable, or subject to fundamental changes without notice
- Results produced by this software are not guaranteed to be reproducible or correct
- This project exists solely for academic inquiry, algorithmic exploration, and open scientific collaboration

This software is not designed, intended, or suitable for deployment in any real-world system or application. Users assume all responsibility for any use beyond basic research experimentation.

---

