rot_layer(params, width=4, layer=4, x=None)
adds rotations to each qubit, U(x) followed by U(theta)
the parameters are structured the following:
we need a dimension for each layer, for each qubit, 2 for a parameter theta and w multiplied with x
and 3 for the 3 rotation dimensions of x