This project is based on the following paper: https://arxiv.org/abs/1812.11042
An implementation of the quantum fourier transform circuit using IBM Qiskit for image processing purposes. This would theoretically speed up significantly operations relevant to computer vision.
An important mathematical function used in computer vision is the Fourier Transform which typically accompanies Convolutional Neural Networks (CNNs) in deciphering the content of images by a computer. Despite there being efficient algorithms such as the Fast Fourier Transform (FFT) which speed up image processing classically, there exist other, more efficient methods of doing so by utilising a Quantum Fourier Transform (QFT) circuit.
In order for the circuit to work, the images must be assimilated into qubits rather than classical bits. There are two methods of encoding image pixels into a qubit, both of which use
This methods involves the encoding of the intensity values of each pixel into the amplitudes of the quantum state of every qubit. This allows for the direct application of the QFT circuit onto the qubits.
Alternatively, the intensity of individual pixels can be encoded into the basis states of each qubit with NEQR.
The aforementioned methods suffer from several issues related to encoding and decoding. Namely, both require the use of square images i.e. images that have square dimensions. In addition, the uncertainty within qubits presents issues when decoding information classically. Also, both require an amount of qubits to codify the positions of pixels relative to the original classical image. A method which solves these issues is Quantum Image Representation Through Two-Dimensional Quantum States and Normalised Amplitude (2D-QSNA). This uses
This project will utilise FRQI together with a QFT circuit. Firstly, all qubits will be initialised, after which each is brought into superposition. The intensities of pixels will then be encoded by rotating the generated superposition states. Thus, this part will require Hadamard, phase shift, and CNOT gates combined.
After all qubits are initialised and encoded with information, they will then be subject to the QFT circuit. The fact that FRQI is being utilised, will facilitate the application of the QFT since the algorithm acts natively on probability amplitudes. For this, the same types of gates as used in FRQI will be used.