Context:
Randomized estimators of the Hafnian of a nonnegative matrices can be implemented in two different manners. Previously hafnian_approx() only implemented one of them
Description of the Change:
Added an option to use the Godsil-Gutman estimator. Also changed the signature of hafnian() so that now all methods are controlled by the method parameter, and the approx parameter is removed as redundant.
Context: Randomized estimators of the Hafnian of a nonnegative matrices can be implemented in two different manners. Previously
hafnian_approx()
only implemented one of themDescription of the Change: Added an option to use the Godsil-Gutman estimator. Also changed the signature of
hafnian()
so that now all methods are controlled by themethod
parameter, and theapprox
parameter is removed as redundant.Benefits:
Possible Drawbacks:
Related GitHub Issues: