pygsti.optimize.create_obj_func_printer

pygsti.optimize.create_obj_func_printer(objFunc)

Create a callback function that prints the value of an objective function.

Parameters:objFunc (function) – The objective function to print.
Returns:A callback function which prints objFunc.
Return type:function