def METHOD_NAME(self, qubit, prob, gate):
    """Store output for single qubit."""
    ar = np.empty((1,), dtype=AllXYType)
    ar["prob"] = prob
    ar["gate"] = gate
    if qubit in self.data:
        self.data[qubit] = np.rec.array(np.concatenate((self.data[qubit], ar)))
    else:
        self.data[qubit] = np.rec.array(ar)