iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_isom_geodesic

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_isom_geodesic#

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_isom_geodesic(a: float, H: ndarray, K: ndarray, E: ndarray, rho: ndarray, J: ndarray, y: ndarray, mle: bool) float#

Compute objective function at position on geodesic.

Parameters:
  • a (float) – Geodesic curve parameter

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

  • K (ndarray) – Current position

  • E (ndarray) – Current POVM estimate

  • 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