code: def test_standard_validity():
      """Run standard tests of operation validity."""
      weights = np.array(
          [
              [-0.618452, -0.68369054 - 0.38740723j],
              [-0.78582258, 0.53807284 + 0.30489424j],
          ]
      )
      op = qml.BasisRotation(wires=range(2), unitary_matrix=weights)
      qml.ops.functions.assert_valid(op)
  
file_path: pennylane/tests/templates/test_subroutines/test_basis_rotation.py
imports: import pytest
  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