qiskit.algorithms.optimizers.L_BFGS_B.wrap_function¶
- static L_BFGS_B.wrap_function(function, args)¶
Wrap the function to implicitly inject the args at the call of the function.
- Parameters
function (func) – the target function
args (tuple) – the args to be injected
- Returns
wrapper
- Return type
function_wrapper