code: def run_before_tests():
      qml.Hermitian._eigs = {}
      yield
  
imports: import functools
  import pickle
  import pytest
  import numpy
  from gate_data import I, X, Y, Z, H
  import pennylane
  from pennylane.ops.qubit.observables import BasisStateProjector, StateVectorProjector
label_desc: Use image node_id 1 for calling a global function with example usage: run_before_tests() without return types