qrisp.qaoa.QAOAProblem.set_init_function#

QAOAProblem.set_init_function(init_function)[source]#

Set the initial state preparation function for the QAOA problem.

Parameters:
init_functionfunction

The initial state preparation function for the specific QAOA problem instance.