class_docstr: Test that all operations in the ``supports_broadcasting`` attribute
  actually support broadcasting.
docstr: Test that StatePrep, which is marked as supporting parameter broadcasting,
  actually does support broadcasting.
docstr_tok: ["Test","that","StatePrep",",","which","is","marked","as","supporting","parameter","broadcasting",",","actually","does","support","broadcasting","."]
code: def test_qubit_state_vector(self, state_, num_wires):
      """Test that StatePrep, which is marked as supporting parameter broadcasting,
      actually does support broadcasting."""
  
      state = np.array([state_])
      op = qml.StatePrep(state, wires=list(range(num_wires)))
      assert op.batch_size == 1
      qml.StatePrep.compute_decomposition(state, list(range(num_wires)))
      op.decomposition()
  
      state = np.array([state_] * 3)
      op = qml.StatePrep(state, wires=list(range(num_wires)))
      assert op.batch_size == 3
      qml.StatePrep.compute_decomposition(state, list(range(num_wires)))
      op.decomposition()
  
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 13 for calling the TestSupportsBroadcasting obj's underlying member method code with example usage: obj.test_qubit_state_vector(state_, num_wires) without return types