class_docstr: Unit tests for transpile function
class_docstr_tok: ["Unit","tests","for","transpile","function"]
docstr: test that circuit remains differentiable after transpilation
docstr_tok: ["test","that","circuit","remains","differentiable","after","transpilation"]
code: def test_transpile_differentiable(self):
      """test that circuit remains differentiable after transpilation"""
      dev = qml.device("default.qubit", wires=3)
  
      def circuit(parameters):
          qml.RX(parameters[0], wires=0)
          qml.RY(parameters[1], wires=1)
          qml.CNOT(wires=[0, 2])
          qml.PhaseShift(parameters[2], wires=0)
          return qml.expval(qml.PauliZ(0))
  
      transpiled_circ = transpile(
          circuit, coupling_map=[(0, 1), (1, 2)]
      )
      transpiled_qnode = qml.QNode(transpiled_circ, dev)
      params = np.array([0.5, 0.1, 0.2], requires_grad=True)
      qml.gradients.param_shift(transpiled_qnode)(params)
  
imports: from math import isclose
  import pytest
  from pennylane import numpy
  import pennylane
  from pennylane.transforms.transpile import transpile
label_desc: Use image node_id 6 for calling the TestTranspile obj's underlying member method code with example usage: obj.test_transpile_differentiable() and returns: qml