Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.gradients.DerivativeBase.parameter_expression_grad

static DerivativeBase.parameter_expression_grad(param_expr, param)[ソース]

Get the derivative of a parameter expression w.r.t. the given parameter.

バージョン 0.18.0 で非推奨: The method qiskit.opflow.gradients.derivative_base.DerivativeBase.parameter_expression_grad() is deprecated as of qiskit-terra 0.18.0. It will be removed no earlier than 3 months after the release date. Instead, use the ParameterExpression.gradient method.

パラメータ
戻り値

ParameterExpression representing the gradient of param_expr w.r.t. param

戻り値の型

Union[ParameterExpression, float]