iqm.benchmarks.compressive_gst.mgst.algorithm.SFN_riem_Hess

Contents

iqm.benchmarks.compressive_gst.mgst.algorithm.SFN_riem_Hess#

iqm.benchmarks.compressive_gst.mgst.algorithm.SFN_riem_Hess(K: ndarray, E: ndarray, rho: ndarray, y: ndarray, J: ndarray, lam: float = 0.001, ls: str = 'COBYLA', fixed_gates: ndarray | None = None, mle: bool = False) ndarray#

Riemannian saddle free Newton step on each gate individually.

Parameters:
  • K (ndarray) – Each subarray along the first axis contains a set of Kraus operators. The second axis enumerates Kraus operators for a gate specified by the first axis.

  • E (ndarray) – Current POVM estimate

  • rho (ndarray) – Current initial state estimate

  • y (ndarray) – 2D array of measurement outcomes for sequences in J; Each column contains the outcome probabilities for a fixed sequence

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

  • lam (float) – Damping parameter for dampled Newton method

  • ls (str) – Line search method, takes “method” arguments of scipy.optimize.minimize

  • fixed_gates (ndarray | None) – List of gate indices which are not optimized over and assumed as fixed

  • mle (bool) – Whether to use MLE objective function or least squares objective function

Returns:

Updated Kraus parametrizations

Return type:

K_new