iqm.qaoa.tree_calculation.tree_calculation#
The main module for the tree angle calculation.
Functions
|
Calculates the term surrounded in the big parentheses in equations A24 and A25. |
|
Calculates the function \(G(a_t)\) from equations (A45) and (A46) from []. |
|
Calculates the function \(\tilde{G}(a_t)\) from equations (A47) and (A48) from []. |
|
Calculates the complex exponential in the 2nd half of (A23). |
Recursively implements equations (A23), (A24) and (A25) to obtain the fixed points of the calculation. |
|
|
Calculates the expectation values of <Z> and <ZZ> terms. |
|
Represents the function \(f(\mathbb{a})\) defined in (9) and (10) in [7]. |
|
Represents the equation (A12) in [7]. |
|
The function to take the full array of Gamma / Beta angles and shorten them to those relevant for layer layer. |
|
Represents the function \(g(b^{(m-1)})\) defined in (A26) in [7]. |