pyriemann_qiskit.utils.hyper_params_factory.get_spsa_parameters

pyriemann_qiskit.utils.hyper_params_factory.get_spsa_parameters(spsa)[source]

Return the default values of the calibrate method of an SPSA instance.

See [1] for implementation details.

Parameters:

spsa (SPSA) – The SPSA instance.

Returns:

params – the calibrate method in this order: initial point, initial perturbation, alpha, gamma and stability constant.

Return type:

The default values of the control parameters for

Notes

Added in version 0.0.2.

References