a24_a25

Contents

a24_a25#

iqm.qaoa.tree_calculation.tree_calculation.a24_a25(a_m, a_minus_m, b_m_minus_1, b_1_minus_m, beta_m_1, gamma_m, big_d)#

Calculates the term surrounded in the big parentheses in equations A24 and A25.

Parameters:
  • a_m (int) – The variable \(a_{m}\).

  • a_minus_m (int) – The variable \(a_{-m}\).

  • b_m_minus_1 (int) – The \(b_{m-1}\) variable.

  • b_1_minus_m (int) – The \(b_{-m+1}\) variable.

  • beta_m_1 (float64) – The beta angle \(\beta_{m-1}\).

  • gamma_m (float64) – The gamma angle \(\gamma_m\).

  • big_d (int) – The regularity of the problem graph minus one.

Return type:

complex128