Hi! I would like to construct a circuit like this (see the image attached).
I would like the Rot gate to receive parameter W*X + B, where W is a 3x3 numpy matrix, X and B is 3x1 numpy matrix. So in the code attached, params = [W, B]
When I run the circuit, I got this error message:
TypeError: unsupported operand type(s) for +: ‘Variable’ and ‘Variable’
It seems PennyLane’s ‘Variable’ object does not support addition operation (’+’). Is there any other way to do this?