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-0.1.1.tar.gz (7.4 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-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantum_learn-0.1.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for quantum_learn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 864e432f4081976f473823133952a199d5ddfa153e13f5d3ea8ce59d571a55bc
MD5 5d503a4a1e4fc7cdbd7d1e2a4fa75f1d
BLAKE2b-256 077597415597afc223ca7a1805c434a0c024c86023d82a4365f45b03e6d51529

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantum_learn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for quantum_learn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a658d8ac1257331826566f1e6f82d8c6ec92fdc09b2a620a280e3616f5edfb32
MD5 82c5a1bb4fe6400b7d306f9e8a69e2be
BLAKE2b-256 712b135d14b58686cf6d12c2c66620d1e174574118547a6b7bd7b0888a47763d

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