Question: Design an algorithm to decode a black - and - white FRQI image into a classical black - and - white pixel image. A greyscale

Design an algorithm to decode a black-and-white FRQI image into a classical black-
and-white pixel image.
A greyscale image is encoded classically using 8 bits for every pixel, where the greyscale
level corresponding to the pixel (i,j) is an integer gijin{0,1,dots,255}. In FRQI, a
greyscale image is encoded as a superposition
|I:
where ijin[0,2] is an angle encoding the greyscale level. For example, we can let
ij=2*gij255. Design a quantum circuit to encode a greyscale 22 image consisting of
4 pixels with
g00=0,g01=64,g10=128,g11=255
and implement the circuit in QisKit.
Generalize your algorithm from part (2) to decode a greyscale FRQI image into a
classical greyscale image.
How many qubits do you need to encode a 2n2n-pixel image? How accurate is
your decoding algorithm? Guided by these two questions, discuss the advantages and
disavantages of FRQI vs. classical image encoding.
 Design an algorithm to decode a black-and-white FRQI image into a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!