Get Learning Rate SPSA & QNSPSA
See original GitHub issueWhat is the expected enhancement?
For SPSA
as well as QNSPSA
you can set learning_rate=None
.
When calling the .settings()
property of the optimizers after running the optimization, it will return learning_rate=None
again.
However, the effective learning_rate
is actually changed by the calibrate
function. Can self.learning_rate
be updated accordingly?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
SPSA - qiskit.algorithms.optimizers
Calibrate SPSA parameters with a powerseries as learning rate and perturbation coeffs. Estimate the standard deviation of the loss function. Get the support ......
Read more >Optimization using SPSA — PennyLane documentation
SPSA is an optimization method that involves approximating the gradient of the cost function at each iteration step.
Read more >SPSA (Simultaneous Perturbation Stochastic Approximation ...
A is a stabilisation factor of the learning rate (it avoids a bigger difference between the learning rate in the first and in...
Read more >SPSA Algorithm
This contrasts with algorithms requiring direct measurements of the gradient of the objective function (which are often difficult or impossible to obtain).
Read more >Is it possible to combine SPSA and Adam? - Cross Validated
Gradient free methods such as SPSA do basically the same, they make a bad estimate of the gradient, by randomly perturbing the parameter...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@des137 could you see if the info in #7109 matches your expectations? 🙂
Ok, then I’ll add the logger for now 👍🏻