class_docstr: Test the creation of a hash on a CircuitGraph
class_docstr_tok: ["Test","the","creation","of","a","hash","on","a","CircuitGraph"]
docstr: Tests that the same hash is created for two circuitgraphs that have numeric arguments.
docstr_tok: ["Tests","that","the","same","hash","is","created","for","two","circuitgraphs","that","have","numeric","arguments","."]
code: def test_serialize_numeric_arguments(
      self, queue, observable_queue, expected_string
  ):
      """Tests that the same hash is created for two circuitgraphs that have numeric arguments."""
      circuit_graph_1 = CircuitGraph(
          queue, observable_queue, Wires([0, 1, 2])
      )
      circuit_graph_2 = CircuitGraph(
          queue, observable_queue, Wires([0, 1, 2])
      )
  
      assert circuit_graph_1.serialize() == circuit_graph_2.serialize()
      assert expected_string == circuit_graph_1.serialize()
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.operation import Tensor
  from pennylane.circuit_graph import CircuitGraph
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestCircuitGraphHash obj's underlying member method code with example usage: obj.test_serialize_numeric_arguments(queue, observable_queue, expected_string) without return types