iqm.benchmarks.optimization.qscore.calculate_optimal_angles_for_QAOA_p1# iqm.benchmarks.optimization.qscore.calculate_optimal_angles_for_QAOA_p1(graph: Graph) → List[float]# Calculates the optimal angles for single layer QAOA MaxCut ansatz. Parameters: graph (networkx graph) – the MaxCut problem graph. Returns: optimal angles gamma and beta. Return type: List[float]