BosonSampling.perturbed_gram_matrixMethod
perturbed_gram_matrix(M, epsilon)

Returns a Gram matrix generated by the columns of M which are perturbed by a Gaussian quantity of variance epsilon once normalized.

source
BosonSampling.perturbed_unitaryMethod
perturbed_unitary(U, epsilon)

Returns a unitary matrix whose columns are generating vector perturbed by a random Gaussian quantity with variance epsilon once normalized.

source
BosonSampling.symplectic_matMethod
symplectic_mat(n::Int)

Returns the symplectic matrix $J$ of dimension 2n:

\[J = egin{pmatrix} 0_n & I_n \ -I_n & 0_n nd{pmatrix}\]

source