EP-PQM: Efficient Parametric Probabilistic Quantum Memory with Fewer Qubits and Gates

01/10/2022
by   Mushahid Khan, et al.
0

Machine learning (ML) classification tasks can be carried out on a quantum computer (QC) using Probabilistic Quantum Memory (PQM) and its extension, Parameteric PQM (P-PQM) by calculating the Hamming distance between an input pattern and a database of r patterns containing z features with a distinct attributes. For accurate computations, the feature must be encoded using one-hot encoding, which is memory-intensive for multi-attribute datasets with a>2. We can easily represent multi-attribute data more compactly on a classical computer by replacing one-hot encoding with label encoding. However, replacing these encoding schemes on a QC is not straightforward as PQM and P-PQM operate at the quantum bit level. We present an enhanced P-PQM, called EP-PQM, that allows label encoding of data stored in a PQM data structure and reduces the circuit depth of the data storage and retrieval procedures. We show implementations for an ideal QC and a noisy intermediate-scale quantum (NISQ) device. Our complexity analysis shows that the EP-PQM approach requires O(z log_2(a)) qubits as opposed to O(za) qubits for P-PQM. EP-PQM also requires fewer gates, reducing gate count from O(rza) to O(rzlog_2(a)). For five datasets, we demonstrate that training an ML classification model using EP-PQM requires 48 a>2. EP-PQM reduces circuit depth in the range of 60 the dataset. The depth decreases further with a decomposed circuit, ranging between 94 EP-PQM requires less space; thus, it can train on and classify larger datasets than previous PQM implementations on NISQ devices. Furthermore, reducing the number of gates speeds up the classification and reduces the noise associated with deep quantum circuits. Thus, EP-PQM brings us closer to scalable ML on a NISQ device.

READ FULL TEXT
research
05/06/2022

Incremental Data-Uploading for Full-Quantum Classification

The data representation in a machine-learning model strongly influences ...
research
08/16/2023

Constant-depth circuits for Uniformly Controlled Gates and Boolean functions with application to quantum memory circuits

We explore the power of the unbounded Fan-Out gate and the Global Tunabl...
research
01/11/2020

Parametric Probabilistic Quantum Memory

Probabilistic Quantum Memory (PQM) is a data structure that computes the...
research
06/01/2020

Quantum Garbled Circuits

We present a garbling scheme for quantum circuits, thus achieving a deco...
research
04/18/2023

Towards a generic compilation approach for quantum circuits through resynthesis

In this paper, we propose a generic quantum circuit resynthesis approach...
research
07/20/2020

Supervised Learning Using a Dressed Quantum Network with "Super Compressed Encoding": Algorithm and Quantum-Hardware-Based Implementation

Implementation of variational Quantum Machine Learning (QML) algorithms ...
research
07/07/2023

Variational quantum regression algorithm with encoded data structure

Variational quantum algorithms (VQAs) prevail to solve practical problem...

Please sign up or login with your details

Forgot password? Click here to reset