Skip to main content

quantum-learn: quantum machine learning in Python

Project description

quantum-learn

PyPI Version License Python Versions

quantum-learn is an open-source Python library that simplifies Quantum Machine Learning (QML) using PennyLane.

Inspired by scikit-learn and fastai, it provides a high-level interface that abstracts both hybrid and pure quantum machine learning.

Features

  • Simple setup that abstracts the process of training quantum models
  • Supports both hybrid quantum and pure quantum machine learning:
    • Pure: Variational Quantum Circuits (VQC)
    • Hybrid: (Generalized) Classification, Clustering, Regression
  • Works with PennyLane, scikit-learn, and standard ML tools
  • Can be run on any simulated or real quantum hardware supported by Pennylane (includes the majority of industry standards)

Installation

quantum-learn requires Python 3.6+. Install it via pip:

pip install quantum-learn

Or install from source:

git clone https://github.com/OsamaMIT/quantum-learn.git
cd quantum-learn
pip install .

Documentation

For tutorials, examples, and details on the classes, check out the quantum-learn documentation.

Dependencies

The required dependencies can be installed by

pip install -r requirements.txt

Planned Features

  • Implement quantum kernel methods
  • Implement categorical feature maps

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a new branch (feature-branch)
  3. Commit your changes and open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

quantum_learn-1.0.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

quantum_learn-1.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file quantum_learn-1.0.0.tar.gz.

File metadata

  • Download URL: quantum_learn-1.0.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for quantum_learn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f98628e77038c68e2af25bee38a3f5ec68de0873c37ad0de1f73cabdfcaae667
MD5 8e39b7bf3764d367fa75a096bc132dc9
BLAKE2b-256 01400d1d96e638921c539f4d0e4d7aadb63461a7ffdc17ebed8eb47347624974

See more details on using hashes here.

File details

Details for the file quantum_learn-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: quantum_learn-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for quantum_learn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b17008fcb7ed430e3da53c6a7286a472b05d2be75e1e82e6bf6879dfc475b32d
MD5 d2388c96d6df85737e6a341631c4b2fa
BLAKE2b-256 339c1455c5109e225b83033a06ce8071006aec0bce9439c3cbb15381f8b52a97

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