Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK 의 이전 버전에서 가져온 것으로, 최신 버전에는 존재하지 않습니다. 최신 버전으로 업데이트하시기를 권장합니다. 자세한 정보는 릴리스 정보를 참조하십시오.

GradientDescentState

class qiskit.algorithms.optimizers.GradientDescentState(x, fun, jac, nfev, njev, nit, stepsize, learning_rate)

GitHub

Bases: OptimizerState

State of GradientDescent.

Dataclass with all the information of an optimizer plus the learning_rate and the stepsize.


Attributes

stepsize

유형: float | None

Norm of the gradient on the last step.

learning_rate

유형: LearningRate

Learning rate at the current step of the optimization process.

It behaves like a generator, (use next(learning_rate) to get the learning rate for the next step) but it can also return the current learning rate with learning_rate.current.

x

유형: POINT

Current optimization parameters.

fun

유형: Callable[[POINT], float] | None

Function being optimized.

jac

유형: Callable[[POINT], POINT] | None

Jacobian of the function being optimized.

nfev

유형: int | None

Number of function evaluations so far in the optimization.

njev

유형: int | None

Number of jacobian evaluations so far in the opimization.

nit

유형: int | None

Number of optimization steps performed so far in the optimization.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.