code: def test_scalar_symbolic_ops(op, new_params, expected_op):
      """Test that `bind_new_parameters` with `ScalarSymbolicOp` returns a new
      operator with the new parameters without mutating the original
      operator."""
      new_op = bind_new_parameters(op, new_params)
  
      assert qml.equal(new_op, expected_op)
      assert new_op is not op
      assert new_op.base is not op.base
  
file_path: pennylane/tests/ops/functions/test_bind_new_parameters.py
imports: import pytest
  from gate_data import X, Y, Z, I, GELL_MANN
  import pennylane
  from pennylane.ops.functions import bind_new_parameters
  from pennylane.operation import Tensor
label_desc: Use image node_id 2 for calling a global function with example usage: test_scalar_symbolic_ops(op, new_params, expected_op) without return types