Summary of changes
New features
- Added a new sampling submodule `hafnian.sample`, allowing sampling from the underlying hafnian/Torontonian distribution of graphs/Gaussian states
- Documentation overhaul: now contains some of the best and most up-to-date information about hafnians, loop hafnians, and Torontonians
- C++ library has been significantly improved, tested, and refactored
Improvements
- Ported the `hafnian_approx.F90` Fortran file to C++
- The Torontonian function is now parallelized via OpenMP
- Tests and the C++ header library have been refactored
- Addition of new C++ tests using Googletest
- C++ library is now documented via Doxygen; this is integrated directly into Sphinx
Contributors
This release contains contributions from (in alphabetical order):
Brajesh Gupt, Josh Izaac, Nicolas Quesada