sf.math.convolve_probs¶
- math.convolve_probs(other)¶
Convolve two probability distributions (up to 3D) with the same shape.
Note that the output is not guaranteed to be a complete joint probability, as it’s computed only up to the dimension of the base probs.
- Return type:
ndarray[Tuple[int,...],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]]
code/api/mrmustard.math.convolve_probs
Download Python script
Download Notebook
View on GitHub