class_docstr: Test that all operations in the ``supports_broadcasting`` attribute
  actually support broadcasting.
docstr: Test that QAOAEmbedding, which is marked as supporting parameter broadcasting,
  actually does support broadcasting.
docstr_tok: ["Test","that","QAOAEmbedding",",","which","is","marked","as","supporting","parameter","broadcasting",",","actually","does","support","broadcasting","."]
code: def test_qaoa_embedding(
      self, features, weights, num_wires, batch_size
  ):
      """Test that QAOAEmbedding, which is marked as supporting parameter broadcasting,
      actually does support broadcasting."""
  
      op = qml.QAOAEmbedding(
          features, weights, wires=list(range(num_wires))
      )
      assert op.batch_size == batch_size
      qml.QAOAEmbedding.compute_decomposition(
          features,
          weights,
          wires=list(range(num_wires)),
          local_field=qml.RY,
      )
      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 17 for calling the TestSupportsBroadcasting obj's underlying member method code with example usage: obj.test_qaoa_embedding(features, weights, num_wires, batch_size) without return types