npperm#

class discopy.quantum.optics.npperm(M)[source]#

Bases:

Numpy code for computing the permanent of a matrix, from scipy/scipy#7151.