Hybrid Quantum Models - HQM
Project description
Hybrid Quantum Models
This library comprises a collection of functions and classes tailored to manage quantum algorithms or circuits that have the capability to interface with two of the most prevalent deep learning libraries, TensorFlow and Torch. Furthermore, the library incorporates a set of predefined hybrid models for tasks such as classification and regression.
To delve deeper into the significance of this library, let's break down its key components and functionalities. Firstly, it offers a diverse set of tools for the manipulation and execution of quantum algorithms. These algorithms harness the principles of quantum mechanics to perform operations that transcend the capacities of classical computers. The library provides an intuitive interface for fully leveraging their potential, ensuring seamless interaction with TensorFlow and Torch, two widely adopted Deep Learning frameworks.
Additionally, the library goes the extra mile by including a set of predefined hybrid models. These models are ready-made solutions for common machine learning tasks such as classification and regression. They seamlessly blend the power of quantum circuits with the traditional deep learning approach, offering developers an efficient way to address various real-world problems.
In summary, this library serves as a versatile bridge between the realms of quantum computing and Deep Learning. It equips developers with the tools to harness the capabilities of quantum algorithms while integrating them effortlessly with Tensorflow and Torch. Furthermore, the inclusion of prebuilt hybrid models simplifies the development process for tasks like classification and regression, ultimately enabling the creation of advanced AI solutions that transcend classical computing limitations.
Click here to access the documentation
!!!This library has been developed and tested mostly for QAI4EO (Quantum Artificial Intelligence for Earth Observation) tasks!!!
Installation
This package is stored on PyPi, you can easily install it using pip
pip install --upgrade hqm --no-deps
Although certain elements of this library draw from PyTorch or TensorFlow and Pennylane, these packages are not included in the library's prerequisites, and therefore, they will not be automatically installed.
Usage
The central concept of this package is illustrated in the figure below. In essence, the package generates an embedding of a user-defined quantum circuit (chosen from the available options) into a quantum layer, which is also customizable by the user. This quantum layer can subsequently be converted into a Keras layer or a Torch layer, allowing it to be seamlessly combined with other classical or quantum layers.
A full description of each module can be found in the documentation.
How to contribute
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hqm-0.0.15.tar.gz
.
File metadata
- Download URL: hqm-0.0.15.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f72e87a193700eace8acabb5849b704d897e052e8683ee289d0a15103ad2bc |
|
MD5 | e42e7d450a98af66e04d41b574e61a86 |
|
BLAKE2b-256 | 21d7530be99a76683897b799bd7ab00094bd3fe383affcec7f405abd602a2382 |
File details
Details for the file hqm-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: hqm-0.0.15-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037643c4e7714c33b4dd380e7b6f8621d23e8aad25635e63bd45eb932b1dc80b |
|
MD5 | 408e3bf9c1711133304f46ec927cff93 |
|
BLAKE2b-256 | eaeaf2187454c4292a57c59a30963f25cd2beed8cad1aadbff94b337ee9a3cac |