Skip to content
New issue

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

Optimizations - fewer matrix multiplications, einsum, and optional noise #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jonaslb
Copy link
Collaborator

@jonaslb jonaslb commented May 31, 2021

This PR reduces the number of matrix multiplications quite significantly. It also introduces use of np.einsum instead of the custom function (it's still custom, but it uses einsum). Noise calculation was made optional.

By a quick count I think the top part of calcTraces that is always executed goes from 19 to 14 matrix multiplications.

It cannot be merged after #64 cleanly so depending on which is merged first, the other will need a rebase.

@tfrederiksen
Copy link
Owner

Thanks a lot @jonaslb!

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.

None yet

2 participants