-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Sorry for interrupt after your wonderful work published 4 yrs ago. I'm an undergraduate student major in physics, and when I was trying to repeat this work, the "readme.md" shell line "> ./data_acquisition_shadow -d 100 generated_observables.txt 1> scheme.txt" was ended with a fatal error
Assertion failed: (pauli_observable[0] == 'X' || pauli_observable[0] == 'Y' || pauli_observable[0] == 'Z'), function read_all_observables, file data_acquisition_shadow.cpp, line 86.
[1] 9491 abort ./data_acquisition_shadow -d 100 generated_observables.txt
And, when running "./data_acquisition_shadow -d 1 observables.txt", the program print:
X Y X Y Y X Y X Y X
[Status 1: 7]
X X Y X Y Y X Y X Y
[Status 2: 13]
X X X X X Y X X Y X
[Status 3: 16]
X X X X X X X X X X
[Status 4: 17]
instead of
X Y X Y Y X Y X Y X
[Status 1: 0]
X X Y X Y Y X Y X Y
[Status 2: 0]
X X X X X Y X X Y X
[Status 3: 0]
X X X X X X X X X X
[Status 4: 1]
I would be grateful if you could help me to solve this question. Much appreciated.