class_docstr: Test that all operations in the ``supports_broadcasting`` attribute
  actually support broadcasting.
docstr: Test that SpecialUnitary, which is marked as supporting parameter broadcasting,
  actually does support broadcasting.
docstr_tok: ["Test","that","SpecialUnitary",",","which","is","marked","as","supporting","parameter","broadcasting",",","actually","does","support","broadcasting","."]
code: def test_special_unitary(self):
      """Test that SpecialUnitary, which is marked as supporting parameter broadcasting,
      actually does support broadcasting."""
      theta = np.array(
          [[0.2, -0.1, 0.2], [0, 1, 0], [0.4, 0.2, 0.9], [0, 0, 0]]
      )
      wires = ["a"]
  
      op = qml.SpecialUnitary(theta, wires=wires)
  
      mat1 = op.matrix()
      mat2 = qml.SpecialUnitary.compute_matrix(theta, 1)
      single_mats = [
          qml.SpecialUnitary(t, wires=wires).matrix() for t in theta
      ]
  
      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 10 for calling the TestSupportsBroadcasting obj's underlying member method code with example usage: obj.test_special_unitary() without return types