Skip to main content

Hybrid Quantum Models - HQM

Project description

GitHub last commit GitHub contributors GitHub issues GitHub pull requests

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

Click here

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

hqm-0.0.19.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

hqm-0.0.19-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file hqm-0.0.19.tar.gz.

File metadata

  • Download URL: hqm-0.0.19.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hqm-0.0.19.tar.gz
Algorithm Hash digest
SHA256 ed52bf2285af47a5d1e9f5544cfe92cad7062290edf2e80c7a203144073d1ad7
MD5 de9066b6a719e5ccc1403b9894e4206f
BLAKE2b-256 6d6b08f9d48964c8133beeb6499fecccf60c39bcf0d17d029ee02ae4c6558182

See more details on using hashes here.

File details

Details for the file hqm-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: hqm-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hqm-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 40b1237b6d81d7309d7ccd92cb8c9390383bcf344d05d5ef9355b630a249282c
MD5 cd96c994f2d184d6c4e9ad140bb8d814
BLAKE2b-256 1e0118e32663346d9baf82682f0391db2a7c6f8a24748ec9e40849356f130846

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