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.1.tar.gz (10.5 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.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantum_learn-1.0.1.tar.gz
  • Upload date:
  • Size: 10.5 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.1.tar.gz
Algorithm Hash digest
SHA256 cdab39e09261a177033d0d019ad8dfe3a565b4949a735a1127cac805248ebfbf
MD5 f9a7e596593b8f2d6fb8cfb9586b5f36
BLAKE2b-256 2f954244c8a9e7cb3b680ec1e852bd923333210853c5987d088d96ddb106d361

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantum_learn-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56d8791339508a5fb172fb631ebfdf0bcc45c9b83c87e8b01734b301cd4eea62
MD5 89f4a09105f4a5b7ff5776ffbcc53324
BLAKE2b-256 51febcbbd2ee41a919a2c0e2625725fb7016f682a06b029f81bc4bb1ebc61d27

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