[BUG] param_shift
with broadcast=True
does not work properly with shot vectors
#5598
Open
1 task done
Labels
bug 🐛
Something isn't working
Expected behavior
The example below should work
Actual behavior
It raises a shape mismatch error
Additional information
It works if
len(shots)=2
, which is not a good sign. It means that we're wrongly contracting results across the shots axis, which only works as long as they have the right length.Source code
Tracebacks
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: