X (ndarray) – Gate set
E (ndarray) – POVM
rho (ndarray) – Initial state
J (ndarray) – 2D array where each row contains the gate indices of a gate sequence
y_data (ndarray) – 2D array of measurement outcomes for sequences in J;
Each column contains the outcome probabilities for a fixed sequence