Skip to content

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

@DS-Liu

Description

@DS-Liu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions