Skip to content

Fix zeroth powers of singular diagonal matrices - #836

Open
vera-rubin wants to merge 1 commit into
QuEST-Kit:mainfrom
vera-rubin:fix/zeroth-diagonal-power
Open

vera-rubin wants to merge 1 commit into
QuEST-Kit:mainfrom
vera-rubin:fix/zeroth-diagonal-power

Conversation

@vera-rubin

Copy link
Copy Markdown

Zeroth powers of singular diagonal matrices could return NaNs from the complex expectation API. We use the existing real-power path for a zero exponent so every diagonal element becomes one. We've tested the regression and the calculations suite in a CPU Release build.

Fixes #835

— ChipLab

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zeroth powers of singular diagonal matrices return NaNs

1 participant