Support gate exponentiation by Gate ** x
instead of only Gate.power(x)
#7473
Labels
type: enhancement
It's working, but needs polishing
What is the expected enhancement?
Exponentiating a gate using
**
should work. It can just callgate.power
. For example, it's surprising that the following code raises an error:The text was updated successfully, but these errors were encountered: