code: def test_standard_validity():
      """Run standard tests of operation validity."""
      H = 2.0 * qml.PauliX(0) + 3.0 * qml.PauliY(0)
      t = 0.1
      op = qml.ApproxTimeEvolution(H, t, n=20)
      qml.ops.functions.assert_valid(op)
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 1 for calling a global function with example usage: test_standard_validity() without return types