class_docstr: Tests for the helper method _split_evol_tape that replaces an indicated operation by
  other operations and creates a new tape for each provided set of replacing operations.
class_docstr_tok: ["Tests","for","the","helper","method","_split_evol_tape","that","replaces","an","indicated","operation","by","other","operations","and","creates","a","new","tape","for","each","provided","set","of","replacing","operations","."]
docstr: Test basic behaviour of the operation replacement with standard qml ops.
docstr_tok: ["Test","basic","behaviour","of","the","operation","replacement","with","standard","qml","ops","."]
code: def test_with_standard_ops(self):
      """Test basic behaviour of the operation replacement with standard qml ops."""
      ops = [qml.RX(0.4, 2), qml.PauliZ(0), qml.CNOT([0, 2])]
      tape = qml.tape.QuantumScript(ops)
      split_evolve_ops = (
          [qml.RX(0.6, 2), qml.PauliY(0), qml.RZ(0.0, 0)],
          [qml.PauliX(0), qml.PauliZ(2)],
      )
      new_tapes = _split_evol_tape(tape, split_evolve_ops, 1)
      assert len(new_tapes) == 2
      for t, new_ops in zip(new_tapes, split_evolve_ops):
          assert qml.equal(t.operations[0], ops[0])
          assert all(
              qml.equal(o1, o2)
              for o1, o2 in zip(t.operations[1:-1], new_ops)
          )
          assert qml.equal(t.operations[-1], ops[2])
  
imports: import warnings
  import copy
  import pytest
  import numpy
  import pennylane
  from pennylane.gradients.general_shift_rules import eigvals_to_frequencies, generate_shift_rule
  from pennylane.gradients.pulse_gradient import _parshift_and_integrate, _split_evol_ops, _split_evol_tape, stoch_pulse_grad
label_desc: Use image node_id 1 for calling the TestSplitEvolTapes obj's underlying member method code with example usage: obj.test_with_standard_ops() without return types