I try to use FRQI https://qiskit.org/textbook/ch-applications/image-processing-frqi-neqr.html with the same circuit. Suppose I have the following image:

enter image description here

and the flatten representation is [0 100 200 255]. The measurement result of the curcuit is the following:

{'000': 2525, '111': 2499, '101': 2256, '110': 822, '001': 297, '010': 1601}

and the total number of trials is 10000.

As I understood, to reconstruct the value for pixel 01 (upper right) I have to take arcsin(2256/(2256+297)). However, 62.08 is definitely not the real value of the intensity of the upper right pixel (which is equal to 100). Where am I wrong?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.