class_docstr: Tests the built-in patterns ("single", "ring", etc) of the broadcast template constructor.
class_docstr_tok: ["Tests","the","built-in","patterns","(","``","single","''",",","``","ring","''",",","etc",")","of","the","broadcast","template","constructor","."]
docstr: Tests that specific parameter inputs have the same output.
docstr_tok: ["Tests","that","specific","parameter","inputs","have","the","same","output","."]
code: def test_correct_queue_same_gate_unitary_different_parameter_formats(
      self, pars1, pars2, gate
  ):
      """Tests that specific parameter inputs have the same output."""
  
      with qml.tape.OperationRecorder() as rec1:
          broadcast(
              unitary=gate,
              pattern="single",
              wires=range(3),
              parameters=pars1,
          )
  
      with qml.tape.OperationRecorder() as rec2:
          broadcast(
              unitary=gate,
              pattern="single",
              wires=range(3),
              parameters=pars2,
          )
  
      for g1, g2 in zip(rec1.queue, rec2.queue):
          assert g1.parameters == g2.parameters
  
imports: from math import pi
  import pytest
  import numpy
  import pennylane
  from pennylane.templates import broadcast
  from pennylane.ops import RX, RY, T, S, Rot, CRX, CRot, CNOT
  from pennylane.templates.broadcast import wires_pyramid, wires_all_to_all, wires_ring
  from pennylane.wires import Wires
label_desc: Use image node_id 4 for calling the TestBuiltinPatterns obj's underlying member method code with example usage: obj.test_correct_queue_same_gate_unitary_different_parameter_formats(pars1, pars2, gate) without return types