class_docstr: Tests that the ControlledSequence is executable and differentiable in a QNode context
class_docstr_tok: ["Tests","that","the","ControlledSequence","is","executable","and","differentiable","in","a","QNode","context"]
docstr: Test that using ControlledSequence with ApproxTimeEvolution as a base in a
  circuit can be decomposed to execute successfully
docstr_tok: ["Test","that","using","ControlledSequence","with","ApproxTimeEvolution","as","a","base","in","a","circuit","can","be","decomposed","to","execute","successfully"]
code: def test_approx_time_base(self):
      """Test that using ControlledSequence with ApproxTimeEvolution as a base in a
      circuit can be decomposed to execute successfully"""
      H = qml.Hamiltonian([1.0, 2.0], [qml.PauliZ(0), qml.PauliZ(1)])
      dev = qml.device("default.qubit", wires=4)
  
      @qml.qnode(dev)
      def circuit():
          qml.ControlledSequence(
              qml.ApproxTimeEvolution(H, 1, 1), control=[2, 3]
          )
          return qml.state()
  
      _ = circuit()
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 8 for calling the TestIntegration obj's underlying member method code with example usage: obj.test_approx_time_base() and returns: qml