class_docstr: Test that apply_operation works for Snapshot ops
class_docstr_tok: ["Test","that","apply_operation","works","for","Snapshot","ops"]
docstr: Test nothing happens when there is no debugger
docstr_tok: ["Test","nothing","happens","when","there","is","no","debugger"]
code: def test_no_debugger(self, ml_framework):
      """Test nothing happens when there is no debugger"""
      initial_state = np.array(
          [
              [0.04624539 + 0.3895457j, 0.22399401 + 0.53870339j],
              [-0.483054 + 0.2468498j, -0.02772249 - 0.45901669j],
          ]
      )
      initial_state = qml.math.asarray(initial_state, like=ml_framework)
      new_state = apply_operation(qml.Snapshot(), initial_state)
  
      assert new_state.shape == initial_state.shape
      assert qml.math.allclose(new_state, initial_state)
  
imports: from functools import reduce
  import pytest
  import numpy
  from scipy.stats import unitary_group
  import pennylane
  from pennylane.operation import _UNSET_BATCH_SIZE, Operation
  from pennylane.devices.qubit.apply_operation import apply_operation, apply_operation_einsum, apply_operation_tensordot
label_desc: Use image node_id 1 for calling the TestSnapshot obj's underlying member method code with example usage: obj.test_no_debugger(ml_framework) without return types