class_docstr: This device provides derivatives via parameter shift.
class_docstr_tok: ["This","device","provides","derivatives","via","parameter","shift","."]
code: def supports_derivatives(self, execution_config=None, circuit=None):
      if execution_config is None:
          return True
      return execution_config.gradient_method in {
          "device",
          "parameter-shift",
      }
  
file_path: pennylane/tests/param_shift_dev.py
imports: import dataclasses
  import pennylane
label_desc: Use image node_id 2 for calling the ParamShiftDerivativesDevice obj's underlying member method code with example usage: obj.supports_derivatives(execution_config, circuit) and returns: unknown, True