PauliMeasurementGate fails to construct when given an empty observable #6136
Labels
kind/bug-report
Something doesn't seem to work.
status/needs-agreed-design
We want to do this, but it needs an agreed upon design before implementation
triage/accepted
A consensus emerged that this bug report, feature request, or other action should be worked on
The following should not raise an exception. It should produce a circuit which, when sampled, samples a=0 and b=1.
Failing to measure the empty pauli string is sort of like failing to search for matches to the empty string. It's a corner case but it should still work.
The text was updated successfully, but these errors were encountered: