iqm.benchmarks.compressive_gst.mgst.low_level_jit.dB

Contents

iqm.benchmarks.compressive_gst.mgst.low_level_jit.dB#

iqm.benchmarks.compressive_gst.mgst.low_level_jit.dB(X: ndarray, A: ndarray, B: ndarray, J: ndarray, y: ndarray, pdim: int) ndarray#

Compute the derivative of the objective function with respect to the state tensor B.

Parameters:
  • X (ndarray) – Array of input matrices.

  • A (ndarray) – Array of measurement operators.

  • B (ndarray) – Array of quantum states.

  • J (ndarray) – Array of indices corresponding to the sequence of operations.

  • y (ndarray) – Array of observed probabilities.

  • pdim (int) – Dimension of the density matrices.

Returns:

Derivative of the objective function with respect to the state tensor B.

Return type:

ndarray