iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_B_geodesic

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_B_geodesic#

iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_B_geodesic(a: float, H: ndarray, X: ndarray, E: ndarray, B: ndarray, J: ndarray, y: ndarray, mle: bool = False) float#

Compute objective function at position on geodesic for the initial state parametrization.

Parameters:
  • a (float) – Geodesic curve parameter

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

  • X (ndarray) – Current gate estimate

  • E (ndarray) – Current POVM estimate

  • B (ndarray) – Current initial state parametrization

  • 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