BosonSampling.incorporate_in_a_unitary_non_squareMethod
incorporate_in_a_unitary_non_square(X)

same as incorporate_in_a_unitary but for a matrix renormalized X of type (m,n) with m >= n generates a minimally sized unitary (ex 99 interferometer for the 72 M' of the first counter example of drury)

source
BosonSampling.schur_matrixMethod
schur_matrix(H)

computes the Schur matrix as defined in Eq. 1 of Linear Algebra and its Applications 490 (2016) 196–201

source