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 blackandwhite FRQI image into a classical black
andwhite pixel image.
A greyscale image is encoded classically using bits for every pixel, where the greyscale
level corresponding to the pixel is an integer dots, In FRQI, a
greyscale image is encoded as a superposition
:
where is an angle encoding the greyscale level. For example, we can let
Design a quantum circuit to encode a greyscale image consisting of
pixels with
and implement the circuit in QisKit.
Generalize your algorithm from part to decode a greyscale FRQI image into a
classical greyscale image.
How many qubits do you need to encode a pixel image? How accurate is
your decoding algorithm? Guided by these two questions, discuss the advantages and
disavantages of FRQI vs classical image encoding.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
