XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
100 stars 55 forks source link

Random interferometer is already implemented in scipy #254

Open nquesada opened 3 years ago

nquesada commented 3 years ago

The functionality to generate random Haar unitary and orthogonal matrices is already implemented in scipy as unitary_group and ortho_group. We should just use this functionality inside random_interferometer instead of reinventing the wheel.