predicting-quantum-properties icon indicating copy to clipboard operation
predicting-quantum-properties copied to clipboard

Infinite loop with derandomized measurement when the number of measurements per observables is large.

Open DS-Liu opened this issue 5 months ago • 1 comments

For the problem I'm considering, the number of qubits of the quantum system is 10. And I want to measure, using derandomized measurement, all the 1-local and 2-local observables consist of Pauli Z and X operators, which are stored in the file named my_observables.txt. After compiling the *.cpp files, I run the command data_acquisition_shadow -d [measurements per observable] my_observables.txt 1> scheme.txt. This only works properly for [measurements per observable] smaller than 100000. When the the number of measurements per observable is set to 100000 or larger, the programm just keeps running and won't stop.

I'm not sure whether this issue is due to the bug in the implementation of the data_acquisition_shadow.cpp file or the defect of the derandomization algorithm itself.

DS-Liu avatar Sep 10 '24 06:09 DS-Liu