qiskit.algorithms.optimizers.SLSQP.wrap_function¶
- static SLSQP.wrap_function(function, args)¶
Wrap the function to implicitly inject the args at the call of the function.
- Parâmetros
function (func) – the target function
args (tuple) – the args to be injected
- Retorno
wrapper
- Tipo de retorno
function_wrapper