[Paper Review] Image Processing in Quantum Computers
This paper proposes a framework for encoding 2x2 grayscale images into quantum states using the Flexible Representation of Quantum Images (FRQI), enabling quantum operations like image inversion through controlled rotations on a quantum circuit. The method demonstrates exponential storage efficiency and quantum image processing via simulation on IBM's quantum simulator, achieving a 40% probability for the brightest pixel in the encoded state.
Quantum Image Processing (QIP)is an exciting new field showing a lot of promise as a powerful addition to the arsenal of Image Processing techniques. Representing image pixel by pixel using classical information requires an enormous amount of computational resources. Hence, exploring methods to represent images in a different paradigm of information is important. In this work, we study the representation of images in Quantum Information. The main motivation for this pursuit is the ability of storing N bits of classical information in only log(2N) quantum bits (qubits). The promising first step was the exponentially efficient implementation of the Fourier transform in quantum computers as compared to Fast Fourier Transform in classical computers. In addition, images encoded in quantum information could obey unique quantum properties like superposition or entanglement.
Motivation & Objective
- To investigate the feasibility of representing classical images in quantum states using qubits to exploit superposition and entanglement.
- To demonstrate how quantum image processing (QIP) can achieve exponential storage efficiency compared to classical methods.
- To implement and simulate a quantum circuit for encoding and processing a 2x2 image using the FRQI model on a quantum simulator.
- To evaluate the performance of quantum image operations such as image inversion using quantum gates and measurement outcomes.
- To lay the groundwork for future applications in quantum image segmentation and deep learning by exploring quantum advantages in image processing.
Proposed method
- Encoding a 2x2 image into a quantum state using the Flexible Representation of Quantum Images (FRQI), where each pixel's intensity is mapped to a superposition amplitude via controlled rotation.
- Representing the image as a normalized quantum state: $ \frac{1}{2}[(\cos\theta_1 + \sin\theta_1)|00\rangle + (\cos\theta_2 + \sin\theta_2)|01\rangle + (\cos\theta_3 + \sin\theta_3)|10\rangle + (\cos\theta_4 + \sin\theta_4)|11\rangle] $.
- Using the IBM Quantum Experience simulator (Qiskit) to implement the quantum circuit with controlled rotation gates to encode pixel intensities.
- Applying quantum operations such as image inversion by rotating the amplitude of each basis state by $ \pi $ radians around the Bloch sphere.
- Measuring the final quantum state to retrieve the probability distribution of pixel intensities, which reflects the processed image.
- Validating the results by comparing the measured probability distributions before and after image inversion.
Experimental results
Research questions
- RQ1Can classical images be efficiently encoded into quantum states using the FRQI model to leverage superposition and quantum parallelism?
- RQ2How can quantum operations such as image inversion be implemented using quantum gates on a simulated quantum computer?
- RQ3What is the accuracy and fidelity of retrieving image intensity distributions from a quantum state via measurement?
- RQ4To what extent does quantum image processing outperform classical methods in terms of storage and computational efficiency?
- RQ5What are the practical limitations of current quantum hardware in processing even small images like 2x2?
Key findings
- The 2x2 image with pixel intensities [5.0, 1.0; 2.0, 3.0] was successfully encoded into a quantum state using FRQI, with normalized intensities mapped to probability amplitudes.
- After encoding, the probability distribution showed 40% for |00⟩, 10% for |01⟩, 30% for |10⟩, and 20% for |11⟩, reflecting the relative intensities of the original image.
- Image inversion was achieved by rotating each qubit state by $ \pi $ radians, resulting in a new probability distribution: 10% for |00⟩, 40% for |01⟩, 20% for |10⟩, and 30% for |11⟩.
- The simulation confirmed that quantum image operations can be implemented via controlled rotations and unitary transformations on a quantum circuit.
- The results demonstrate that quantum image processing can be simulated on current quantum simulators, even with limited qubit availability.
- Despite the loss of exact intensity values due to normalization and measurement collapse, the relative intensity ordering was preserved and altered as expected during processing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.