class_docstr: Test that all operations in the ``supports_broadcasting`` attribute
  actually support broadcasting.
docstr: Test that PauliRot, which is marked as supporting parameter broadcasting,
  actually does support broadcasting.
docstr_tok: ["Test","that","PauliRot",",","which","is","marked","as","supporting","parameter","broadcasting",",","actually","does","support","broadcasting","."]
code: def test_pauli_rot(self, pauli_word, wires):
      """Test that PauliRot, which is marked as supporting parameter broadcasting,
      actually does support broadcasting."""
      par = np.array([0.25, 2.1, -0.42])
  
      op = qml.PauliRot(par, pauli_word, wires=wires)
  
      mat1 = op.matrix()
      mat2 = qml.PauliRot.compute_matrix(par, pauli_word=pauli_word)
      single_mats = [
          qml.PauliRot(p, pauli_word, wires=wires).matrix() for p in par
      ]
  
      assert qml.math.allclose(mat1, single_mats)
      assert qml.math.allclose(mat2, single_mats)
  
imports: import itertools
  import pytest
  import numpy
  from scipy.stats import unitary_group
  import pennylane
  from pennylane.ops.qubit.attributes import Attribute, has_unitary_generator
  from pennylane.operation import AnyWires
label_desc: Use image node_id 11 for calling the TestSupportsBroadcasting obj's underlying member method code with example usage: obj.test_pauli_rot(pauli_word, wires) without return types