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

WIP: Replace dot with infix matmul #433

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

rileyjmurray
Copy link
Collaborator

@rileyjmurray rileyjmurray commented Apr 26, 2024

This branch originated from a branch with other changes. Many of the changes that Git is reporting are really because of the changes on that root branch.

The main file to look at is here: https://github.com/sandialabs/pyGSTi/blob/5db06722510b0eb70c0443bbd45cb384fffa72f1/scripts/matmul_converter.py.

I used it to produce changes here: 9a1773e, which I've subsequently reverted.

See discussion in #398.

…not needed and which were only correct for real inputs). Replace the np.trace(np.dot(...)) pattern for computing the trace inner product with np.vdot(...). Use of np.vdot has a secondary affect of conjugating the first argument when dealing with complex inputs, which resolves a limitation of basis conversion discussed in an email thread.
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

1 participant