[BUG] Sampling an observable with more than one wire is not compatible with JAX-JIT #5372
Closed
1 task done
Labels
bug 🐛
Something isn't working
Expected behavior
That I can JIT a circuit that returns
qml.sample(obs)
, whereobs
is some observable with more than one wire.Actual behavior
A shape mismatch causes the circuit to fail if executing with JAX-JIT
Additional information
No response
Source code
Tracebacks
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: