class_docstr: Test for the circuit hash that is being created for a QNode during evaluation (inside of _construct)
class_docstr_tok: ["Test","for","the","circuit","hash","that","is","being","created","for","a","QNode","during","evaluation","(","inside","of","_construct",")"]
docstr: Tests that the circuit hash of identical circuits containing only numeric parameters are equal
docstr_tok: ["Tests","that","the","circuit","hash","of","identical","circuits","containing","only","numeric","parameters","are","equal"]
code: def test_evaluate_circuit_hash_numeric(self):
      """Tests that the circuit hash of identical circuits containing only numeric parameters are equal"""
      dev = qml.device("default.qubit", wires=2)
  
      a = 0.3
      b = 0.2
  
      def circuit1():
          qml.RX(a, wires=[0])
          qml.RY(b, wires=[1])
          qml.CNOT(wires=[0, 1])
          return qml.expval(qml.PauliZ(0))
  
      node1 = qml.QNode(circuit1, dev)
      node1.construct([], {})
      circuit_hash_1 = node1.qtape.graph.hash
  
      def circuit2():
          qml.RX(a, wires=[0])
          qml.RY(b, wires=[1])
          qml.CNOT(wires=[0, 1])
          return qml.expval(qml.PauliZ(0))
  
      node2 = qml.QNode(circuit2, dev)
      node2.construct([], {})
      circuit_hash_2 = node2.qtape.graph.hash
  
      assert circuit_hash_1 == circuit_hash_2
  
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 TestQNodeCircuitHashIntegration obj's underlying member method code with example usage: obj.test_evaluate_circuit_hash_numeric() and returns: qml, qml