Skip to main content

Hybrid quantum-classical neural networks for 2D and 3D image processing

Project description

Ingenii Quantum Hybrid Networks

Version: 0.1.1

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 (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.

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

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

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

ingenii_quantum_hybrid_networks-0.1.1.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page