@property
def grad_method(self):
    "Gradient computation method.\n\n        * ``'A'``: analytic differentiation using the parameter-shift method.\n        * ``'F'``: finite difference numerical differentiation.\n        * ``None``: the operation may not be differentiated.\n\n        Default is ``'F'``, or ``None`` if the Operation has zero parameters.\n        "
    return (None if (self.num_params == 0) else 'F')
Gradient computation method.

* ``'A'``: analytic differentiation using the parameter-shift method.
* ``'F'``: finite difference numerical differentiation.
* ``None``: the operation may not be differentiated.

Default is ``'F'``, or ``None`` if the Operation has zero parameters.
@property
def grad_method(self):
    "Gradient computation method.\n\n        * ``'A'``: analytic differentiation using the parameter-shift method.\n        * ``'F'``: finite difference numerical differentiation.\n        * ``None``: the operation may not be differentiated.\n\n        Default is ``'F'``, or ``None`` if the Operation has zero parameters.\n        "
    return (None if (self.num_params == 0) else 'F')