Romain Moyard
Romain Moyard
Amazing @eddddddy 💯
``` qml.enable_return() dev = qml.device("default.qubit", wires=3) params = np.array([np.pi, np.pi / 2, np.pi / 3]) with qml.tape.QuantumTape() as tape: qml.RX(params[0], wires=0) qml.RX(params[1], wires=1) qml.RX(params[2], wires=2) for idx in range(3): qml.expval(qml.PauliZ(idx))...
@eddddddy I think there might be some problems that come from the finite diff PR merge, let me know if you want me to take a look 👍
@eddddddy @antalszava It is ready for a new round of reviews! Two things I could not solve is: 1. @antalszava Why numpy array with shape () are converted to float,...
> Overall, is there an explicit benefit to this new return type? I'm just trying to think from a user perspective how this is useful at all given that we...
I double checked the PRs and the names from the Githubb history.
This was solved by @albi3ro [here](https://github.com/PennyLaneAI/pennylane/pull/2672), could we trigger the tests again?
https://github.com/PennyLaneAI/pennylane/pull/3170