We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Hafnian evaluation function, including _calc_hafnian and _calc_loop_hafnian, there is a weird factor multiplication.
_calc_hafnian
_calc_loop_hafnian
if glynn and kept_edges[0] == 0: prefac *= 0.5
However, when glynn method is invoked, keps_deges has value in {-1, 1} and will never be zero. So this code block makes no sense.
keps_deges
The text was updated successfully, but these errors were encountered:
Could you make a PR removing that line, to see if the tests pass?
Sorry, something went wrong.
No branches or pull requests
In Hafnian evaluation function, including
_calc_hafnian
and_calc_loop_hafnian
, there is a weird factor multiplication.However, when glynn method is invoked,
keps_deges
has value in {-1, 1} and will never be zero. So this code block makes no sense.The text was updated successfully, but these errors were encountered: