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

Simplifying transition pathways by adding weights pathways which are the same except where p=0 #166

Open
mgiammar opened this issue May 23, 2022 · 0 comments
Labels
enhancement New feature or request optimization Performance and speed
Milestone

Comments

@mgiammar
Copy link
Collaborator

For a list of pathways which include symmetries of p=0, the given transition pathways might only differ by the p=0 transition. In that case, pathways with the same transition (except for the p=0) can have their weights added to create a list of simplified pathways. For example, the following 6 transition pathways could be simplified down to 2 transition pathways

[|-1.0⟩⟨1.0| ⟶ |-1.0⟩⟨-1.0| ⟶ |0.0⟩⟨-1.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |-1.0⟩⟨-1.0| ⟶ |1.0⟩⟨0.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |0.0⟩⟨0.0| ⟶ |0.0⟩⟨-1.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |0.0⟩⟨0.0| ⟶ |1.0⟩⟨0.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |1.0⟩⟨1.0| ⟶ |0.0⟩⟨-1.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |1.0⟩⟨1.0| ⟶ |1.0⟩⟨0.0|, weight=(1+0j)]

equivalent to

[|-1.0⟩⟨1.0| ⟶ |0.0⟩⟨-1.0|, weight=(1+0j),
 |-1.0⟩⟨1.0| ⟶ |1.0⟩⟨0.0|, weight=(1+0j)]

The weights here would sum to 3, but that is because TotalMixing causes all weights to go to 1. More discussion on how to handle certain cases is warranted.

@mgiammar mgiammar added the optimization Performance and speed label May 23, 2022
@mgiammar mgiammar added this to the v0.8 milestone May 23, 2022
@mgiammar mgiammar added the enhancement New feature or request label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optimization Performance and speed
Projects
None yet
Development

No branches or pull requests

1 participant