code: def test_standard_validity():
      """Run standard tests of operation validity."""
      op = qml.AllSinglesDoubles(
          [1, 2],
          wires=range(4),
          hf_state=np.array([1, 1, 0, 0]),
          singles=[[0, 1]],
          doubles=[[0, 1, 2, 3]],
      )
      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