Pauli frames on circuits that measure [0,0,...,0] with 0% likelihood. #167
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
Pauli frames always operate with a measurement reference sample, and it seems the current implementation assumes this reference sample is [0,0,...,0].
For our case, mostly working with error correction, a zero syndrome is always a possibility and so this problem hasn't come up yet.
However, when the circuit being simulated on the Pauli frame measures all zeroes with 0% likelihood, the Pauli Frames gives the wrong answer.
I suggest we add an optional argument to the constructor that can designates a non all-zero reference.
The text was updated successfully, but these errors were encountered: