pub fn execute_vqa(
config: VQAConfig,
ansatz: &ParametricCircuit,
objective_function: &dyn ObjectiveFunction,
) -> DeviceResult<VQAResult>Expand description
Main VQA execution entry point — synchronous gradient-descent loop.
Uses the parameter-shift gradient via objective_function.compute_gradient
with a fixed step size of 0.01. Runs for config.optimization_config.max_iterations
steps and reports convergence when the objective change falls below config.optimization_config.convergence_tolerance.