Hello, I know that I can implement single-qubit rotations on each qubit/wires as follows:

```
for i in range(n_qubits):
qml.RX(theta, wires=i)
```

However, how would I be able to do some global rotation that acts on all the qubit/wires simultaneously?

Thank you!

Hey @NickGut0711,

I’m not sure I completely understand . Doing this is a global rotation:

```
for i in range(n_qubits):
qml.RX(theta, wires=i)
```

Are you looking for a one-line solution? If so, then `qml.broadcast`

might be useful: qml.broadcast — PennyLane 0.34.0 documentation (although it’s not very performant). That, or maybe you can make a custom operation! Adding new operators — PennyLane 0.34.0 documentation

Let me know if that helps