Skip to main content

Ingenii Quantum Hybrid Networks

Version: 0.3.2

Package of tools to integrate hybrid quantum-classical neural networks to your machine learning algorithms. The algorithms provided in this package are implemented both in Qiskit (meant to run on real hardware and fake providers) and in Pytorch or Tensorflow (meant to run in quantum simulation with CPUs or GPUs). This package contains the following quantum algorithms:

Quantum convolutional layer (2D and 3D):

It is designed to reduce the complexity of the classical 2D/3D CNN, while maintaining its prediction performance. The hybrid CNN replaces a convolutional layer with a quantum convolutional layer. That is, each classical convolutional filter is replaced by a quantum circuit, which acts as a quantum filter. Each quantum circuit is divided into two blocks: the data encoding, which maps the input data into a quantum circuit, and the quantum transformation, where quantum operations are applied to retrieve information from the encoded data. Tha package contains an implementation for 2D data (images) and for 3D data (volumes).

Quantum fully-connected layer

It is designed to construct hybrid quantum-classical neural networks, where the quantum layer is a fully-connected layer. The quantum layer is a parametrized quantum circuit, composed of three parts: a data encoding which maps the classical data into a quantum circuit, a parametrized quantum circuit, which performs quantum operations with parameters, and measurements, which produce the output of the layer. Multiple quantum architectures are provided, which have been extracted from previous studies of hybrid neural networks. Update: To improve efficiency of the training, the codes have been rewritten using Pennylane instead of Qiskit. You can still run the algorithm in Qiskit devices by providing the suitable backend name.

Quantum fusion model

It is designed to efficiently integrate the extracted features from two classical neural network models to produce enhanced predictions. The proposed model strategically integrates 3D-CNNs and SG-CNNs to leverage their respective strengths in processing diverse facets of the training data. The simulation results presented here will demonstrate the superior performance of the quantum fusion model relative to state-of-the-art classical models.

Quantum Hadamard Edge Detection (2D and 3D):

Performs edge detection for 2D data (images) and 3D data (volumes), using quantum operations.

Quantum-inspired image filter

We introduce a quantum-inspired filter that is especially useful to highlight regions with varying contrast and identify regions of interest in medical imaging.

Metadata

Release files for ingenii-quantum-hybrid-networks 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ingenii-quantum-hybrid-networks 0.3.2
File Size Uploaded Provenance Actions
ingenii_quantum_hybrid_networks-0.3.2.tar.gz 9.3 MB Without provenance Details for ingenii_quantum_hybrid_networks-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ingenii-quantum-hybrid-networks 0.3.2
File Interpreter ABI Platform Actions
ingenii_quantum_hybrid_networks-0.3.2-py3-none-any.whl Python 3 none any Details for ingenii_quantum_hybrid_networks-0.3.2-py3-none-any.whl

Total release size: 18.7 MB

Release files / ingenii_quantum_hybrid_networks-0.3.2.tar.gz

Download URL ingenii_quantum_hybrid_networks-0.3.2.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9d52517508706cdc9cab5e56753268f1adfcdd7a47d947a28f963f5c5d7b0ee3
BLAKE2b-256 checksum
How to use checksums
3da4360de726c96f5f257eb38e2c2f8543714c29f29530e2c3846347e831a3c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.8

Release files / ingenii_quantum_hybrid_networks-0.3.2-py3-none-any.whl

Download URL ingenii_quantum_hybrid_networks-0.3.2-py3-none-any.whl
Size 9.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
52983d97baecd37aa42103ce671a999cbccd4ea55cc4ebb9dcb9556246a56ee8
BLAKE2b-256 checksum
How to use checksums
b089b225fc05c6b6b128aa51e3716e5dd4a05ad5753b525514d4241d6a666a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.8

Security for ingenii-quantum-hybrid-networks 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page