You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameter-shift differentiation with postselected MCMs works or raises an informative error.
Actual behavior
It returns wrong results.
Additional information
This topic has been discovered and discussed extensively, and a fix is known in principle.
We should either implement this fix, or deactivate the differentiation of circuits with postselected MCMs by raising an error.
Expected behavior
Parameter-shift differentiation with postselected MCMs works or raises an informative error.
Actual behavior
It returns wrong results.
Additional information
This topic has been discovered and discussed extensively, and a fix is known in principle.
We should either implement this fix, or deactivate the differentiation of circuits with postselected MCMs by raising an error.
Source code
Tracebacks
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: