iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_gauge_geodesic#
- iqm.benchmarks.compressive_gst.mgst.optimization.lineobjf_gauge_geodesic(a: float, Delta: ndarray, U: ndarray, gates: list[ndarray], target_gates: list[ndarray], weights: list[float] | None) float#
Compute objective function at position on geodesic for gauge optimization Parameters.
- Parameters:
a (float) – Geodesic curve parameter
Delta (ndarray) – Element of the tangent space at U and local direction of the geodesic
U (ndarray) – Current gauge transformation matrix
gates (list[ndarray]) – Current gate, POVM, and state estimates [X, E, rho]
target_gates (list[ndarray]) – Target gates, POVM, and state [X_target, E_target, rho_target]
- Returns:
Objective function value at new position along the geodesic
- Return type: