[BUG] qml.measure
can not be used within the body of qml.cond
#5944
Labels
bug 🐛
Something isn't working
qml.measure
can not be used within the body of qml.cond
#5944
Expected behavior
Any valid quantum subcircuit can be used within the body of
qml.cond
.The resulting circuit is drawn correctly.
Actual behavior
Using
qml.measure
in the body ofqml.cond
raises an error.Using
qml.cond
in the body ofqml.cond
works but drawing the circuit raises an error.Additional information
No response
Source code
Tracebacks
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: