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 (coming soon).

Dependencies

quantum-learn requires:

  • Pandas
  • Pennylane
  • scikit-learn

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.0.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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantum_learn-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ab5f10514a582e53f5e775b7f67c114153429bbc17291033601d607aed77ab9b
MD5 c0e57fee1953c2922219f74fb86c1214
BLAKE2b-256 06f97241f9ee518ff89e320369cfb3090d9f87e914a49cc1fb0708ca1f971fe2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantum_learn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e118d33ebd0cf204afe84726f1c7c7984526b5ab5647a805563c6f5ed05cc8f9
MD5 dc9e399094198c625034a8b222bf40a5
BLAKE2b-256 ffa54c84fdafc6d4b3a1ace08e29c04fab354d44c4466099058aa025236c463d

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