iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_A_geodesic

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_A_geodesic#

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_A_geodesic(a: float, H: ndarray, X: ndarray, A: ndarray, rho: ndarray, J: ndarray, y: ndarray, mle: bool = False) float#

Compute objective function at position on geodesic for POVM parametrization.

Parameters:
  • a (float) – Geodesic curve parameter

  • H (ndarray) – Element of the tangent space at A and local direction of the geodesic

  • X (ndarray) – Current gate estimate

  • A (ndarray) – Current position

  • rho (ndarray) – Current initial state estimate

  • J (ndarray) – 2D array where each row contains the gate indices of a gate sequence

  • y (ndarray) – 2D array of measurement outcomes for sequences in J; The columns contain the outcome probabilities for different povm elements

  • mle (bool) – If True, the log-likelihood objective function is used, otherwise the least squares objective function is used

Returns:

Objective function value at new position along the geodesic

Return type:

float