code: def test_grover_iteration_1():
      numqubits = 2
      basis_states = superposition_basis(numqubits)
      v = OracleGate(numqubits, return_one_on_one)
      expected = IntQubit(1, nqubits=numqubits)
      assert qapply(grover_iteration(basis_states, v)) == expected
  
file_path: sympy/sympy/physics/quantum/tests/test_grover.py
imports: from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.matrices.dense import Matrix
  from sympy.physics.quantum.represent import represent
  from sympy.physics.quantum.qapply import qapply
  from sympy.physics.quantum.qubit import IntQubit
  from sympy.physics.quantum.grover import apply_grover, superposition_basis, OracleGate, grover_iteration, WGate
label_desc: Use image node_id 6 for calling a global function with example usage: test_grover_iteration_1() without return types