class_docstr: Tests for the batch_transform decorator differentiability
class_docstr_tok: ["Tests","for","the","batch_transform","decorator","differentiability"]
docstr: Test ansatz
docstr_tok: ["Test","ansatz"]
code: def circuit(x):
      """Test ansatz"""
      qml.Hadamard(wires=0)
      qml.RX(x, wires=0)
      return qml.expval(qml.PauliX(0))
  
imports: import functools
  import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestBatchTransformGradients obj's underlying member method code with example usage: obj.circuit(x) and returns: qml